
* {margin: 0px;padding: 0px;box-sizing: border-box;}

.met-contenedor-reservacion {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: fit-content;
  margin: 10px auto;
  z-index: 0;
}

/* ELEMENTO CONTENEDOR  DEL ERROR */
.inner-container-reservation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1200px;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: var(--blue-secondary-opacity);
    gap: 10px;
    border-radius: 30px;
    flex-wrap: wrap;
    @media only screen and (max-width: 768px) {
        align-items: center;
        height: fit-content;
        border-radius: 10px;
        max-width: 95%;
        width: 100%;

    }
}
.met-inner-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    align-content: center;
    justify-content: center;
    min-height: 110px;
    border-radius: 30px;
    gap: 10px;
    box-sizing: border-box;
    @media only screen and (max-width: 768px) {
        grid-template-columns: 1fr 1fr;
        height: fit-content;
        row-gap: 20px;
    }
}

.form-location {
    grid-column: span 2;
    position: relative;
}

.form-location .results-container{
    position: absolute;
    left: 0;
    top: 100%;
    background-color: white;
    color: var(--text-color);
    width: 100%;
    z-index: 10;
    border-radius: var(--rounded-border);
}
.form-location .results-container .result-item:hover {
    background-color: var(--hover-effect);
}
.form-location .results-container .result-item {
    padding: 4px;
}
.form-location .results-container .result-item:first-child {
    border-top-right-radius: var(--rounded-border);
    border-top-left-radius: var(--rounded-border);
}
.form-location .results-container .result-item:last-child {
    border-bottom-right-radius: var(--rounded-border);
    border-bottom-left-radius: var(--rounded-border);
}
.form-location .modal-location-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    .met-modal-content {
        .modal-title {
            margin: 10px 0px 0px 0px;
            line-height: 0px;
            font-size: 18px;
        }
        .location-list {
            margin: 0px;
            line-height: 24px;
            list-style: none;
            padding: 0px;
            .location-item {
                padding: 5px 0px;
            }
        }
    }
}

.form-field {
    width: 100%;
    border-radius: 10px;
    background-color: transparent;
    border: solid 1px var(--border-color);
    display:flex;
    justify-content:start;
    align-items:center;
    height: 40px;
    padding: 0px 0px;
    box-sizing: border-box;
    font-weight: var(--font-weight);
    font-size: var(--font-size-main);
}
.form-field .error-field {
    color: var(--color-error);
    position: absolute;
    right: 30px;
    @media only screen and (max-width: 768px) {
        left: 0px;
        bottom: -28px;
        font-size: 12px;
    }
}

.form-field input {
    background-color: transparent;
    border: none;
    text-align: left;
    width:90%;
    height: 100%;
    padding: 0px 10px;
    outline: 0px;
    color: #fff;
    margin-bottom: 0px;
    font-size: var(--font-size-main);
    font-weight: var(--font-weight);
    border-radius: var(--rounded-border);
    box-sizing:content-box;
    &::placeholder {
        font-size: var(--font-size-main);
        font-weight: var(--font-weight);
    }
    &.is-invalid {
        border: solid 1px var(--color-error);
    }
}

