* * Loyalty Barber Pro - Estilos Principales
 * Nota: Las variables --p (Color Principal) y --a (Color de Énfasis) 
 * se inyectan dinámicamente desde la configuración del plugin en PHP.
 */

/* Contenedor Principal */
.lbp-wrap { 
    max-width: 500px; 
    margin: 20px auto; 
    font-family: system-ui, -apple-system, sans-serif; 
    background: #f8fafc; 
    padding: 20px; 
    border-radius: 20px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
}

/* Botones */
.lbp-btn { 
    display: block; 
    width: 100%; 
    padding: 15px; 
    background: var(--a); 
    color: white; 
    text-align: center; 
    border: none; 
    border-radius: 12px; 
    font-size: 16px; 
    font-weight: bold; 
    cursor: pointer; 
    text-decoration: none; 
    margin-top: 10px;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}
.lbp-btn:active {
    transform: scale(0.98);
}
.lbp-btn-outline { 
    background: transparent; 
    color: var(--a); 
    border: 2px solid var(--a); 
}

/* Campos de Formulario */
.lbp-input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #cbd5e1; 
    border-radius: 8px; 
    margin-bottom: 15px; 
    box-sizing: border-box; 
    font-size: 15px;
}
.lbp-input:focus {
    outline: none;
    border-color: var(--a);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Tarjeta de Fidelización (Glassmorphism / Gradiente) */
.lbp-card { 
    background: linear-gradient(135deg, var(--p), #1e293b); 
    color: white; 
    border-radius: 20px; 
    padding: 25px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    position: relative; 
    overflow: hidden; 
}
.lbp-card-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
}

/* Chip Bancario de la Tarjeta */
.lbp-card-chip { 
    width: 45px; 
    height: 30px; 
    background: linear-gradient(135deg, #fbbf24, #d97706); 
    border-radius: 5px; 
    position: relative; 
    overflow: hidden; 
}
.lbp-card-chip::after { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 0; 
    width: 100%; 
    height: 1px; 
    background: rgba(0,0,0,0.2); 
}

/* Cuadrícula de Sellos */
.lbp-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 10px; 
    margin: 20px 0; 
}
.lbp-slot { 
    aspect-ratio: 1; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 20px; 
    color: rgba(255,255,255,0.3); 
    border: 2px dashed rgba(255,255,255,0.2); 
}
.lbp-slot.filled { 
    background: var(--a); 
    color: white; 
    border-style: solid; 
    border-color: var(--a); 
    box-shadow: 0 0 15px var(--a); 
}

/* Barra de Progreso */
.lbp-progress-bar { 
    width: 100%; 
    height: 6px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 3px; 
    margin-top: 15px; 
    overflow: hidden; 
}
.lbp-progress-fill { 
    height: 100%; 
    background: #10b981; 
    border-radius: 3px; 
    transition: width 0.5s ease; 
}

/* Tarjetas de Peticiones y Notificaciones */
.lbp-req-card { 
    background: #fff; 
    padding: 15px; 
    border-radius: 12px; 
    margin-bottom: 10px; 
    border: 1px solid #e2e8f0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.lbp-badge { 
    background: #ef4444; 
    color: white; 
    padding: 2px 8px; 
    border-radius: 12px; 
    font-size: 12px; 
    font-weight: bold;
}

/* Caja de Compartir (Referidos) */
.lbp-share-box { 
    background: #fff7ed; 
    border: 1px dashed #fdba74; 
    padding: 15px; 
    border-radius: 12px; 
    margin-top: 20px; 
    text-align: center; 
}

/* Navegación por Pestañas (Panel Barbero) */
.lbp-tab-nav { 
    display: flex; 
    border-bottom: 1px solid #e2e8f0; 
    margin-bottom: 15px; 
}
.lbp-tab-btn { 
    flex: 1; 
    padding: 12px; 
    background: none; 
    border: none; 
    font-weight: bold; 
    color: #64748b; 
    cursor: pointer; 
    border-bottom: 2px solid transparent; 
    transition: all 0.2s ease;
}
.lbp-tab-btn.active { 
    color: var(--a); 
    border-bottom-color: var(--a); 
}