/* Notification Dropdown Styling - Compact Version */
.notification-list .dropdown-menu {
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e3e6f0;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.notification-list .dropdown-item.noti-title {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e3e6f0;
    padding: 10px 12px;
}

.notification-list .dropdown-item.noti-title h6 {
    font-size: 14px;
    font-weight: 600;
    color: #5a5c69;
    margin-bottom: 0;
}

.notification-list .dropdown-item.noti-title .btn {
    font-size: 10px;
    font-weight: 500;
    padding: 4px 6px;
    border-radius: 3px;
    line-height: 1;
}

.notification-list .dropdown-item.notify-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.2s ease-in-out;
    margin: 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.notification-list .dropdown-item.notify-item:hover {
    background-color: #f8f9fa;
}

.notification-list .dropdown-item.notify-item:last-child {
    border-bottom: none;
}

.notification-list .dropdown-item.notify-item.bg-light {
    background-color: #f8f9fc !important;
}

.notification-list .notify-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 8px;
}

.notification-list .notify-details {
    font-size: 13px;
    line-height: 1.3;
    color: #5a5c69;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.notification-list .notify-details.fw-semibold {
    font-weight: 600;
    color: #3a3b45;
}

.notification-list .text-muted {
    color: #858796 !important;
    font-size: 10px;
    line-height: 1.2;
}

.notification-list .badge {
    font-size: 8px;
    padding: 1px 4px;
    font-weight: 500;
}

.notification-list .text-primary {
    color: #4e73df !important;
    font-size: 10px;
}

/* Notification scroll area */
.noti-scroll {
    max-height: 300px;
    overflow-y: auto;
}

.noti-scroll::-webkit-scrollbar {
    width: 4px;
}

.noti-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.noti-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.noti-scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Empty state styling */
.notification-list .text-center.text-muted {
    padding: 20px 12px;
    color: #858796;
}

.notification-list .text-center.text-muted .mdi {
    color: #d1d3e2;
    margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .notification-list .dropdown-menu {
        width: 300px;
        max-height: 350px;
    }

    .notification-list .dropdown-item.notify-item {
        padding: 6px 10px;
    }

    .notification-list .notify-details {
        font-size: 12px;
        max-width: 180px;
    }
}

/* Fix for text overflow in notification content */
.notification-item .flex-grow-1 {
    min-width: 0;
    overflow: hidden;
}

.notification-item .notify-details {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Action buttons spacing */
.notification-list .dropdown-item.noti-title .d-flex {
    gap: 4px !important;
}

/* Unread notification styling - more subtle */
.notification-list .dropdown-item.notify-item.bg-light {
    border-left: 2px solid #4e73df;
    background: linear-gradient(90deg, rgba(78, 115, 223, 0.03) 0%, rgba(78, 115, 223, 0.01) 100%);
}

/* Unread indicator dot */
.notification-list .bg-primary.rounded-circle {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #4e73df !important;
}

/* Icon colors based on notification type */
.notification-list .notify-icon .text-info { color: #36b9cc !important; }
.notification-list .notify-icon .text-success { color: #1cc88a !important; }
.notification-list .notify-icon .text-warning { color: #f6c23e !important; }
.notification-list .notify-icon .text-danger { color: #e74a3b !important; }
.notification-list .notify-icon .text-primary { color: #4e73df !important; }
.notification-list .notify-icon .text-secondary { color: #858796 !important; }
.notification-list .notify-icon .text-muted { color: #d1d3e2 !important; }