/* Boton de adquirir reservacion */
.form-submit {
    background-color: var(--border-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 170px;
    height: 54px;
    border-radius: 10px;
    @media only screen and (max-width: 768px) {
        min-width: 100%;
        height: 40px;
        column-span: 4;
    }
}

.radio-group {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    @media only screen and (max-width: 768px) {
        column-gap: 5px;
        width: 100%;
        flex-direction: row;
    }
}

.radio-option {
    color: #fff;
    border-radius: 50%;
}
.radio-option .radio-text {
    color: #fff;
    font-size: var(--font-size-main);
    font-weight: var(--font-weight);
}

.form-calendar .radio-option {
    color: #fff;
}

/* Ocultar el icono en navegadores WebKit */
/* input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
} */

/* haz lo mismo para time */
input[type="time"]::-webkit-calendar-picker-indicator { 
    -webkit-appearance: none;
    display: none;
}

/* Ocultar el icono en Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
    display: none;
}

/* Opcional: Ocultar el icono en Edge/IE */
input[type="date"]::-ms-input-placeholder {
    color: transparent;
}
input[type="input"]::-ms-input-placeholder {
    color: transparent;
}
.form-field{
    position: relative;
}

.form-field svg {
    right: 10px;
    position: absolute;
    pointer-events: none;
    width: 15px;
}

.reservation-modal-overlay {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    width: 100%;
    min-height: 100%;
    height: fit-content;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.reservation-modal-fix-scroll {
    border-radius: 10px;
    padding: 10px;
    background-color: white;
    width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    min-height: 90vh;
    max-height: 90vh;
    position: relative;
    display:flex;
    justify-content:center;
    align-items:center;
    color: var(--text-color);
    box-sizing: border-box;
    @media only screen and (max-width: 768px) {
        max-width: 100%;
        width: 100%;
    }
}
.reservation-modal-fix-scroll p {
    color: var(--text-color);
}
.reservation-modal-fix-scroll.success {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
}

.reservation-modal {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 10px;
    border-radius: 10px;
    position: absolute;
    width: 100%;
    max-width: 97%;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    @media only screen and (max-width: 768px) {
        width: 99%;
    }
}




.met-modal-header h3 {
    margin-top: 0px;
    margin-bottom: 5px;
    color: var(--text-color);
}
.met-modal-header p {
    margin-top: 0px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.modal-content {
    display: grid;
    justify-content: center;
    grid-template-columns:100%;
    gap: 10px;
    @media only screen and (max-width: 768px) {
        grid-template-columns: 1fr;
    }
}

.reservation-container-service {
    display: grid;
    grid-template-columns: 80px 1fr 5%;
    gap: 10px;
    padding: 10px;
    border: #BABABA 1px solid;
    cursor: pointer;
    box-sizing: border-box;
    &.active {
        border: var(--border-active);
        background-color: #ededed;
    }
    /* need all childs elements not use pointer events */
    & > * {
        pointer-events: none;
    }
    
    &:hover    {
        background-color: #ededed;
    }
    img {
        height: 80px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    .side-box {
        display: flex;
        justify-content: center;
        align-items: center;
        align-self: center;
        width: 14px;
        min-width: 14px;
        height: 14px;
        min-height: 14px;
        border-radius: 50%;
        border: #BABABA 2px solid;
        overflow: hidden;
        padding: 2px;
        &.active {
            border: var(--border-color) 2px solid;
            span {
                background-color: var(--border-color);
            }
        }
        span {
            width: 100%;
            height: 100%;
            display: block;
            align-items: center;
            justify-content: center;
            background-color: #BABABA;
            border-radius: 50%;
        }
    }
}

.reservation-container-service:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.reservation-container-service:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.reservations-models {
    border-radius: 10px;
    .resalt-price {
        color: var(--border-color);
        font-weight: 400;
        font-size: 16px;
    }
}

.info-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    p {
        margin: 0;
        padding: 0;
        font-size: 14px;
        color: var(--text-color);
    }
}

.passengers-box svg {
    width: 16px;
    height: 16px;
    stroke: var(--border-color);
}

.price, .info-box .price {
    font-size: 18px;
    font-weight: 300;
    color: var(--border-color);
    @media only screen and (max-width: 768px) {
        font-size: 16px;
        line-height: 18px;
    }
}

/* componente de reservacion */
.reservation-summary {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary-opacity);
    border-radius: var(--rounded-border);
    padding: var(--padding-general);
    box-sizing: border-box;
    margin-top: 10px;
    p {
        color: var(--text-color);
    }
    span {
        color: var(--primary-color);
    }
    h5 {
        color: var(--text-color);
    }
    h4 {
        text-align: left;
        line-height: 16px;
        margin-bottom: 10px;
        color: var(--text-color);
    }
    .date-info {
        width: 100%;
        margin-top: 20px;
        color: var(--text-color);
    }
}

.total_price {
    font-weight: 400;
    font-size: 18px;
    margin-top: 6px;
    margin-bottom: 6px;
}
#total_price {
    font-weight: 600;
    color: var(--border-color);
    font-size: 18px;
    margin-top: 10px;
}

/* FORM PASSGENGER INFO */
.reservation-modal-visble {
    visibility: hidden;
}

/* contenedor del modal */
#passenger_payment_info {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    @media only screen and (max-width: 768px) {
        width: 90%;
    }
    h5 {
        margin-top: 20px;
        padding: 0px;
        font-size: 18px;
        color: var(--text-color);
        margin-bottom: 4px;
        grid-column: 1 / 3;
    }
    .form-field-passenger {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        &.full {
            grid-column: 1 / 3;
        }
        label {
            color: var(--text-color);
            font-size: 14px;
            margin-bottom: 5px;
        }
        input {
            width: 100%;
            height: 40px;
            border-radius: 10px;
            background-color: transparent;
            border: solid 1px var(--border-color);
            padding: 0px 10px;
            font-size: var(--font-size-main);  
            color: var(--primary-color);
        }
        button {
            width: 100%;
            height: 40px;
            border-radius: 10px;
            background-color: var(--border-hover);
            background-color: var(--border-color);
            color: #fff;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
    }
}

.fade-in-start {
    transform: translateY(0px);
    transition: all 0.3s ease-in-out;
    opacity: 0px;
}
.fade-in-end {
    transform: translateY(100%);
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

/* ESTILOS DE LOS BOX DE RESERVACION */
.radio-option {
    display: flex;
    align-items: center;
    column-gap: 3px;
}
input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--border-color);
    
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    position: relative;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--border-color);
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
    content: '✓';
    color: #2A2A44;
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* INPUT DE PASAJEROS */
.form-field-passenger input::placeholder {
    color: var(--text-color-placeholder);
    font-size: var(--font-size-main);
}

