/* Modern Notification Dropdown Design - Force Override */
.notification-pop {
    width: 380px !important;
    max-width: 90vw !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    margin-top: 8px !important;
}

.notification-pop .noti-head {
    padding: 16px 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border-radius: 12px 12px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.notification-pop .noti-head span {
    background: rgba(255, 255, 255, 0.25) !important;
    padding: 2px 10px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.notification-pop .all-noti {
    max-height: 400px !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
}

.notification-pop .all-noti::-webkit-scrollbar {
    width: 6px !important;
}

.notification-pop .all-noti::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

.notification-pop .all-noti::-webkit-scrollbar-thumb {
    background: #667eea !important;
    border-radius: 3px !important;
}

.notification-pop .single-noti {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.2s ease !important;
}

.notification-pop .single-noti:last-child {
    border-bottom: none !important;
}

.notification-pop .single-noti:hover {
    background: #f8f9fa !important;
}

.notification-pop .single-noti a {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    text-decoration: none !important;
    color: inherit !important;
}

.notification-pop .single-noti .icon {
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
}

.notification-pop .single-noti .icon i,
.notification-pop .single-noti .icon svg {
    width: 20px !important;
    height: 20px !important;
}

.notification-pop .single-noti .content {
    flex: 1 !important;
    min-width: 0 !important;
}

.notification-pop .single-noti .main-cont {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.notification-pop .single-noti .main-cont span {
    font-weight: 600 !important;
    color: #667eea !important;
}

.notification-pop .single-noti .time {
    font-size: 11px !important;
    color: #999 !important;
    font-weight: 500 !important;
}

.notification-pop .all-noti .text-center {
    padding: 20px !important;
    color: #999 !important;
    font-size: 14px !important;
}

.notification-pop .noti-footer {
    padding: 12px 16px !important;
    background: #f8f9fa !important;
    border-radius: 0 0 12px 12px !important;
    display: flex !important;
    gap: 8px !important;
}

.notification-pop .noti-footer a {
    flex: 1 !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.notification-pop .noti-footer .noti-btn-1 {
    background: #667eea !important;
    color: #fff !important;
    border: none !important;
}

.notification-pop .noti-footer .noti-btn-1:hover {
    background: #5568d3 !important;
    transform: translateY(-1px) !important;
}

.notification-pop .noti-footer .noti-btn-2 {
    background: #fff !important;
    color: #667eea !important;
    border: 1px solid #667eea !important;
}

.notification-pop .noti-footer .noti-btn-2:hover {
    background: #667eea !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
}

/* Dark Theme */
.dark-theme .notification-pop {
    background: #1f2937 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
}

.dark-theme .notification-pop .single-noti {
    border-bottom-color: #374151 !important;
}

.dark-theme .notification-pop .single-noti:hover {
    background: #374151 !important;
}

.dark-theme .notification-pop .single-noti .main-cont {
    color: #e5e7eb !important;
}

.dark-theme .notification-pop .single-noti .time {
    color: #9ca3af !important;
}

.dark-theme .notification-pop .noti-footer {
    background: #374151 !important;
}

.dark-theme .notification-pop .noti-footer .noti-btn-2 {
    background: #1f2937 !important;
    border-color: #667eea !important;
}

.dark-theme .notification-pop .all-noti .text-center {
    color: #9ca3af !important;
}

/* Notification Icon Badge - Inside Circle - Force Override */
.user-notifications .item,
.user-notifications button.item,
.panel-header .user-notifications .item,
.panel-header .user-notifications button.item {
    position: relative !important;
}

.user-notifications .item .number,
.user-notifications button.item .number,
.panel-header .user-notifications .item .number,
.panel-header .user-notifications button.item .number {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    line-height: 1 !important;
    border: 2px solid #0a2540 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    z-index: 10 !important;
}

.dark-theme .user-notifications .item .number,
.dark-theme .panel-header .user-notifications .item .number {
    border-color: #1f2937 !important;
}

/* Hide if zero or empty */
.user-notifications .item .number:empty,
.user-notifications .item .number[data-count="0"],
.panel-header .user-notifications .item .number:empty,
.panel-header .user-notifications .item .number[data-count="0"] {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .notification-pop {
        width: 320px !important;
        position: fixed !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 70px !important;
        right: auto !important;
    }
    
    .notification-pop .all-noti {
        max-height: 300px !important;
    }
    
    .notification-pop .noti-footer {
        flex-direction: column !important;
    }
}
