/* Estilos para el formulario de reservas Imabell */
#spa-reservation-container {
    box-sizing: border-box;
    /* Tarjeta: Fondo, bordes redondeados y sombra sutil */
    background-color: #ffffff; 
    border-radius: 16px; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Sombra m¨¢s pronunciada pero suave */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    border: none; /* Se elimina el borde para que la sombra act¨²e como contorno */
}

#spa-reservation-container *, #spa-reservation-container *::before, #spa-reservation-container *::after {
    box-sizing: border-box;
}

.reservation-header {
    /* Gradiente sutil en el encabezado */
    background: linear-gradient(135deg, #FFD56B 0%, #FFB642 100%); 
    border-bottom: none; /* Se elimina el borde inferior */
    padding: 30px 25px; /* M¨¢s espacio */
    text-align: center;
}

.reservation-header h2 {
    color: #333;
    font-size: 28px;
    margin: 0 0 8px 0;
    font-weight: 700;
}

.reservation-header .subtitle {
    color: #666;
    font-size: 17px;
    font-weight: 500;
}

.reservation-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: #fcfcfc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-bottom: 1px solid #eee;
}

.reservation-progress .step {
    text-align: center;
    padding: 15px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #999;
    position: relative;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.reservation-progress .step.active {
    color: #FCB900;
    opacity: 1;
}

.reservation-progress .step.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FCB900;
    border-radius: 2px 2px 0 0;
}

.reservation-step {
    background: white;
    padding: 2.5rem;
    display: none;
    animation: fadeIn 0.5s forwards;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reservation-step.active {
    display: block;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reservation-step label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 20px;
    color: #444;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reservation-step select, .reservation-step input, .reservation-step textarea {
    width: 100%;
    padding: 14px 18px;
    border: none; /* Se elimina el borde */
    border-bottom: 2px solid #e0e0e0; /* Nuevo borde inferior sutil */
    border-radius: 0; /* Sin bordes redondeados */
    font-size: 16px;
    transition: border-bottom-color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Campos de entrada: Placeholder gris claro */
    &::placeholder {
        color: #b0b0b0;
    }
}

.reservation-step select:focus, .reservation-step input:focus, .reservation-step textarea:focus {
    outline: none;
    /* Campos de entrada: Borde inferior cambia de color al enfocar */
    border-bottom-color: #FCB900;
}

.reservation-step button {
    /* Botones: Estilo moderno con gradiente y sombra */
    background: linear-gradient(135deg, #FCB900 0%, #FFD56B 100%);
    color: #333;
    border: none;
    padding: 14px 30px;
    border-radius: 50px; /* Bordes m¨¢s pronunciados para un estilo "p¨ªldora" */
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
}

.reservation-step button:hover {
    background: linear-gradient(135deg, #EBAA12 0%, #FCB900 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.reservation-step button:disabled {
    background: #e0e0e0;
    color: #999;
    box-shadow: none;
    cursor: not-allowed;
    transform: translateY(0);
}

/* Estilos espec¨ªficos para el paso de confirmaci¨®n */
#step-4 .resumen {
    /* Tarjetas: Fondo blanco, bordes redondeados y sombra sutil */
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: none; /* Se elimina el borde */
}

#step-4 .resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#step-4 .resumen-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#step-4 .resumen-item span:first-child {
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

#step-4 .resumen-item span:last-child {
    color: #888;
    font-size: 16px;
    font-weight: 500;
}

/* Estilos para botones de navegaci¨®n */
.navigation-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.navigation-buttons .back-button {
    background: none;
    color: #555;
    border: 2px solid #ccc;
    box-shadow: none;
    padding: 12px 25px;
    transition: all 0.3s ease;
}

.navigation-buttons .back-button:hover {
    background: #f0f0f0;
    transform: translateY(0);
}

/* Estilos para horarios */
.horarios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.slot-button {
    padding: 14px 10px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #555;
}

.slot-button:hover {
    border-color: #FCB900;
    background: #fff8e8;
}

.slot-button.selected {
    background: #FCB900;
    color: #333;
    border-color: #FCB900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Mensajes de carga y error */
.loading-slots, .no-slots {
    text-align: center;
    padding: 25px;
    color: #888;
    font-style: italic;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
}

/* Precio destacado */
.precio-destacado {
    background: #fff8e8;
    padding: 20px;
    border-radius: 12px;
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    color: #444;
    border: 2px dashed #FFD56B;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: inset 0 0 5px rgba(255, 213, 107, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .horarios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reservation-progress .step {
        font-size: 11px;
        padding: 12px 4px;
    }
}

@media (max-width: 480px) {
    .horarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reservation-step {
        padding: 2rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .navigation-buttons button {
        width: 100%;
    }
}
/* Estilos para el backend de reservas */
.imabell-stats {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-card {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.stat-card h3 {
    margin: 0 0 5px 0;
    color: #0073aa;
}

.estado-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.estado-confirmada { 
    background: #d4edda; 
    color: #155724; 
}

.estado-cancelada { 
    background: #f8d7da; 
    color: #721c24; 
}

.estado-completada { 
    background: #d1ecf1; 
    color: #0c5460; 
}

.row-actions { 
    display: flex; 
    gap: 5px; 
}

.row-actions .button { 
    padding: 4px 8px; 
    height: auto; 
}

.button-danger { 
    background: #dc3232; 
    color: white; 
    border-color: #dc3232; 
}

.button-danger:hover { 
    background: #a00; 
    border-color: #a00; 
}

/* Modal */
#reserva-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
}

#reserva-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
}