.chat-box {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

.chat-body ul li {
    margin-bottom: 5px;
}

#usuariosTabs::-webkit-scrollbar {
    width: 6px;
}

#usuariosTabs::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.nav-link.no-leido {
    background-color: #fff3cd; /* amarillo suave */
    font-weight: bold;
}

.nav-link.leido {
    background-color: #f8f9fa; /* gris claro */
}


.alojamiento-card {
    border: none;
    background: transparent;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* cuadrado perfecto */
    overflow: hidden;
    /*border-radius: 8px;*/
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* mantiene calidad sin deformar */
        transition: transform 0.3s ease;
    }

    .image-wrapper:hover img {
        transform: scale(1.05);
    }

.titulo-pie {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(26, 21, 60, 0.8); /* sombra oscura */
    color: white;
    text-align: center;
    padding: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(117 117 121 / 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.image-wrapper:hover .overlay {
    opacity: 1;
}

.estado-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    z-index: 2;
}

.imagen-con-overlay {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

    .imagen-con-overlay img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 8px;
    }

    .imagen-con-overlay .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(117, 117, 121, 0.6);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        border-radius: 8px;
    }

    .imagen-con-overlay:hover .overlay {
        opacity: 1;
    }

    .imagen-con-overlay .overlay i {
        transform: scale(0.8);
        transition: transform 0.3s ease;
    }

    .imagen-con-overlay:hover .overlay i {
        transform: scale(1);
    }

.btn-ver {
    width:100px;
    background-color: white;
    color: #ad0098;
    font-weight: 600;
    padding: 6px 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .btn-ver:hover {
        transform: scale(1.05);
        background-color: #f8f8f8;
        color: #1a153c;
    }

.btn-editar {
    width: 100px;
    background-color: #ad0098 !important;
    color: white;
    font-weight: 600;
    padding: 6px 16px;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

    .btn-editar:hover {
        transform: scale(1.05);
        background-color: #ad0098;
        color: #1a153c;
    }


.glightbox-clean .gslide-image img {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
}

.titulo-pie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7); /* blanco con transparencia */
    color: #212529;
    text-align: center;
    padding: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.toast-top-center {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1055; /* encima de backdrop */
}

.toast {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    padding: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

/* Cortinilla oscura detrás */
.toast-container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
}



.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background-color: #ad0098 !important; /* rojo Bootstrap */
    border-color: #ad0098 !important;
    color: white !important;
}

.dayContainer {
    padding: 22px !important;
}

.flatpickr-current-month span.cur-month {
    color: #ad0098 !important;
}
.flatpickr-current-month input.cur-year {
    color: #1a153c !important;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

/* Día individual */
.celda-dia {
    background-color: rgb(247 247 247);
    padding: 1rem;
    border-radius: 0.5rem;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    padding-bottom: 2rem;
    overflow: visible; /*  permite que la barra se vea completa */
}

.calendario-wrapper {
    position: relative;
    overflow: visible;
}

.barra-rango {
    position: absolute;
    height: 34px;
    background-color: #1a153c;
    top: 0;
    left: 0;
    width: 0;
    z-index: 1;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.iniciales-circulo {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: white;
    color: rgb(173 0 152);
    font-weight: bold;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    z-index: 2;
}

#slider-reservas {
    transition: transform 0.5s ease-in-out;
}

.btn-navegacion-arriba {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0.4rem 0.8rem;
    font-size: 1.3rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

    .btn-navegacion-arriba:hover {
        background-color: rgba(255, 255, 255, 1);
    }


.fecha-box {
    background-color: #f8f9fa;
    transition: box-shadow 0.2s ease;
}

    .fecha-box:hover {
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
  