/* =========================
   Notification Bell
========================= */

.notif-wrap {
    position: relative;
}

.notif-bell-btn {
    position: relative;
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
}

.notif-bell-btn:hover {
    background: #f3f4f6;
}

.notif-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.notif-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    border: 1px solid #eee;
    z-index: 50;
}

.notif-panel-header {
    padding: 14px 16px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
}

.notif-list {
    padding: 8px;
}

.notif-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    padding: 8px 8px 4px;
}

.notif-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 8px;
    border-radius: 8px;
    cursor: pointer;
}

.notif-item:hover {
    background: #f5f7fb;
}

.notif-item-icon {
    font-size: 18px;
}

.notif-item-title {
    font-size: 13px;
    font-weight: 600;
}

.notif-item-time {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.notif-item-body {
    flex: 1;
    min-width: 0;
}

.notif-item-dismiss {
    background: none;
    border: none;
    padding: 4px;
    font-size: 12px;
    color: #9ca3af;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
}

.notif-item-dismiss:hover {
    background: #e5e7eb;
    color: #374151;
}

.notif-empty {
    padding: 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}
