﻿.reserva-page {
    width: 100%;
    max-width: 980px;
    margin: 50px auto;
    padding: 0 15px;
    background: transparent;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    color: #666;
}

.steps {
    display: flex;
    gap: 0;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    background: #fff;
}

.step {
    flex: 1;
    padding: 11px 20px;
    background: #fff;
    color: #888;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    border-right: 1px solid #e5e5e5;
}

    .step.active {
        color: #000;
    }

.booking-form {
    width: 450px;
    margin: 0 auto 45px;
}
.input-box {
    height: 46px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    background: #fff;
    box-sizing: border-box;
}

    .input-box i {
        width: 34px;
        text-align: center;
        color: #777;
        font-size: 15px;
    }

/* GOOGLE PLACES */
.place-field {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    margin-bottom: 6px;
    background: #fff;
    box-sizing: border-box;
}

.place-icon {
    width: 34px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 15px;
    border-right: 1px solid #eee;
}

.google-input {
    width: 100%;
    min-width: 0;
    height: 44px;
}

    .google-input gmp-place-autocomplete {
        width: 100%;
        height: 44px;
        display: block;
    }

.booking-form .place-field {
    width: 100%;
}

.right-icon {
    margin-left: auto;
}

.input-box input,
.input-box select {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 10px;
    margin: 0;
    box-sizing: border-box;
    color: #666;
    font-size: 14px;
    background: transparent;
}

.time-selects {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0 10px;
}

    .time-selects select {
        border: none;
        background: transparent;
        outline: none;
        font-size: 14px;
        color: #666;
    }

.form-row {
    display: flex;
    gap: 8px;
}

    .form-row .input-box {
        flex: 1;
    }

.options-row {
    display: flex;
    gap: 16px;
    margin: 8px 0 10px;
}

.options-row a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.options-row a:hover {
    color: #2378b8;
}

.btn-price {
    width: 100%;
    height: 44px;
    background: #2378b8;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

    .btn-price:hover {
        background: #1b669b;
    }

.btn-secondary {
    display: block;
    width: 170px;
    margin: 12px auto;
    border: 1px solid #d1d5db;
    padding: 12px;
    background: #fff;
    cursor: pointer;
}

.error {
    color: red;
    font-size: 13px;
    margin: 8px 0;
}

.ok {
    color: green;
    font-size: 13px;
    margin: 8px 0;
}

.gps {
    display: none;
}

.resumen {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 15px;
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin: 12px 0 5px;
    font-weight: bold;
}

.booking-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    box-sizing: border-box;
}

.cars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.car-card {
    cursor: pointer;
    min-height: 92px;
    display: grid;
    grid-template-columns: 110px 1fr 85px;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e2e2;
    padding: 10px;
    box-sizing: border-box;
}

    .car-card:hover,
    .car-card.selected {
        border-color: #1e73be;
        box-shadow: 0 0 0 1px #1e73be;
    }

