.bibursa-notification-trigger {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #ff8a1f;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    transition: color 180ms ease, transform 180ms ease;
    width: 42px;
}

.bibursa-notification-trigger:hover {
    color: #ff6b2c;
    transform: translateY(-1px);
}

.bibursa-notification-trigger::before {
    content: "";
    display: none;
}

.bibursa-notification-trigger svg {
    fill: none;
    height: 24px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
    width: 24px;
}

.bibursa-notification-trigger em {
    align-items: center;
    background: #ff5b63;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    height: 18px;
    justify-content: center;
    line-height: 1;
    min-width: 18px;
    padding: 0 4px;
    position: absolute;
    right: 0;
    top: 1px;
}

.bibursa-notification-trigger em[hidden] {
    display: none;
}

.top-row:has(.bibursa-notification-trigger),
.bblife-topbar:has(.bibursa-notification-trigger) {
    grid-template-columns: 42px minmax(0, 1fr) auto;
}

.header-actions:has(.bibursa-notification-trigger) {
    justify-content: flex-end;
}

.bblife-topbar .bibursa-notification-trigger {
    justify-self: end;
}

.bibursa-notification-inline-actions {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-self: end;
}

.bibursa-notification-trigger.has-unread::after {
    display: none;
}

.bibursa-notification-sheet[hidden] {
    display: none;
}

.bibursa-notification-sheet {
    inset: 0;
    position: fixed;
    z-index: 9999;
}

