body {font-family:Roboto, sans-serif;font-size: 16px;background: #000000;background-image: radial-gradient(circle at 20% 50%, rgba(26,26,26,0.8) 0%, transparent 60%), radial-gradient(circle at 80% 80%, rgba(15,15,15,0.8) 0%, transparent 60%), radial-gradient(circle at 40% 20%, rgba(21,21,21,0.8) 0%, transparent 60%), radial-gradient(circle at 60% 40%, rgba(18,18,18,0.6) 0%, transparent 50%), radial-gradient(circle at 10% 90%, rgba(12,12,12,0.7) 0%, transparent 55%);background-size: 120% 120%, 110% 110%, 130% 130%, 115% 115%, 125% 125%;background-position: 0% 0%, 100% 100%, 50% 50%, 80% 20%, 20% 80%;background-attachment: fixed;margin: 0;padding: 0;min-height: 100vh;}
div {box-sizing: border-box;}
h1, h2, h3, h4 {font-weight: bold;}
h5, h6 {font-weight: normal;}

/* home */
.page-wrapper {max-width:750px;overflow:hidden;margin:0 auto;min-height: 100vh;display: flex;flex-direction: column;}
.portada {max-height: 280px;flex-shrink: 0;}
.portada img {width:100%;height:100%;object-fit: cover;}
.box {flex-grow: 1;width:100%;max-width:750px;overflow:hidden;background-color:#fff;border-top-left-radius:28px;border-top-right-radius:28px;box-shadow: 0px -10px 40px 15px rgba(0,0,0,0.5), 0px 0px 0px 1px rgba(255,255,255,0.1) inset, 0px 2px 20px rgba(0,0,0,0.3);position: relative;z-index: 2;margin-top:-60px;display: flex;flex-direction: column;transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease-out;backface-visibility: hidden;-webkit-font-smoothing: antialiased;}
.box::before {content: '';position: absolute;top: -3px;left: -3px;right: -3px;bottom: -3px;border-radius: 31px;background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.03) 30%, rgba(255,255,255,0.08) 60%, rgba(255,255,255,0.02) 100%);opacity: 0.8;z-index: -1;pointer-events: none;filter: blur(10px);transition: opacity 0.3s ease;}
.box::after {content: '';position: absolute;top: 0;left: 0;right: 0;height: 2px;background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.4) 70%, transparent 100%);border-top-left-radius: 28px;border-top-right-radius: 28px;pointer-events: none;box-shadow: 0 1px 3px rgba(255,255,255,0.1);}
.box .content {padding:1.5rem;position: relative;z-index: 1;}
.box .content.separa {border-top:1px solid #C4C4C4;flex-grow: 1;display: flex;flex-direction: column;}
.head-info {gap:20px;}
.head-info h1 {font-size: 1.5rem}
.box .content h3 {font-size: 1.2rem}
.ubicacion {color:#777777;gap:5px}

.profe-li {cursor:pointer;max-width: 75px;}
.profe-li.none {color:#777777} 
.profe-li.none .profe-img {opacity: .5;}
.profe-img {margin-bottom: .25rem;}
.profe-nombre {line-height: 1.2;}
.profe-li.activo {color:#000}
.profe-li.activo .profe-img {opacity: 1;}

.profe-li:hover {color:#000;}
.profe-li:hover .profe-img {opacity: 1;}
.profe-li:focus {color:#000;}
.profe-li:focus .profe-img {opacity: 1;}

.botonera {box-shadow:0px 20px 30px -12px rgba(0,0,0,0.2)}
.botonera .boton-pri {flex-grow:1;background-color:transparent;border:0;border-bottom:2px solid #C4C4C4;color:#C4C4C4;padding:.5rem 0;font-size:18px;}
.botonera .boton-pri.activo {border-bottom:2px solid #385C29;color:#273A1F}  
.botonera .boton-pri:hover {border-bottom:2px solid #385C29;color:#273A1F}
.botonera .boton-pri:focus {border-bottom:2px solid #385C29;color:#273A1F}

.turnera .deporte {padding:.85rem .85rem;border:1px solid #000000;border-radius:8px;margin-right:1rem}
.turnera .carousel-fechas {gap: 0.5rem;align-items: center;flex: 1;overflow: hidden;}
.turnera .dia-fecha {flex: 1;overflow-x: auto;overflow-y: hidden;scrollbar-width: none; -ms-overflow-style: none;}
.turnera .dia-fecha::-webkit-scrollbar {display: none;}
.turnera .dia-fecha-li {cursor:pointer;padding: 0 1rem;text-align: center;color:#C4C4C4;line-height: 1.1;text-transform: uppercase;flex-shrink: 0;}
.turnera .dia-fecha-li .dia, .turnera .dia-fecha-li .mes {font-size:1.3rem;}
.turnera .dia-fecha-li .fecha {font-size:2rem;font-weight: bold;}
.turnera .dia-fecha-li.activo {color:#385C29}
.turnera .dia-fecha-li:hover {color:#385C29}
.turnera .dia-fecha-li:focus {color:#385C29}

/* Botones de navegación de fechas */
.btn-nav-fecha {background-color: transparent;border: 1px solid #C4C4C4;border-radius: 8px;padding: 0.5rem;cursor: pointer;display: flex;align-items: center;justify-content: center;color: #385C29;transition: all 0.3s ease;flex-shrink: 0;min-width: 40px;height: 40px;}
.btn-nav-fecha:hover:not(.deshabilitado) {background-color: rgba(102, 222, 46, 0.1);border-color: #385C29;}
.btn-nav-fecha:focus:not(.deshabilitado) {outline: none;box-shadow: 0 0 0 3px rgba(56, 92, 41, 0.2);}
.btn-nav-fecha.deshabilitado {opacity: 0.3;cursor: not-allowed;color: #C4C4C4;border-color: #E0E0E0;}
.btn-nav-fecha svg {width: 20px;height: 20px;}

/*.turnera .deporte {margin-right: .8rem}
.turnera img {width: 28px;height:28px;}
.turnera .dia-fecha-li {padding: 0 .8rem}
.turnera .dia-fecha-li .dia, .turnera .dia-fecha-li .mes {font-size:.9rem}
.turnera .dia-fecha-li .fecha {font-size:1.5rem;}*/

.div-info {margin:1.5em 0;border:1px solid #2196F3;color:#082A45;font-weight: lighter;gap:10px;border-radius:8px;padding:.6em;background-color:#F5FBFF}

.horarios-turnos {gap:10px;flex-wrap: wrap;}
.horarios-turnos .horario-li {cursor:pointer;border-radius:4px;border:1px solid #C4C4C4;min-width:70px;min-height:40px;width:70px;height:40px;justify-content: center;align-items: center;display: flex;font-weight:bold;color:#385C29;}
.horarios-turnos .horario-li.activo {border: 1px solid #385C29;background-color: rgba(102, 222, 46, 0.5);}
.horarios-turnos .horario-li:hover {border: 1px solid #385C29;background-color: rgba(102, 222, 46, 0.5);}

/* Estilos para horarios sin cupos disponibles */
.horarios-turnos .horario-li.sin-cupos {cursor: not-allowed;color:#999;border:1px solid #ddd;background-color:#f5f5f5;}
.horarios-turnos .horario-li.sin-cupos:hover {border:1px solid #ddd;background-color:#f5f5f5;}
.horarios-turnos .horario-li.sin-cupos.activo {border:1px solid #ddd;background-color:#f5f5f5;}

.reservar {flex-grow: 1;display: flex;flex-direction: column;}
.reservar h3 {color:#385C29}
.clases-disponibles {flex-grow: 1;}
.clases-disponibles .clase-li {border-bottom:1px solid #C4C4C4;color:#989898;padding:.5rem 0;align-items: center;}
.clases-disponibles .clase-li:last-child {border-bottom: none;}
.clases-disponibles .clase-li .clase-content {flex-grow:1;}
.clases-disponibles .clase-li .clase-btn {flex-shrink:0;margin-left: 1rem;}
.clases-disponibles .clase-li .clase-drop {flex-shrink:0;margin-right: 1.5em;opacity: .5;}
.clases-disponibles .clase-li .cancha {color:#404040}
.clases-disponibles .clase-li .tipo-clase {color:#404040;}
.clases-disponibles .clase-li .cupos-disponibles {color:#777777; font-size: 0.9rem;}

/* Botones de reserva */
.clase-btn .btn-reservar {background-color: #385C29;color: white;border: none;border-radius: 8px;padding: 0.5rem 1rem;font-size: 1rem;cursor: pointer;transition: background-color 0.3s ease;}
.clase-btn .btn-reservar:hover {background-color: #273A1F;}
.clase-btn .btn-reservar:focus {background-color: #273A1F;outline: none;}
.clase-btn .btn-completada {background-color: #C4C4C4;color: #777777;border: none;border-radius: 8px;padding: 0.5rem 1rem;font-size: 1rem;cursor: not-allowed;}
.profe-img img {border-radius:30px;}

/* confirmacion */
.confirmacion .head-info {gap:0px;}
.confirmacion .head-info p {color:#777777;}
.confirmacion .detalles-confirmacion {gap:10px;padding:.5rem 0;}
.confirmacion .ubicacion {color:#000;}
.confirmacion .profesor-info {gap:10px;}
.confirmacion .profesor-img img {border-radius:30px;}
.confirmacion .confirmacion-imagen {flex-shrink:0;margin-right: 1.5em;}
.confirmacion .confirmacion-imagen img {border-radius:15px;box-shadow: 0px 0px 15px -3px rgba(0,0,0,0.3);}

/* Ajustes para páginas de confirmación y respuesta */
.confirmacion .titulo-info {flex-shrink: 0;}
.confirmacion .form-confirmacion {flex-grow: 1;display: flex;flex-direction: column;}
.confirmacion .form-confirmacion form {flex-grow: 1;display: flex;flex-direction: column;}
.confirmacion .form-confirmacion .text-center {margin-top: auto;}

.confirmacion .mas-detalles {margin-top:1em;}
.confirmacion .mas-detalles .li {border-bottom:1px solid #C4C4C4;padding:.5rem .2rem;gap:10px;}
.confirmacion .mas-detalles .li-icon {opacity: .5;}
.confirmacion .mas-detalles .content-text {color:#777777;}
.confirmacion .mas-detalles .li.cancha {border-bottom: none;}
.confirmacion .mas-detalles .li.cancha .content-text {color:#000;}
.confirmacion .li.cancha .more-content {font-size:.9rem;color:#777777;}
.confirmacion .li.cancha .d-flex {gap:10px;}
.confirmacion .titulo-info {border-bottom:1px solid #C4C4C4;padding:.5rem 0;}
.confirmacion .titulo-info .content {padding-top:0;padding-bottom:0;}

.confirmacion .input-group.user .input-group-text {opacity: .5;}
.confirmacion .form-confirmacion .btn {display: inline-block;margin:2em auto 1em auto;background-color: #C2EEAE;border-radius:15px;font-weight: bold;padding:.5rem 1rem;}
.confirmacion .form-confirmacion .btn:hover {background-color: #A6D68F;}
.confirmacion .form-confirmacion .btn:focus {background-color: #A6D68F;}

/* respuesta */
.confirmacion.respuesta .li.cancha {border-bottom: 1px solid #C4C4C4;}
.confirmacion.respuesta .li.telefono {border-bottom: none;}

/* Estilos para reservas en turnos del admin */
.c-reservas {margin-top: 8px;padding-top: 8px;border-top: 1px solid #e9ecef;}
.c-reserva {padding: 4px 8px;margin-bottom: 4px;border-radius: 4px;font-size: 0.85rem;}
.c-reserva.reserva-pendiente {background-color: #e3f2fd;border-left: 3px solid #2196f3;color: #1565c0;}
.c-reserva.reserva-confirmada {background-color: #e8f5e8;border-left: 3px solid #4caf50;color: #2e7d32;}
.c-reserva .reserva-nombre {font-weight: 500;}
.c-reserva .btn {padding: 2px 6px;font-size: 0.75rem;min-width: 24px;height: 24px;display: flex;align-items: center;justify-content: center;}

/* roboto-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype'); 
}

/* responsive */
@media (max-width: 750px) {
    .page-wrapper {max-width: 100%;}
}

@media (max-width: 650px) {
    .profe-lista {gap:10px;}
    .profe-li {max-width: 60px;}
    .profe-nombre {font-size: 0.8rem;}

    .turnera .deporte {margin-right: .8rem}
    .turnera img {width: 28px;height:28px;}
    .turnera .dia-fecha-li {padding: 0 .8rem}
    .turnera .dia-fecha-li .dia, .turnera .dia-fecha-li .mes {font-size:.9rem}
    .turnera .dia-fecha-li .fecha {font-size:1.5rem;}
    .btn-nav-fecha {min-width: 35px;height: 35px;padding: 0.4rem;}
    .btn-nav-fecha svg {width: 18px;height: 18px;}
    .turnera .carousel-fechas {gap: 0.3rem;}
}

@media (max-width: 480px) {
    .turnera .deporte {margin-right: .5rem;padding:.65rem .65rem}
    .turnera .dia-fecha-li {padding: 0 .5rem}
    .turnera .dia-fecha-li .dia, .turnera .dia-fecha-li .mes {font-size:.8rem}
    .turnera .dia-fecha-li .fecha {font-size:1rem;}
    .turnera img {width: 22px;height: 22px;}
    .div-info {font-size:.8rem}
    .btn-nav-fecha {min-width: 32px;height: 32px;padding: 0.3rem;}
    .btn-nav-fecha svg {width: 16px;height: 16px;}
    .turnera .carousel-fechas {gap: 0.25rem;}
}