.aoe-notification-nav {
    position: relative;
    vertical-align: middle;
}

.aoe-notification-trigger {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    display: inline-flex !important;
    gap: 4px;
    line-height: 1;
    margin: 0;
    padding: 1px 2px !important;
    position: relative;
    text-decoration: none !important;
}

.aoe-notification-trigger:hover,
.aoe-notification-trigger:focus-visible,
.aoe-notification-nav.is-open .aoe-notification-trigger {
    color: #fff;
}

.aoe-notification-trigger:focus {
    outline: none;
}

.aoe-notification-trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .6);
    outline-offset: 2px;
}

.aoe-notification-bell {
    font-size: 1rem;
    line-height: 1;
}

.aoe-notification-count {
    align-items: center;
    background: #c8293d;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .68rem;
    font-weight: 800;
    height: 18px;
    justify-content: center;
    min-width: 18px;
    padding: 0 5px;
}

.aoe-mobile-nav-actions {
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
}

.aoe-mobile-nav-actions .burger {
    display: inline-block;
    flex: 0 0 28px;
    float: none !important;
    margin: 0 !important;
}

.aoe-mobile-auth-nav {
    align-items: center;
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding-left: 0;
    vertical-align: middle;
}

.aoe-notification-dropdown {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .1);
    left: auto;
    list-style: none;
    margin: 0;
    max-height: min(70vh, 420px);
    max-width: calc(100vw - 24px);
    min-width: 0;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px !important;
    pointer-events: none;
    position: absolute;
    right: 0;
    text-align: left;
    top: calc(100% + 8px);
    transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    visibility: hidden;
    width: 360px;
    z-index: 1000;
}

.aoe-notification-nav.is-open > .aoe-notification-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.aoe-notification-dropdown-title {
    color: #1f2937;
    display: block;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    padding: 6px 8px 8px;
    word-break: break-word;
}

.aoe-notification-dropdown-empty {
    color: #6b7280;
    display: block;
    font-size: .86rem;
    overflow-wrap: anywhere;
    padding: 10px 8px;
    word-break: break-word;
}

.aoe-notification-dropdown-item {
    border-radius: 8px;
    box-sizing: border-box;
    color: #374151 !important;
    display: block !important;
    line-height: 1.35 !important;
    margin: 0 0 4px !important;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 9px 10px !important;
    white-space: normal !important;
    word-break: break-word;
}

.aoe-notification-dropdown-item:hover {
    background: #f3f4f6;
}

.aoe-notification-dropdown-item.is-unread {
    background: #fff7ed;
}

.aoe-notification-dropdown-item strong,
.aoe-notification-dropdown-item span {
    display: block;
}

.aoe-notification-dropdown-item strong {
    color: #111827;
    font-size: .86rem;
}

.aoe-notification-dropdown-item span {
    color: #6b7280;
    font-size: .78rem;
    margin-top: 3px;
}

.aoe-notification-dropdown-message {
    color: #374151;
    font-size: .82rem;
    line-height: 1.45;
    margin: 7px 0 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
    word-break: break-word;
}

.aoe-notification-dropdown-action {
    color: #075985 !important;
    display: inline-flex !important;
    font-size: .8rem;
    font-weight: 800;
    margin-top: 8px;
    max-width: 100%;
    overflow-wrap: anywhere;
    text-decoration: none !important;
    white-space: normal !important;
    word-break: break-word;
}

.aoe-notification-dropdown-action:hover {
    color: #0c4a6e !important;
}

.aoe-notification-dropdown-all {
    border-top: 1px solid #e5e7eb;
    color: #c8293d !important;
    display: block !important;
    font-size: .86rem !important;
    font-weight: 800;
    margin-top: 6px !important;
    padding: 10px 8px 4px !important;
}

.aoe-notifications-page {
    background: #f8fafc;
    min-height: 70vh;
}

.aoe-notifications-hero {
    background: #102a43;
    color: #fff;
    padding: 88px 0 34px;
}

.aoe-notifications-hero .container {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.aoe-notifications-eyebrow {
    color: rgba(255, 255, 255, .72);
    display: block;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.aoe-notifications-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    margin: 0 0 8px;
}

.aoe-notifications-hero p {
    color: rgba(255, 255, 255, .78);
    margin: 0;
    max-width: 640px;
}

.aoe-notifications-content {
    padding: 28px 0 56px;
}

.aoe-notifications-empty,
.aoe-notification-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.aoe-notifications-empty {
    padding: 28px;
}

.aoe-notifications-empty strong {
    color: #111827;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.aoe-notifications-empty p {
    color: #6b7280;
    margin: 0;
}

.aoe-notification-list {
    display: grid;
    gap: 14px;
}

.aoe-notification-card {
    padding: 18px;
}

.aoe-notification-card.is-unread {
    border-color: #f59e0b;
}

.aoe-notification-card-header {
    align-items: start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.aoe-notification-card h2 {
    color: #111827;
    font-size: 1.05rem;
    margin: 0 0 4px;
}

.aoe-notification-card time {
    color: #6b7280;
    font-size: .82rem;
}

.aoe-notification-card p {
    color: #374151;
    margin: 0;
    white-space: pre-line;
}

.aoe-notification-unread {
    background: #fff7ed;
    border-radius: 999px;
    color: #9a3412;
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 9px;
}

.aoe-notification-card-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.aoe-notification-link,
.aoe-notification-button {
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1;
    padding: 10px 14px;
    text-decoration: none;
}

.aoe-notification-link {
    background: #e0f2fe;
    color: #075985;
}

.aoe-notification-button {
    background: #c8293d;
    color: #fff;
}

.aoe-notification-button-light {
    background: #f3f4f6;
    color: #374151;
}

.aoe-notification-pagination {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.aoe-notification-pagination a,
.aoe-notification-pagination span {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    font-size: .9rem;
    padding: 9px 13px;
}

@media (max-width: 767.98px) {
    .aoe-notifications-hero .container {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    .site-mobile-menu .aoe-notification-nav {
        display: none !important;
    }

    .aoe-mobile-auth-nav .aoe-notification-nav {
        display: inline-flex;
        position: static;
    }

    .aoe-mobile-auth-nav .aoe-notification-trigger {
        color: rgba(255, 255, 255, .9);
        margin: 0;
        padding: 2px !important;
    }

    .aoe-mobile-auth-nav .aoe-notification-trigger:hover,
    .aoe-mobile-auth-nav .aoe-notification-trigger:focus-visible,
    .aoe-mobile-auth-nav .aoe-notification-nav.is-open .aoe-notification-trigger {
        color: #fff;
    }

    .aoe-mobile-auth-nav .aoe-notification-dropdown {
        left: 12px;
        max-height: calc(100vh - 104px);
        max-height: calc(100dvh - 104px);
        max-width: none;
        padding: 10px !important;
        position: fixed;
        right: 12px;
        top: 72px;
        width: auto;
        z-index: 2600;
    }
}