.car-image img {
    width: 100px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.car-title {
    font-size: 17px;
    color: #000;
    margin-bottom: 14px;
}

.car-content {
    min-width: 0;
}

.car-title {
    overflow-wrap: break-word;
}

.car-icons {
    display: flex;
    gap: 10px;
    color: #333;
    font-size: 13px;
}

.car-price {
    text-align: right;
}

.price {
    font-size: 20px;
    color: #222;
}

.tax {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.select-box {
    display: none;
    width: 22px;
    height: 22px;
    background: #1e73be;
    color: #fff;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.car-card.selected .select-box {
    display: flex;
}

.selected-total {
    text-align: center;
    margin-top: 25px;
    font-size: 24px;
}

    .selected-total span {
        display: block;
        font-size: 12px;
        color: #999;
    }

.btn-reservar {
    display: block;
    width: 170px;
    margin: 15px auto;
    background: #1e73be;
    color: #fff;
    border: none;
    padding: 13px;
    font-weight: bold;
    cursor: pointer;
}

.info-section {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 55px;
    margin-top: 40px;
}

.info-box h3 {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.info-box p {
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .reserva-page {
        margin: 25px auto;
    }

    .steps {
        flex-direction: column;
    }

    .step {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .booking-form {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .options-row {
        flex-direction: column;
        gap: 8px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .car-card {
        grid-template-columns: 85px 1fr 70px;
    }

    .car-image img {
        width: 75px;
    }

    .car-title {
        font-size: 15px;
    }

    .price {
        font-size: 18px;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .info-box h3 {
        margin-bottom: 12px;
    }
}


@media (max-width: 768px) {

    .reserva-page {
        max-width: 100%;
        margin: 20px auto;
        padding: 0 12px;
    }

    .booking-form {
        width: 100%;
        max-width: 100%;
    }

    .steps {
        flex-direction: column;
    }

    .step {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


.confirmacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tabs-confirmacion {
    display: flex;
    background: #f2f2f2;
}

.tab {
    padding: 10px 12px;
    font-size: 13px;
    color: #444;
}

    .tab.active {
        background: #2378b8;
        color: #fff;
    }

.box-confirmacion,
.resumen-confirmacion {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    padding: 10px;
    margin-bottom: 20px;
}

.input-confirmacion,
.discount-input,
.textarea-confirmacion {
    width: 100%;
    border: 1px solid #dcdcdc;
    padding: 13px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

    .check-line input {
        width: 22px;
        height: 22px;
    }

    .check-line span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 50px 1fr 50px;
    gap: 15px;
    align-items: center;
    color: #777;
}

.confirmacion-right h3 {
    font-size: 16px;
    color: #333;
    margin-top: 0;
}

.beneficios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
    margin-bottom: 65px;
}

.payment-option {
    display: block;
    border: 1px solid #e1e1e1;
    padding: 15px;
    margin-bottom: 10px;
    font-size: 14px;
}

    .payment-option input {
        width: 22px;
        height: 22px;
        vertical-align: middle;
        margin-right: 10px;
    }

.precio-final {
    margin: 30px 0 20px;
}

    .precio-final strong {
        font-size: 20px;
        display: inline-block;
    }

    .precio-final small {
        color: #888;
    }

.terms a {
    color: #0070c9;
    text-decoration: none;
}

.btn-reservar-ahora {
    background: #2378b8;
    color: #fff;
    border: none;
    padding: 14px 18px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .confirmacion-grid {
        grid-template-columns: 1fr;
    }

    .tabs-confirmacion {
        flex-direction: column;
    }

    .beneficios {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .mini-grid {
        grid-template-columns: 1fr 50px;
    }
}



.cliente-title {
    margin: 0 0 12px;
    font-size: 16px;
    color: #333;
}

.login-required-box {
    border: 1px solid #e1e1e1;
    background: #f7f7f7;
    padding: 18px;
    color: #444;
    margin-bottom: 20px;
}

.login-required-box p {
    margin-bottom: 0;
    line-height: 1.6;
}

.panel-login,
.panel-register {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    padding: 10px;
    margin-bottom: 20px;
}

.login-field {
    height: 46px;
    border: 1px solid #ddd;
    background: #fff;
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    margin-bottom: 10px;
}

    .login-field i {
        text-align: center;
        font-size: 18px;
        color: #333;
    }

    .login-field input {
        width: 100%;
        height: 44px;
        border: none;
        outline: none;
        padding: 0 12px;
        box-sizing: border-box;
    }

.login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-login {
    background: #2378b8;
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
}

.login-actions a {
    color: #0070c9;
    text-decoration: none;
}


.panel-register {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    padding: 12px;
    margin-bottom: 20px;
}

.radio-row {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
}

    .radio-row label {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 14px;
    }

.register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 10px;
}

.panel-register input[type="text"],
.panel-register input[type="email"],
.panel-register input[type="password"] {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    padding: 0 12px;
    box-sizing: border-box;
    background: #fff;
    font-size: 14px;
}

.register-input {
    width: 100%;
    height: 46px;
    border: 1px solid #ddd;
    padding: 0 12px;
    margin-bottom: 10px;
    box-sizing: border-box;
    background: #fff;
}

.btn-register {
    width: 100%;
    height: 42px;
    background: #2378b8;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-top: 12px;
}

    .btn-register:hover {
        background: #1b669b;
    }

.check-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

    .check-line input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }

    .check-line a {
        color: #0070c9;
        text-decoration: none;
    }

@media (max-width: 768px) {

    .register-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}


.acciones-pasos {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-paso {
    flex: 1;
    height: 46px;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn-volver {
    background: #f2f2f2;
    border: 1px solid #d8d8d8;
    color: #444;
}

.btn-continuar {
    background: #2378b8;
    color: white;
}

    .btn-continuar:hover {
        background: #1b669b;
    }

@media (max-width: 768px) {

    .acciones-pasos {
        flex-direction: column;
    }
}

#zona-pago-boton {
    flex: 1;
    display: flex;
}

#zona-pago-boton .btn-paso {
    width: 100%;
}



.resumen-tabla {
    font-size: 14px;
    color: #333;
}

.resumen-tabla div {
    display: grid;
    grid-template-columns: 150px 1fr;
    margin-bottom: 8px;
}

.resumen-tabla span {
    font-weight: normal;
}

.resumen-tabla strong {
    font-weight: normal;
}

.resumen-tabla small {
    color: #999;
}

.resumen-tabla .full {
    display: block;
}

    .resumen-tabla .full span {
        display: block;
        margin-bottom: 3px;
    }

    .resumen-tabla .full p {
        margin: 0 0 12px;
        line-height: 1.4;
    }


.opciones-sillas {
    margin-top: 12px;
}

.silla-row {
    display: grid;
    grid-template-columns: 24px 1fr 55px;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

    .silla-row input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }

.cantidad-silla {
    height: 32px;
    border: 1px solid #ddd;
}


.nota-sillas {
    display: block;
    color: #777;
    margin-top: 8px;
}

.chk-mas-opciones {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

    .chk-mas-opciones input,
    .chk-silla-asp input {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }

.silla-row {
    display: grid;
    grid-template-columns: 1fr 70px;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.chk-silla-asp label {
    font-size: 14px;
    color: #333;
}

.cantidad-silla {
    width: 70px;
    height: 34px;
    border: 1px solid #ddd;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 60px 1fr 70px;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

    .mini-grid span {
        color: #666;
        font-size: 14px;
    }

    .mini-grid strong {
        font-weight: normal;
        font-size: 15px;
        color: #333;
    }

.mini-select {
    width: 55px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 4px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .mini-grid {
        grid-template-columns: 1fr 60px;
    }
}

.msg-error-login {
    color: #d60000;
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.phone-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

    .phone-wrapper .iti {
        width: 100% !important;
        display: block !important;
    }

    .phone-wrapper .iti__flag-container {
        position: absolute !important;
        top: 0;
        bottom: 0;
        left: 0;
    }

    .phone-wrapper input.phone-input {
        width: 100% !important;
        height: 46px !important;
        border: 1px solid #ddd !important;
        padding-left: 105px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

/* Evita que nada se salga */
* {
    box-sizing: border-box;
}

.booking-form,
.place-field,
.input-box,
.google-input,
.google-input gmp-place-autocomplete {
    max-width: 100%;
}

/* Fecha, hora y select con misma altura */
.input-box {
    height: 46px;
}

    .input-box input,
    .input-box select {
        height: 44px;
        line-height: 44px;
    }

/* Google Places */
.place-field {
    height: 46px;
    grid-template-columns: 34px minmax(0, 1fr);
    overflow: visible;
}

.google-input {
    min-width: 0;
    width: 100%;
}

    .google-input gmp-place-autocomplete {
        width: 100% !important;
        min-width: 0 !important;
    }

@media (max-width: 768px) {

    .booking-form {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .place-field {
        width: 100%;
        max-width: 100%;
    }

    .google-input {
        width: 100%;
        min-width: 0;
    }

        .google-input gmp-place-autocomplete {
            width: 100% !important;
            max-width: 100% !important;
        }

    .input-box {
        width: 100%;
        height: 46px;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 768px) {

    .cars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .car-card {
        width: 100%;
        grid-template-columns: 80px 1fr;
        padding: 12px;
        position: relative;
        min-height: 95px;
        overflow: hidden;
    }

    .car-image img {
        width: 70px;
        height: auto;
    }

    .car-content {
        padding-right: 70px;
    }

    .car-title {
        font-size: 18px;
        margin-bottom: 10px;
        word-break: break-word;
    }

    .car-icons {
        gap: 8px;
        font-size: 13px;
    }

    .car-price {
        position: absolute;
        right: 12px;
        top: 14px;
        width: 60px;
        text-align: right;
    }

    .price {
        font-size: 16px;
    }

    .tax {
        font-size: 11px;
    }

    .select-box {
        margin-top: 5px;
        margin-left: auto;
    }
}


.booking-bottom {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.booking-info span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.booking-info strong {
    color: #222;
    font-size: 15px;
}

@media (max-width: 768px) {

    .booking-top {
        flex-direction: column;
        gap: 15px;
    }

    .booking-right {
        text-align: left;
    }

    .booking-date {
        font-size: 18px;
    }

    .booking-price {
        font-size: 22px;
    }

    .booking-bottom {
        gap: 20px;
    }
}


.reservas-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: Arial, sans-serif;
}

    .reservas-wrapper h2 {
        margin-bottom: 5px;
    }

.reservas-subtitle {
    color: #777;
    margin-bottom: 25px;
}

.booking-card {
    background: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid #2378b8;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.booking-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.booking-ref {
    color: #2378b8;
    font-weight: bold;
    margin-bottom: 5px;
}

.booking-date {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

.booking-hour {
    color: #666;
}

.booking-right {
    text-align: right;
}

.booking-price {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}

.estado {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 9px;
    background: #fff3cd;
    color: #856404;
    font-size: 12px;
    font-weight: bold;
}

.booking-route {
    margin-bottom: 16px;
}

.route-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.route-icon {
    color: #2378b8;
    text-align: center;
}

.route-text span,
.booking-info span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 3px;
}

.route-text strong {
    font-size: 14px;
    color: #222;
    font-weight: normal;
    line-height: 1.5;
}

.route-line {
    height: 18px;
    border-left: 2px dashed #ccc;
    margin-left: 13px;
}

.booking-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f7f7f7;
    padding: 12px;
    gap: 12px;
}

.booking-info strong {
    color: #222;
}

@media (max-width: 768px) {
    .booking-top {
        flex-direction: column;
    }

    .booking-right {
        text-align: left;
    }

    .booking-bottom {
        grid-template-columns: 1fr;
    }
}


.beneficio-item {
    margin-bottom: 22px;
}

.beneficio-check {
    color: #2378b8;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.beneficio-item h4 {
    margin: 0 0 8px;
    color: #555;
    font-size: 16px;
}

.beneficio-item p {
    margin: 0;
    line-height: 1.4;
}