/* LUCA SHARED HEADER NOTIFICATIONS V2
 * Modern notification dropdown for the shared frontend header used on public pages and Family pages.
 * Mirrors Provider Notifications V2 visual language without touching notification fetch/read semantics.
 */

.luca-header-bell-v2 {
    --lhn-green: #6eaa89;
    --lhn-mint: #9fdfd7;
    --lhn-mint-soft: rgba(159, 223, 215, 0.22);
    --lhn-coral: #e8665d;
    --lhn-yellow: #f2bd48;
    --lhn-ink: #302d2a;
    --lhn-muted: #7c8595;
    --lhn-border: #eceef5;
    --lhn-surface: #fff;
    --lhn-soft: #f7f8fc;
    --lhn-radius: 18px;
}

.luca-header-bell-v2 > .nav-link {
    position: relative;
}

.luca-header-bell-v2 #newNotificationBadge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lhn-yellow);
    color: var(--lhn-ink);
    box-shadow: 0 0 0 2px #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.luca-header-bell-v2 #newNotificationBadge.d-none {
    display: none !important;
}

.luca-header-bell-v2 .dropdown-menu.notifications {
    width: 370px;
    max-width: min(92vw, 370px);
    padding: 16px !important;
    border: 1px solid var(--lhn-border);
    border-radius: var(--lhn-radius);
    background: var(--lhn-surface);
    box-shadow: 0 24px 48px -20px rgba(29, 36, 51, 0.3);
    overflow: hidden;
}

.luca-header-bell-v2 .topnav-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--lhn-border);
}

.luca-header-bell-v2 .notification-title {
    color: var(--lhn-ink);
    font-size: 16px;
    font-weight: 700;
}

.luca-header-bell-v2 .clear-noti {
    width: auto !important;
    height: auto !important;
    padding: 6px 11px !important;
    border: 0 !important;
    border-radius: 999px;
    background: var(--lhn-mint-soft) !important;
    color: var(--lhn-green) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.luca-header-bell-v2 .noti-content {
    max-height: 360px;
    padding: 0;
    overflow-y: auto;
}

.luca-header-bell-v2 .notification-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.luca-header-bell-v2 .notification-message {
    margin: 0;
    border: 1px solid rgba(159, 223, 215, 0.42);
    border-radius: 14px;
    background: var(--lhn-mint-soft);
    overflow: hidden;
}

.luca-header-bell-v2 .notification-message > a {
    display: block;
    width: 100% !important;
    height: auto !important;
    padding: 11px 12px;
    color: var(--lhn-ink);
    background: transparent !important;
    border: 0 !important;
}

.luca-header-bell-v2 .notification-message > a:hover,
.luca-header-bell-v2 .notification-message > a:focus {
    background: rgba(159, 223, 215, 0.34) !important;
}

.luca-header-bell-v2 .notification-message .noti-details {
    margin: 0;
    padding: 0;
    color: var(--lhn-ink);
    font-size: 13px;
    line-height: 1.45;
}

.luca-header-bell-v2 .notification-message .noti-title {
    color: var(--lhn-ink);
}

.luca-header-bell-v2 .notification-message .noti-time {
    margin: 5px 0 0;
}

.luca-header-bell-v2 .notification-message .notification-time {
    color: var(--lhn-muted) !important;
    font-size: 12px;
}

.luca-header-bell-v2 .noti-empty-icon {
    display: block;
    margin: 4px auto 6px;
    color: var(--lhn-muted);
    font-size: 22px;
}

.luca-header-bell-v2 .topnav-dropdown-footer {
    padding: 12px 0 0;
    margin-top: 10px;
    border-top: 1px solid var(--lhn-border);
    text-align: center;
}

.luca-header-bell-v2 .topnav-dropdown-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--lhn-green);
    background: transparent !important;
    font-size: 12.5px;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .luca-header-bell-v2 .dropdown-menu.notifications {
        width: min(92vw, 360px);
        padding: 14px !important;
    }
}
