/* ============================================
   Notifications Dropdown - Custom Styles
   ============================================ */

/* Badge counter on notification bell */
.main-header-notification .badge-pill {
    font-size: 9px;
    padding: 2px 5px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

/* Pulse animation for unread notifications */
.pulse-danger {
    animation: pulse-danger 2s infinite;
    background-color: #dc3545;
}

@keyframes pulse-danger {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Notification dropdown menu */
.main-header-notification .dropdown-menu {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 8px;
    margin-top: 10px;
}

/* Notification header */
.main-header-notification .menu-header-content {
    border-radius: 8px 8px 0 0;
    padding: 16px 20px !important;
}

/* Individual notification items */
.main-notification-list a {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.main-notification-list a:hover {
    background-color: #f8f9fa !important;
    transform: translateX(5px);
}

.main-notification-list a:last-child {
    border-bottom: none;
}

/* Unread notification highlight */
.main-notification-list a.bg-light {
    background-color: #f0f7ff !important;
    border-left: 3px solid #467fcf;
}

/* Notification icon container */
.notifyimg {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notifyimg i {
    font-size: 20px;
}

/* Notification content */
.notification-label {
    color: #2c3e50;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.notification-subtext {
    color: #7987a1;
    font-size: 12px;
    line-height: 1.4;
}

/* Badge dot indicator for unread */
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    display: inline-block;
    margin-left: 8px;
}

/* Footer link */
.dropdown-footer a {
    color: #467fcf;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.dropdown-footer a:hover {
    color: #2e5cb8;
    text-decoration: none;
}

/* Empty state */
.main-notification-list .text-center i {
    opacity: 0.3;
}

/* Scrollbar styling */
.Notification-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.Notification-scroll::-webkit-scrollbar {
    width: 6px;
}

.Notification-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.Notification-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.Notification-scroll::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .main-header-notification .dropdown-menu {
        width: 320px !important;
        left: auto !important;
        right: 0 !important;
    }
}

/* Color variants for notification icons */
.notifyimg.bg-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.notifyimg.bg-success { background: linear-gradient(135deg, #48c774 0%, #06d6a0 100%); }
.notifyimg.bg-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.notifyimg.bg-warning { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }
.notifyimg.bg-info { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.notifyimg.bg-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.notifyimg.bg-purple { background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); }
.notifyimg.bg-teal { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); }
