/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* ============================================================================
   SELECTOR DE SERVICIOS - NUEVO DISEÑO PASO 1
   Sistema de Reservas Mejorado - Organyca
   ============================================================================ */



.service-selector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    margin: 20px auto;
    max-width: 500px;
}

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.service-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-card.selected {
    background: #f9fafb;
    border-color: #9ca3af;
    box-shadow: 0 0 0 2px #f3f4f6;
}

.service-card.disabled {
    display: none !important;
}

.service-card.sin-cupo {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
    pointer-events: none;
}

.service-card.sin-cupo .cupo-badge {
    background: #e0e0e0;
    color: #757575;
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.service-card.selected .service-icon {
    opacity: 1;
}

.service-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 6px 0 4px;
    color: #374151;
}

.service-card.selected h4 {
    color: #111827;
}

.service-time {
    font-size: 0.72rem;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 400;
}

.service-card.selected .service-time {
    color: #4b5563;
}

.service-cupo {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.cupo-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cupo-badge.cupo-alto {
    background: #e8f5e9;
    color: #2e7d32;
}

.cupo-badge.cupo-medio {
    background: #fff3e0;
    color: #e65100;
}

.cupo-badge.cupo-bajo {
    background: #ffebee;
    color: #c62828;
}

.cupo-badge.cupo-completo {
    background: #ffcdd2;
    color: #b71c1c;
}

.cupo-badge.sin-limite {
    background: #e3f2fd;
    color: #1565c0;
}

.service-card.selected .cupo-badge {
    background: #f3f4f6;
    color: #374151;
}

/* Responsive */
@media (max-width: 768px) {
    .service-selector-grid {
        max-width: 100%;
    }
    
    .service-card {
        padding: 10px;
    }
    
    .service-icon {
        font-size: 1.3rem;
    }
    
    .service-card h4 {
        font-size: 0.9rem;
    }
}

/* ============================================================================
   MEJORAS DE UX - ALERTAS Y MENSAJES
   ============================================================================ */

.cupo-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #856404;
    font-size: 0.9rem;
    text-align: center;
}

.cupo-error {
    background: #f8d7da;
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #721c24;
    font-size: 0.9rem;
    text-align: center;
}

.cupo-info {
    background: #d1ecf1;
    border: 1px solid #17a2b8;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #0c5460;
    font-size: 0.9rem;
    text-align: center;
}