/* ======== RESET ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", system-ui, sans-serif;
}

body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* ======== CONTENEDOR ======== */
.container {
    padding: 20px;
    padding-bottom: 120px;
    max-width: 900px;
    margin: auto;
}

/* ======== HEADER ======== */
.header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-direction: column;
}

.back-btn {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}

.back-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* ======== MENSAJES ======== */
.mensaje {
    padding: 15px;
    border-radius: 14px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.mensaje.ok {
    background: rgba(0, 255, 120, 0.15);
    border: 1px solid rgba(0, 255, 120, 0.3);
}

.mensaje.error {
    background: rgba(255, 0, 80, 0.15);
    border: 1px solid rgba(255, 0, 80, 0.3);
}

/* ======== FORMULARIO ======== */
.form-reserva {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ======== GRUPOS ======== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ======== INPUTS ======== */
input,
select {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}

input:focus,
select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
}

/* ======== HORARIOS ======== */
.horarios-info {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    text-align: center;
    font-size: 1rem;
    opacity: 0.85;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.hora-btn {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.hora-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
}

.hora-btn.selected {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

/* ======== BOTÓN SUBMIT ======== */
.btn-submit {
    padding: 16px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #ffffff25, #ffffff10);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    transition: 0.25s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/* ======== BARRA INFERIOR ======== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 0;
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.25s ease;
}

.nav-item.active,
.nav-item:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.nav-icon {
    font-size: 1.4rem;
}

/* ======== RESPONSIVE ======== */
@media (min-width: 700px) {
    .form-reserva {
        max-width: 600px;
        margin: auto;
    }
}
.hora-btn.ocupada {
    background: #ccc;
    color: #666;
    text-decoration: line-through;
    cursor: not-allowed;
}
