/* =====================================================
   AhMath LC Notifications
   Header notification bell + dropdown
   ===================================================== */

.notification-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin-right: 8px !important;
}

.notification-bell {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 22px !important;
    padding: 0 6px !important;
    color: #777 !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.notification-bell:hover {
    color: #0088cc !important;
}

.notification-bell i {
    font-size: 13px !important;
    line-height: 1 !important;
}

.notification-badge {
    position: absolute !important;
    top: -6px !important;
    right: -2px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #dc3545 !important;
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    text-align: center !important;
}

.notification-dropdown {
    display: none;
    position: absolute !important;
    top: 26px !important;
    right: -18px !important;
    width: 240px !important;
    max-height: 320px !important;
    overflow-y: auto !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.14) !important;
    z-index: 100000 !important;
}

.notification-wrapper.open .notification-dropdown {
    display: block !important;
}

.notification-dropdown-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 6px 9px !important;
    border-bottom: 1px solid #eee !important;
}

.notification-item {
    display: block !important;
    padding: 6px 9px !important;
    border-bottom: 1px solid #eee !important;
    text-decoration: none !important;
    color: #333 !important;
}

.notification-item:hover {
    background: #f5faff !important;
}

.notification-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.notification-subject,
.notification-preview,
.notification-empty {
    font-size: 12px !important;
    color: #666 !important;
    line-height: 1.2 !important;
}

.notification-empty {
    padding: 6px 9px !important;
}

.notification-person-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.notification-person-name {
    font-size: 13px;
    font-weight: 700;
    color: #1f2933;
}

.notification-person-count {
    font-size: 13px;
    font-weight: 700;
    color: #0088cc;
}

.notification-footer-link {
    display: block;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    color: #0088cc;
    text-decoration: none;
    border-top: 1px solid #eee;
}

.notification-footer-link:hover {
    background: #f5faff;
}