/* CSS Redesign for Header Notification Bell Dropdown */

/* Notification Dropdown Container adjustments */
.box-notify, .box-notify-m {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    background: #ffffff;
    padding: 10px 0 !important;
}

#notify-lable {
    color: var(--head_bg, #3f51b5) !important;
    font-size: 16px;
    font-weight: 700;
    margin: 5px 15px 10px 15px;
    border-left: 4px solid var(--head_bg, #3f51b5);
    padding-left: 8px;
}

.box-notify hr, .box-notify-m hr {
    border-top: 1px solid #eaeaea !important;
    margin: 5px 0 10px 0 !important;
    width: 100% !important;
}

/* Notification Item Layout & States */
.notification-item {
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    margin: 6px 12px !important;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: block !important;
    text-decoration: none !important;
}

.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    background: #fdfdfd;
}

/* UNREAD STATE - Distinct color highlight, bold text, left border, no pulse/blink */
.notification-item.box-noti {
    background-color: #fff4e5 !important; /* Elegant light orange accent */
    border-left: 4px solid #f57c00 !important; /* Orange indicator marker */
}

.notification-item.box-noti h5 b {
    color: #e65100 !important;
    font-weight: 700 !important;
}

.notification-item.box-noti .notiDetail {
    color: #263238 !important;
    font-weight: 500 !important;
}

/* READ STATE - Faded, normal text */
.notification-item.box-noti-read {
    background-color: #fafafa !important;
    border-left: 4px solid #cfd8dc !important; /* Muted marker */
}

.notification-item.box-noti-read h5 b {
    color: #546e7a !important;
    font-weight: 500 !important;
}

.notification-item.box-noti-read .notiDetail {
    color: #78909c !important;
    font-weight: 400 !important;
}

/* Delete Button styling */
.noti-delete {
    transition: color 0.2s;
    font-size: 15px !important;
    opacity: 0.6;
    padding: 4px;
}

.noti-delete:hover {
    color: #d32f2f !important;
    opacity: 1;
}

/* Button style overrides inside dropdown */
.box-notify .btn-link, .box-notify-m .btn-link {
    font-size: 13px !important;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.box-notify .btn-link:hover, .box-notify-m .btn-link:hover {
    opacity: 0.8;
}

/* Scroll area limits for bell dropdown */
#list_not, #list_not_m {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styling */
#list_not::-webkit-scrollbar, #list_not_m::-webkit-scrollbar {
    width: 6px;
}
#list_not::-webkit-scrollbar-track, #list_not_m::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
#list_not::-webkit-scrollbar-thumb, #list_not_m::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
#list_not::-webkit-scrollbar-thumb:hover, #list_not_m::-webkit-scrollbar-thumb:hover {
    background: #999;
}
