main > .container {
    padding: 10px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}


.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 120px;
    height: auto;
    margin-right: 10px;
    padding: 3px;
}

.logo-text {
    font-size: 18px;
    margin-left: 10px;
    font-weight: 900;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #007bff !important;
}

.language-flag{
    width: 50px;
    height: auto;
    

}

.help-block{
    color:#9d0000;
}

.image-container {
  position: relative;
}

.image-text {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px;
  font-weight: 900;
}

.image-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Proporción 16:9, puedes ajustarla según tus necesidades */
  position: relative;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.select2-container--krajee-bs5 .select2-selection--single .select2-selection__clear, .select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__clear {
    
    
    right: 5px;
}

.navbar-toggler {

    margin: 5px;
}
.navbar-nav{
    flex-direction: row!important;
}


 .reservation-card {
        max-width: 500px;
        margin: 20px auto;
        box-shadow: 0 0 15px rgba(0,0,0,0.1);
        border-radius: 10px;
        overflow: hidden;
    }
    .accommodation-image-container {
        position: relative;
        width: 100%;
        height: 200px;
    }
    .accommodation-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .image-gradient {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, 
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0.6) 50%,
            rgba(0,0,0,0.8) 100%);
        display: flex;
        align-items: flex-end;
        padding: 20px;
    }
    .accommodation-name {
        color: white;
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    .info-section {
        background-color: #e7f1ff;
        padding: 20px;
    }
    .contact-info {
        background-color: white;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    .contact-item {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }
    .contact-item:last-child {
        border-bottom: none;
    }
    .dates-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 30px 0;
    }
    .date-box {
        background-color: white;
        padding: 10px;
        border-radius: 5px;
        flex: 1;
        margin: 0 5px;
    }
    .arrow-container {
        display: flex;
        align-items: center;
        padding: 0 10px;
    }
    .time-icon {
        width: 16px;
        height: 16px;
        margin-left: 5px;
        vertical-align: middle;
    }
    .check-in-button-container {
        margin-top: -15px;
        padding: 0 10px 10px;
        background-color: white;
    }
    .check-in-button {
        width: 100%;
        padding: 12px;
        font-weight: bold;
        text-transform: uppercase;
    }
    .icon {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
    .icon-primary {
        fill: #0d6efd;
    }

    .overlay-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 300px;
  }
  
  .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* El background se definirá según el valor de $item['overlay'] */
    background: rgba(0, 0, 0, 0.5); /* Este es un ejemplo, ajusta según necesites */
  }
  
  .overlay-text {
    color: white;
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .stretched-link {
    text-decoration: none;
  }


  .bootstrap-switch .bootstrap-switch-handle-on, .bootstrap-switch .bootstrap-switch-handle-off, .bootstrap-switch .bootstrap-switch-label {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block !important;
    height: 50%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
}


/* Estilos base para el mega menú */
.offcanvas-top {
    height: 60vh !important;
    width: 100% !important;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Estado visible del offcanvas */
.offcanvas.show {
    visibility: visible;
    transform: translateY(0);
}

/* Estilos del header y body del offcanvas */
.offcanvas-header {
    padding: 1rem 2rem;
    background-color: #212529;
}

.offcanvas-body {
    padding: 2rem;
    background-color: #212529;
}

.mega-menu-content {
    height: 100%;
}

/* Estilos de las secciones del menú */
.menu-section {
    height: 100%;
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: background 0.3s ease;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.menu-section:hover {
    background: rgba(255,255,255,0.1);
}

.menu-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background: rgba(255,255,255,0.1);
}

/* Estilos del selector de idioma */
.current-language {
    display: flex;
    align-items: center;
}

.current-language-flag {
    width: 24px;
    height: auto;
    
}

/* Layout del contenedor principal */
.container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Estilos de Select2 en modo oscuro */
.select2-container--default .select2-selection--single {
    background-color: #343a40;
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    height: 38px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white;
    line-height: normal;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 120px;
    }
    
    .menu-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .current-language-flag {
        width: 24px;
    }
}

/* Prevención de FOUC (Flash of Unstyled Content) */
.offcanvas {
    visibility: hidden;
}

.offcanvas.showing,
.offcanvas.hiding {
    visibility: visible;
}



/* Contenedor principal para el input con los botones */
.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 25px; /* Borde redondeado */
    overflow: hidden;
    width: 300px; /* Ajusta el ancho según necesites */
    background-color: #fff;
    /*padding: 5px; /* Espaciado interno */
}

/* Botones de incremento y decremento */
.spinner-decrement,
.spinner-increment {
    background-color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    
    
   
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.spinner-decrement:hover,
.spinner-increment:hover {
    background-color: #e0e0e0;
}

/* Campo de entrada */
.spinner-input {
    border: none;
    text-align: center;
    width: 100%;
    
    outline: none; /* Quita el borde azul al hacer clic */
    
}

/* Quitar bordes adicionales */
.spinner-input:focus {
    outline: none;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 576px) {
    .quantity-input {
        width: 300px; /* Ocupa todo el ancho disponible */
    }

    
}
