.text-yellow-tm{
    color: #ffcc00!important;
}
.bg-yellow-tm{
    background-color: #ffcc03!important;
}
.fill-yellow-tm{
    fill: #ffcc03!important;
}
.btn.btn-primary {
    display: inline-block !important;
    color: #fff !important;
    text-align: center !important;
    vertical-align: middle !important;
    user-select: none !important;
    background-color: #004AAC !important;
    border-color: #004AAC !important;
    border-radius: .25rem !important;
    text-decoration: none !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}
.btn.btn-primary:hover{
    background-color:  #0b5ed7 !important;
}
.text-primary{
    color:#004AAC !important;
}
.book-form-submit{
    font-weight: 700!important;
}
.loading-spinner {
    text-align: center;  /* Centra el spinner */
    margin-top: 10px;  /* Espacio entre el botón y el spinner */
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Steeps */
.steps-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    width: 500px;
  }

  .step {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 10px;
    font-size: 14px;
  }

  .step::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    width: 10px;
    height: 2px;
    background-color: #ddd;
    transform: translateY(-50%);
  }

  .step:last-child::after {
    content: none;
  }

  .step.active {
    font-weight: bold;
    color: #004AAC;
  }

  .step.completed {
    color: #28a745;
  }

  .step-number {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    line-height: 30px;
    font-size: 18px;
    margin-bottom: 8px;
  }

  .step.active .step-number {
    background-color:#004AAC;
  }

  .step.completed .step-number {
    background-color: #28a745;
  }

  .step a{
    text-decoration: none;
  }
/* Guest paid */
#wc-guest-checkout-notice{
    display:none;
}
.wc-block-components-checkout-step__description{
    display:none;
}
/* home styles */
.error-message-home{
    margin-top: 1em;
    margin-bottom: 1em;
}
/* Search car list */
.vehicle-box{
    transition: transform 0.5s ease-in-out;
}
.vehicle-box:hover{
    transform: scale(1.025);
}
.vehicle-box > .row{
    margin-bottom:20px;
    box-shadow: 0 2px 5px #ccc;
}

.vehicle-box .details-vehicle-box{
    padding:15px;
    background-color: #ffffff;
}
.vehicle-box .price-vehicle-box{
    padding:15px;
    background-color: #f0f0f0;
}
.vehicle-name, .vehicle-way{
    font-size:1.5em;
    margin-bottom:0;
    line-height:1.2em;
}
.vehicle-info{
    text-align:right;
    list-style: none;
}
ul.vehicle-info{
    margin: 0 0 1em 1em;
}
.vehicle-info li{
    font-size:1.2em;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px; 
    margin-bottom: 5px;
}
.details-vehicle-box svg{
    fill: #0D6EFD;
}
.details-vehicle-box button svg{
    fill:#0D6EFD;

}
.vehicle-info li > svg{
    fill:#3f4047;
    width: 1.5em;
    height: 1.5em;
}
.vehicle-hr{
    margin:15px 0;
}
.details-vehicle-mid button{
    padding:5px;
    background:none;
}
.details-vehicle-mid button:hover{
    background: none !important;
}
.details-vehicle-mid button:hover, .details-vehicle-mid button:focus{
    background: none!important;
}
.details-vehicle-mid button:active{
    background-color:#f9f9f9!important;
}
.details-vehicle-mid button svg{
    fill:#0D6EFD;
    width: 1.2em;
}
.details-vehicle-bottom .car-info-card{
    background-color: #f9f9f9;
}
.price-vehicle-body .price{
    font-size:2.4em;
    font-weight: 600;
}
.price-vehicle-body .price-currency{
    font-size:1.5em;
}
.car-info-card ul{
    margin: 0 !important;
    margin-left:10px;
    list-style: none;
}
.car-info-card ul li{
    font-size:0.8em;
}
/* Sidebar */
.sidebar-box{
    background-color: #ffffff;
    margin-bottom:20px;
    margin-right: 20px;
    padding:10px;
}
.sidebar-box-head span, .taxi-book-form-head h2, .taxi-book-form-body h2{
    font-size:1.6em;
    margin-bottom:0;
}
.sidebar-box-body span, .sidebar-box-body strong{
    font-size:1.2em;
}
.sidebar-body-row{
    display:flex;
    flex-direction:column;
    justify-content: start;
    flex-wrap: wrap; 
    margin-bottom:5px;
}
.sidebar-hr{
    padding:0 10px;
    margin:10px 0;
}
/* Taxi book form */
.taxi-book-form-head, .taxi-book-form-body{
    background-color:#ffffff;
    padding:10px;
}
.taxi-book-form-body select{
    appearance: auto;
    padding:10px 15px!important;
}
.taxi-book-form-body img{
    width:280px;
    margin:auto;
}
.taxi-book-form-body .luggage-number-input {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}
.taxi-book-form-body .luggage-number-input button {
    width: 30px;
    height: 30px;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    font-size: 18px;
    padding:0;
}
.taxi-book-form-body .luggage-number-input input {
    width: 50px;
    text-align: center;
    padding: 5px!important;
}
.taxi-book-form-body .price-box{
    background-color:#FFF6CE;
    padding:20px 20px 0 20px;
}
.taxi-book-form-body .price-box .price-box-info-text{
    font-size:0.8em;
    margin:10px 0;
}
.taxi-book-form-body .terms-label{
    font-size: 0.9em;
}

.luggage-info:focus{
    background-color: var(--bs-btn-hover-bg)!important;
    border-color: var(--bs-btn-hover-border-color)!important;
    color: var(--bs-link-color);
}
.autocomplete-results {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    top: 100%; /* Se coloca justo debajo del input */
    left: 0;
    width:100%
}

/* Estilos de los elementos */
.autocomplete-item {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

/* Para que el div se posicione bien debajo del input */
.autocomplete-container {
    position: relative;
}
/* checkout */
.checkout.woocommerce-checkout, .woocommerce-order-received .woocommerce-order{
    padding:20px;
}
.wcpay-express-checkout-wrapper{
    display:flex;
    justify-content: center;
}
#wcpay-express-checkout-element{
    max-width:400px;
    width:100%;
}

@media (max-width: 767.98px) { 
    .main-search-form > .row{
        gap:20px;
    }
    .sidebar-box{
        margin-right:0;
    }
    .vehicle-box{
        margin-bottom:30px;
    }
    .vehicle-box .details-vehicle-mid img{
        max-width:240px;
    }
 }
 @media (max-width: 400px) { 
    .main-search-form > .row{
        gap:20px;
    }
    .sidebar-box{
        margin-right:0;
    }
    .vehicle-box{
        margin-bottom:30px;
    }
    .sidebar-body-row{
        flex-direction:column;
        justify-content: start;
    }
    .checkout.woocommerce-checkout, .woocommerce-order-received .woocommerce-order{
        padding:0;
    }
 }