﻿.nav-notification {
    position: relative;
    display: inline-block;
}

.nav-bell-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background .2s ease;
}

.nav-bell-btn:hover {
    background: rgba(255, 255, 255, .1);
}

.nav-bell-badge {
    position: absolute;
    top: 3px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #e63946;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    border: 2px solid #1a2433;
    animation: navBellPulse 2s ease-in-out infinite;
}

@keyframes navBellPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.nav-bell-btn i.bell-shake {
    animation: bellShake 0.8s ease-in-out;
    display: inline-block;
    transform-origin: 50% 0;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-18deg); }
    30% { transform: rotate(14deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(8deg); }
    75% { transform: rotate(-4deg); }
    90% { transform: rotate(2deg); }
}

.nav-bell-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 270px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(20, 46, 53, .18);
    border: 1px solid #e4e9f0;
    padding: 6px;
    display: none;
    z-index: 1060;
}

.nav-notification.open .nav-bell-dropdown {
    display: block;
}

.nav-bell-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #1a2433;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    transition: background .15s ease;
}

.nav-bell-item:hover {
    background: #eef6f3;
    color: #148b74;
    text-decoration: none;
}

.nav-bell-item .bell-icon-msg {
    font-size: 16px;
    color: #e63946;
}

.nav-bell-item .bell-icon-ticket {
    font-size: 16px;
    color: #f08a24;
}

.nav-bell-item .count-pill {
    margin-right: auto;
    background: #e63946;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
}

.nav-bell-item .count-pill.ticket {
    background: #f08a24;
}

.nav-bell-item .count-pill.zero {
    background: #cbd5e1;
}

.admin-nav-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #148b74, #0e6a58);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 6px;
    transition: box-shadow .2s ease;
}

.admin-nav-link-inline:hover {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(20, 139, 116, .35);
}

@media (max-width: 991px) {
    .nav-bell-dropdown {
        left: auto;
        right: 0;
    }
}