.bibursa-notification-backdrop {
    background: rgba(16, 20, 38, .46);
    backdrop-filter: blur(14px);
    border: 0;
    inset: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.bibursa-notification-panel {
    animation: bibursaNotificationRise 250ms ease-out both;
    background:
        linear-gradient(180deg, rgba(255, 247, 242, .96), #fff 38%),
        #fff;
    border: 1px solid rgba(255, 107, 44, .16);
    border-radius: 28px 28px 0 0;
    bottom: 0;
    box-shadow: 0 -20px 54px rgba(16, 20, 38, .2);
    color: #171727;
    display: grid;
    gap: 16px;
    left: 50%;
    max-height: min(84vh, 720px);
    overflow: hidden;
    padding: 12px 18px max(20px, env(safe-area-inset-bottom));
    position: absolute;
    transform: translateX(-50%);
    width: min(100%, 430px);
}

.bibursa-notification-handle {
    background: #d9dce5;
    border-radius: 999px;
    height: 5px;
    justify-self: center;
    width: 54px;
}

.bibursa-notification-head {
    align-items: start;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 54px;
}

.bibursa-notification-kicker {
    color: #ff6b2c;
    display: block;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.bibursa-notification-head h2 {
    font-size: clamp(34px, 8vw, 44px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: .98;
    margin: 0;
}

.bibursa-notification-head p {
    color: #6b7084;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    margin: 10px 0 0;
}

.bibursa-notification-close {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(255, 107, 44, .14);
    border-radius: 50%;
    color: #ff6b2c;
    cursor: pointer;
    display: inline-flex;
    font-size: 32px;
    font-weight: 400;
    height: 54px;
    justify-content: center;
    line-height: 1;
    width: 54px;
}

.bibursa-notification-tabs {
    display: flex;
    gap: 10px;
    margin-inline: -18px;
    overflow-x: auto;
    padding: 0 18px 2px;
    scrollbar-width: none;
}

.bibursa-notification-tabs::-webkit-scrollbar {
    display: none;
}

.bibursa-notification-tabs button {
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 107, 44, .16);
    border-radius: 999px;
    color: #52576a;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 760;
    min-height: 40px;
    padding: 0 18px;
}

.bibursa-notification-tabs button.active {
    background: linear-gradient(135deg, #ff6b2c, #ff8a5b);
    border-color: #ff6b2c;
    box-shadow: 0 10px 22px rgba(255, 107, 44, .24);
    color: #fff;
}

.bibursa-notification-toolbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.bibursa-notification-toolbar span {
    color: #7d8193;
    font-size: 13px;
    font-weight: 800;
}

.bibursa-notification-mark {
    background: transparent;
    border: 0;
    color: #ff5b2a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 950;
    padding: 0;
}

.bibursa-notification-list {
    display: grid;
    gap: 10px;
    max-height: min(48vh, 440px);
    overflow: auto;
    padding: 2px 2px 4px;
}

.bibursa-notification-item {
    align-items: center;
    background: rgba(248, 248, 252, .9);
    border: 1px solid rgba(16, 20, 38, .07);
    border-radius: 22px;
    color: #171727;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 78px;
    padding: 12px;
    position: relative;
    text-align: left;
}

.bibursa-notification-profile-link {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 0;
    text-align: left;
}

.bibursa-notification-profile-link:hover strong {
    color: #ff6b2c;
}

.bibursa-notification-item.is-unread {
    background: rgba(255, 107, 44, .06);
    border-color: rgba(255, 107, 44, .22);
}

.bibursa-notification-item.is-unread::after {
    background: #ff6b2c;
    border-radius: 50%;
    content: "";
    height: 9px;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 9px;
}

.bibursa-notification-avatar {
    align-items: center;
    background: linear-gradient(135deg, #ff6b2c, #ff8a5b);
    border-radius: 16px;
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 950;
    height: 48px;
    justify-content: center;
    overflow: hidden;
    width: 48px;
}

.bibursa-notification-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bibursa-notification-item strong,
.bibursa-notification-item span,
.bibursa-notification-item small {
    display: block;
}

.bibursa-notification-item strong {
    font-size: 15px;
    font-weight: 950;
    line-height: 1.15;
    padding-right: 12px;
}

.bibursa-notification-item span {
    color: #686d80;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    margin-top: 4px;
}

.bibursa-notification-item small {
    color: #9aa0b1;
    font-size: 12px;
    font-weight: 800;
    margin-top: 6px;
}

.bibursa-notification-empty {
    background: #fff;
    border: 1px solid rgba(255, 107, 44, .16);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(255, 107, 44, .08);
    color: #6b7084;
    display: grid;
    gap: 8px;
    min-height: 150px;
    place-items: center;
    text-align: center;
    padding: 24px;
}

.bibursa-notification-empty strong {
    color: #171727;
    display: block;
    font-size: 19px;
    font-weight: 850;
}

.bibursa-notification-empty span {
    display: block;
    font-size: 14px;
    font-weight: 560;
    line-height: 1.35;
    max-width: 280px;
}

.bibursa-notification-auth-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.bibursa-notification-auth-actions a {
    align-items: center;
    background: #ff6b2c;
    border: 1px solid #ff6b2c;
    border-radius: 999px;
    box-shadow: 0 14px 26px rgba(255, 107, 44, .22);
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    text-decoration: none;
}

.bibursa-notification-auth-actions a.secondary {
    background: #fff8f4;
    border-color: rgba(255, 107, 44, .24);
    box-shadow: none;
    color: #c2410c;
}

.bibursa-notification-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.bibursa-notification-actions button {
    border: 1px solid #ff6b2c;
    border-radius: 14px;
    background: #ff6b2c;
    color: #fff;
    min-height: 44px;
    font-weight: 900;
}

.bibursa-notification-actions button:last-child {
    background: #fff;
    border-color: #e2e8f0;
    color: #5f6673;
}

.bibursa-notification-state {
    display: inline-flex;
    width: max-content;
    margin-top: 10px;
    border-radius: 999px;
    background: #eefaf1;
    color: #14532d;
    padding: 7px 10px;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

@keyframes bibursaNotificationRise {
    from {
        opacity: .5;
        transform: translate(-50%, 24px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes bibursaNotificationPulse {
    0% {
        opacity: .62;
        transform: scale(.96);
    }

    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

@media (min-width: 900px) {
    .bibursa-notification-panel {
        border-radius: 32px;
        bottom: 28px;
    }
}
