
.notification-bell-container {
    position: relative;
    display: inline-block;
}

.notification-bell {
    position: relative;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    padding: 0;
}

.notification-bell i {
    line-height: 1;
    display: block;
}

.notification-bell:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.notification-bell.has-notifications {
    animation: bellShake 0.5s ease-in-out;
}

@keyframes bellShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 450px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
}

.notification-header h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
}

.mark-all-read {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
    font-weight: 500;
}

.mark-all-read:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
}

.notification-list {
    max-height: 360px;
    overflow-y: auto;
    background: #000;
}

.notification-list::-webkit-scrollbar {
    width: 4px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.notification-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.notification-item {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    background: #000;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.notification-item.unread {
    background: rgba(255, 255, 255, 0.02);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
}

.notification-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 10px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.notification-icon.ticket-reply {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.notification-icon.ticket-status {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.notification-icon.payment {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.notification-icon.system {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-item-inner {
    display: flex;
    align-items: flex-start;
}

.notification-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 3px 0;
    letter-spacing: 0.2px;
}

.notification-message {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.notification-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.notification-empty {
    padding: 32px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.notification-empty i {
    font-size: 36px;
    margin-bottom: 10px;
    opacity: 0.25;
}

.notification-empty p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
}

.notification-footer {
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    background: #000;
}

.view-all-notifications {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.view-all-notifications:hover {
    color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 768px) {
    .notification-bell {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
        padding: 0;
    }
    
    .notification-bell i {
        line-height: 1;
        display: block;
    }
    
    .notification-count {
        top: -5px;
        right: -5px;
        padding: 2px 5px;
        font-size: 11px;
        min-width: 18px;
    }
    
    .notification-dropdown {
        width: calc(100vw - 20px);
        right: -10px;
        max-height: 380px;
    }
    
    .notification-header {
        padding: 10px 14px;
    }
    
    .notification-header h3 {
        font-size: 12px;
    }
    
    .mark-all-read {
        font-size: 10px;
    }
    
    .notification-list {
        max-height: 280px;
    }
    
    .notification-item {
        padding: 10px 14px;
    }
    
    .notification-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 8px;
    }
    
    .notification-title {
        font-size: 11px;
    }
    
    .notification-message {
        font-size: 10px;
    }
    
    .notification-time {
        font-size: 9px;
    }
}

@media (max-width: 640px) {
    .notification-bell {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        padding: 0;
    }
    
    .notification-bell i {
        line-height: 1;
        display: block;
    }
    
    .notification-count {
        top: -4px;
        right: -4px;
        padding: 2px 5px;
        font-size: 10px;
        min-width: 17px;
    }
}

@media (max-width: 480px) {
    .notification-bell {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        padding: 0;
    }
    
    .notification-bell i {
        line-height: 1;
        display: block;
    }
    
    .notification-count {
        top: -4px;
        right: -4px;
        padding: 1px 4px;
        font-size: 10px;
        min-width: 16px;
    }
    
    .notification-dropdown {
        width: calc(100vw - 10px);
        right: -5px;
    }
}