.announcement {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--blue-primary);
    color: #fff;
    text-align: center;
    padding:2px;
    font-size: 16px;
    font-weight: medium;
    z-index: 1000;
}

.clients .client-title,
.client-title  {
    font-size: var(--title-h3);
}

.is-one-way {
   flex: 1;
   flex-grow: 1;
   display: flex;
   background-color: red;
   width: 100%;
}

.alert-is-select-hourly {
    display:flex;
    justify-content:center;
    align-items: center;
    background-color: var(--blue-primary);
    padding: 4px 6px;
    border-radius: var(--rounded-border);
    gap: 8px;
    display: none;
    p {
        line-height: 0px;
        margin: 0px;
    }
}

.translate-main-title {
    transform: translateY(-200px)!important;
    @media only screen and (max-width: 768px) {
        transform: translateY(-180px)!important;
    }
}

.met-hero {
    position: relative;
    padding-top: 200px;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-image: url('/img/backgrounds/hero/ciudad-miami-imagen-hero-desktop.jpg');
    @media only screen and (max-width: 768px) {
        background-image: url('/img/backgrounds/hero/miami-elite-hero-movil.jpg');
        padding-top: 150px;
        height: fit-content;
    }

}

.met-hero .main-image {
    object-fit: cover;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    width: 50vw;
    @media only screen and (max-width: 768px) {
        display: none;
    }
}

/* .met-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.7);
  pointer-events: none;
  z-index: 0;
} */

.z-index-negative {
    z-index: -1;
}

/* roun trip functionality */
/* trip type hourly */
.informative {
    font-size: 14px;
    color: var(--blue-primary);
    margin-top: 10px;
    text-align: center;
    padding: 4px 0px;
    background-color: var(--secondary-color);
    border-radius: var(--rounded-border);
    width: 60%;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    a {
        color: var(--border-color);
        font-weight: bold;
        text-decoration: none;
    }
    @media only screen and (max-width: 768px) {
        width: 95%;
    }
}

/* Contenedor del flujo de compra */
.fixed-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.fixed-modal .modal-container {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    text-align: center;
    max-height: 95%;
    overflow-y: auto;
    @media only screen and (max-width: 768px) {
        width: 98%;
        height: 90%;
        overflow-y: auto;
    }
}
.fixed-modal .modal-container .button-next {
    background-color: var(--border-color);
    width: 100%;
    height: 60px;
    border-radius: var(--rounded-border);
}

.fixed-modal .modal-container p {
    color: var(--blue-primary);
    margin:0px;
}
.fixed-modal .modal-container button {
    color: white;
    background-color: var(--border-color);
    color: var(--text-color);
    font-weight: bold;
}

/* Componente de seleccion de auto */
.container-cars {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
    row-gap: 5px;
}

.card-data-item {
    width: 100%;
}
.car-item {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    column-gap: 10px;
    position: relative;
    margin-bottom: 5px;
}
.car-item.disabled {
    opacity: 0.6;
    pointer-events: none;
}
.car-item div .circle-selected {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--border-color);
    right: 10px;
}
.car-item .circle-selected.active {
    background-color: var(--border-color);
    box-shadow: inset 0 0 0 2px var(--secondary-color);

}
.car-item .card-img {
    width: 100px;
}
.car-item .card-img img {
    display: flex;
    border-radius: 8px;
    position: static;
    width: 100px;
}
.car-item .car-title {
    display:flex;
    justify-content:center;
    align-items:start;
    flex-direction: column;
}
.car-item .car-title .additional-info {
    font-size: 14px;
    margin: 0px;
    padding: 0px;
    display:flex;
    align-items:center;
    line-height: 25px;
}
.car-item .car-title .additional-info span {
    font-size: 14px;
    line-height: 0px;
    background-color: red;
    display: inline-block;
    margin-right: 4px;
}
.car-item .car-title .text-informative {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #faf2d7;
    padding: 6px;
    margin: 0px;
    display:flex;
    justify-content:center;
    align-items:center;
    line-height: 16px;
    border-radius: 20px;
    font-size: 13px;
    @media only screen and (max-width: 768px) {
        font-size: 10px;
        padding: 2px;
        top: 2px;
        right: 2px;
    }
}
.car-item .car-title .price .reforce {
    font-size: 13px;
    margin-right: 3px;
    color: var(--blue-secondary);
}
.car-item .car-title h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 0px;
    padding-left: 3px;
    @media only screen and (max-width: 768px) {
        font-size: 18px;
    }
}
.car-item .car-title {
    @media only screen and (max-width: 768px) {
        font-size: 14px;
    }
}
.car-item .car-title svg {
    stroke: var(--border-color);
}

