/* ===================================================================
   Gimnasio App — Notificaciones
   Bell badge + notification cards
   =================================================================== */

/* --- Bell in Header --- */
.notif-bell {
    position: relative;
    cursor: pointer;
    padding: 6px;
    width: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-bell i {
    font-size: 20px;
    color: white;
}

.notif-bell-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #ef4444;
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    border: 2px solid #4a7ba7;
}

/* --- Actions Bar --- */
.notif-actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.notif-marcar-todas {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.notif-marcar-todas:active {
    background: rgba(255, 255, 255, 0.25);
}

/* --- Notification List --- */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Notification Card --- */
.notif-card {
    background: white;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    transition: transform 0.15s;
    position: relative;
}

.notif-card:active {
    transform: scale(0.98);
}

.notif-card.no-leida {
    background: #f0f7ff;
    border-left: 3px solid #4682B4;
}

/* --- Icon --- */
.notif-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e8f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notif-icon-wrap i {
    font-size: 16px;
    color: #4682B4;
}

/* --- Content --- */
.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.notif-tipo {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4682B4;
}

.notif-fecha {
    font-size: 11px;
    color: #9ca3af;
}

.notif-titulo {
    font-size: 14px;
    font-weight: 600;
    color: #1a2332;
    margin: 0 0 2px;
    line-height: 1.3;
}

.notif-mensaje {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Unread Dot --- */
.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4682B4;
    flex-shrink: 0;
    margin-top: 4px;
}