.container-passenger-info label {
    color: var(--blue-secondary);
    height: fit-content;
    width: 100%;
    height: 100%;
    height: fit-content;
    margin-bottom: 10px;
}

.container-passenger-info button {
    width: 100%;
    height: 100%;
    height: 50px;
    border-radius: var(--rounded-border);
    background-color: var(--border-color);
}
.container-passenger-info label input {
    color: var(--blue-primary);
    height: 100%;
    margin: 0px;
    background-color: transparent;
    border: none;
}
.container-passenger-info label.container-text-area {
    color: var(--blue-primary);
    height: fit-content;
    margin: 0px;
    background-color: transparent;
    border: none;
}
.container-passenger-info label textarea {
    color: var(--blue-primary);
    height: 80px;
    margin: 0px;
    background-color: transparent;
    border: none;
}
.container-passenger-info label input::placeholder,
.container-passenger-info label textarea::placeholder {
    color: var(--blue-secondary);
}

/* Steps */
.steps {
    width: 200px;
}
.steps .step {
    width: 20px;
    height: 20px;
    font-size: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    transition: background 0.2s, color 0.2s;
}
.steps .step.active {
    background: #007bff;
    color: #fff;
}
.steps .step.completed {
    background: #d8ffe1;
    color: green;
}

.button-close {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--blue-primary);
    font-size: 16px;
    background-color: white;
    padding: 3px 10px;
    border-radius: var(--rounded-border);
    i {
        pointer-events: none;
        font-weight: 800;
    }
    @media only screen and (max-width: 768px) {
        font-size: 13px;
        top: 4px;
        right: 4px;
    }
}
.button-close:hover {
    color: var(--blue-primary);
}

.costs-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 40px;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.costs-preview span {
    font-size: 14px;
}
.costs-preview span.selected {
    font-size: 24px;
}

.complementary-info {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    column-gap: 20px;
}
.complementary-info p {
    font-size: 14px;
}

.select-car {
    font-size: 12px;
    right: 4px;
}

div .input-child-seats {
    color: var(--blue-primary);
    max-width: 160px;
}
.input-child-seats::placeholder {
    color: var(--blue-secondary)!important;
    opacity: 0.8;
}

.selector_hora {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--blue-secondary);
    border-radius: var(--rounded-border);
}
.selector_hora select {
    background-color: transparent;
    border: none;
    color: white; 
}
.selector_hora select option {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
}


/* order summary */
.order-summary {
   
}
.order-summary .passenger-info {
    background-color: #ffffff;
    border: #9b9b9b 1px solid;
    padding: 10px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.order-summary .passenger-info p {
    line-height: 18px;
    margin-bottom: 10px;
}
.order-summary .passenger-info p span.main {
    font-size: 18px;
}
.order-summary .passenger-info p span.secondary {
    font-size: 14px;
    color: var(--blue-secondary);
}
.order-summary .trip-info {
    background-color: #ffffff;
    border: #9b9b9b 1px solid;
    padding: 10px;
    border-radius: 10px;
    margin: 10px 0px;
    display: grid;
    grid-template-columns: 70% 30%;
}
.order-summary .trip-info .car {
    width: 150px;
    @media only screen and (max-width: 768px) {
        width: 100%;
    }
}
.order-summary .trip-info .details > p {
    font-size: 18px;
    display:flex;
    flex-direction: column;
    @media only screen and (max-width: 768px) {
        font-size: 14px;
    }
}
.order-summary .trip-info .car p {
    font-weight: bold;
    @media only screen and (max-width: 768px) {
        font-size: 16px;
    }
}
.border-radius {
    border-radius: var(--rounded-border);
}
.order-terms {
    display:flex;
    justify-content:center;
    align-items:center;
    gap: 5px;
    margin-bottom: 10px;
    input {
        min-width: 25px;
        min-height: 25px;
        @media only screen and (max-width: 768px) {
            min-width: 24px;
            max-width: 24px;
            min-height: 24px;
            max-height: 24px;
        }
    }
}
.order-terms p {
    font-size: 14px;
    line-height: 16px;
    @media only screen and (max-width: 768px) {
        font-size: 12px;
        line-height: 12px;
    }
}

#payment-button {
    column-gap: 20px;
}
#payment-button img {
    width:100px;
    right: 10px;
}

.payment-methods {
    width: 50%;
    margin: 0px auto;
    margin-top: 10px
}

.met-contenedor-reservacion-success .form-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Solución para Chrome autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: #000000 !important;
    box-shadow: 0 0 0 30px white inset !important;
    color: #000000 !important;
}

/* Si tienes fondo oscuro, ajusta el color del fondo */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f0f0f0 inset !important;
}