/* ==========================================================================
   GoldStay · Tema (plataforma hermana de FlyVibe Mex)
   Paleta estricta del proyecto:
     #e6dce6  fondo principal / gris claro
     #fa3c46  acentos / botones primarios
     #f0d28c  elementos secundarios / advertencias
     #643c3c  texto oscuro / fondos oscuros
     #f0e6e6  superficies claras
   Tema claro por defecto; el oscuro se activa con <html data-theme="dark">
   (botón de la cabecera, ver wwwroot/js/hotel-theme.js).
   ========================================================================== */

:root,
[data-theme="light"] {
    --hv-bg: #e6dce6;
    --hv-surface: #f0e6e6;
    --hv-surface-2: #e6dce6;
    --hv-border: rgba(100, 60, 60, .14);
    --hv-text: #643c3c;
    --hv-heading: #643c3c;
    --hv-muted: rgba(100, 60, 60, .72);
    --hv-accent: #fa3c46;
    --hv-accent-ink: #f0e6e6;
    --hv-accent-soft: rgba(250, 60, 70, .12);
    --hv-accent-text: #fa3c46;
    --hv-secondary: #f0d28c;
    --hv-secondary-soft: rgba(240, 210, 140, .45);
    --hv-secondary-ink: #643c3c;
    --hv-header-bg: #f0e6e6;
    --hv-header-text: #643c3c;
    --hv-hover-bg: rgba(100, 60, 60, .07);
    --hv-hero-gradient: linear-gradient(120deg, #643c3c 0%, #643c3c 50%, rgba(250, 60, 70, .55) 100%), #643c3c;
    --hv-footer-bg: #f0e6e6;
    --hv-error: #fa3c46;
    --hv-shadow: 0 10px 28px rgba(100, 60, 60, .12);
    --hv-radius: 1rem;
    --hv-radius-sm: .65rem;
    --hv-font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
    --hv-bg: #643c3c;
    --hv-surface: rgba(240, 230, 230, .07);
    --hv-surface-2: rgba(240, 230, 230, .1);
    --hv-border: rgba(240, 230, 230, .14);
    --hv-text: #f0e6e6;
    --hv-heading: #f0e6e6;
    --hv-muted: rgba(240, 230, 230, .7);
    --hv-accent-soft: rgba(250, 60, 70, .22);
    --hv-accent-text: #f0d28c;
    --hv-secondary-soft: rgba(240, 210, 140, .16);
    --hv-secondary-ink: #f0d28c;
    --hv-header-bg: linear-gradient(120deg, rgba(240, 230, 230, .08), rgba(250, 60, 70, .12)), #643c3c;
    --hv-header-text: #f0e6e6;
    --hv-hover-bg: rgba(240, 230, 230, .08);
    --hv-hero-gradient: linear-gradient(120deg, rgba(240, 230, 230, .04) 0%, rgba(250, 60, 70, .32) 100%), #643c3c;
    --hv-footer-bg: rgba(240, 230, 230, .05);
    --hv-error: #f0d28c;
    --hv-shadow: 0 10px 28px rgba(100, 60, 60, .5);
}

/* Bootstrap 5.3 ajustado a la paleta (en ambos temas) */
:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --bs-body-bg: var(--hv-bg);
    --bs-body-color: var(--hv-text);
    --bs-body-font-family: var(--hv-font);
    --bs-emphasis-color: var(--hv-heading);
    --bs-heading-color: var(--hv-heading);
    --bs-secondary-color: var(--hv-muted);
    --bs-secondary-bg: var(--hv-surface-2);
    --bs-tertiary-bg: var(--hv-surface);
    --bs-border-color: var(--hv-border);
    --bs-border-radius: var(--hv-radius-sm);
    --bs-border-radius-lg: var(--hv-radius);
    --bs-primary: #fa3c46;
    --bs-primary-rgb: 250, 60, 70;
    --bs-link-color: var(--hv-accent-text);
    --bs-link-color-rgb: 250, 60, 70;
    --bs-link-hover-color: var(--hv-accent-text);
    --bs-focus-ring-color: rgba(250, 60, 70, .35);
}

/* ---------- Estructura base: el pie de página siempre abajo ---------- */
html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body.hv-body {
    margin-bottom: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--hv-bg);
    color: var(--hv-text);
    font-family: var(--hv-font);
    -webkit-font-smoothing: antialiased;
    transition: background-color .2s ease, color .2s ease;
}

.hv-main {
    flex: 1 0 auto;
    padding: 2rem 0 3rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--hv-heading);
    font-weight: 700;
    letter-spacing: -.01em;
}

a {
    color: var(--hv-accent-text);
}

/* ---------- Cabecera: barra limpia + navegación discreta ---------- */
.hv-header {
    background: var(--hv-header-bg);
    color: var(--hv-header-text);
    border-bottom: 1px solid var(--hv-border);
}

.hv-navbar {
    padding: .75rem 0;
}

.hv-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--hv-header-text);
    font-weight: 800;
    font-size: 1.1rem;
}

    .hv-brand:hover,
    .hv-brand:focus {
        color: var(--hv-header-text);
    }

.hv-brand-badge {
    display: block;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: .6rem;
    object-fit: contain;
}

.hv-utilities {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hv-selects {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.hv-select {
    width: auto;
    min-width: 0;
    padding-top: .3rem;
    padding-bottom: .3rem;
    font-size: .82rem;
    font-weight: 500;
    border-radius: 999px;
    background-color: transparent;
    border-color: var(--hv-border);
    color: var(--hv-header-text);
    cursor: pointer;
}

    .hv-select:hover {
        background-color: var(--hv-hover-bg);
    }

    .hv-select option {
        background-color: #f0e6e6;
        color: #643c3c;
    }

.hv-auth {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding-left: 1rem;
    border-left: 1px solid var(--hv-border);
}

.hv-btn-cuenta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* Botón circular de tema: muestra la luna en claro y el sol en oscuro */
.hv-theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--hv-border);
    background: transparent;
    color: var(--hv-header-text);
    transition: background-color .15s ease, color .15s ease;
}

    .hv-theme-toggle:hover {
        background-color: var(--hv-hover-bg);
    }

    .hv-theme-toggle:focus-visible {
        outline: none;
        box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color);
    }

.hv-icon-sun { display: none; }
[data-theme="dark"] .hv-icon-sun { display: block; }
[data-theme="dark"] .hv-icon-moon { display: none; }
[data-theme="dark"] .hv-theme-toggle { color: #f0d28c; }

.hv-toggler {
    border-color: var(--hv-border);
    padding: .3rem .55rem;
}

    .hv-toggler:focus {
        box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color);
    }

/* Navegación secundaria en una línea; en móvil se desplaza horizontalmente */
.hv-subnav {
    border-top: 1px solid var(--hv-border);
}

.hv-nav {
    display: flex;
    gap: .25rem;
    margin: 0;
    padding: .4rem 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.hv-nav-link {
    display: inline-block;
    white-space: nowrap;
    color: var(--hv-muted);
    font-size: .88rem;
    font-weight: 500;
    padding: .35rem .8rem;
    border-radius: 999px;
    text-decoration: none;
    transition: color .15s ease, background-color .15s ease;
}

    .hv-nav-link:hover,
    .hv-nav-link:focus-visible {
        color: var(--hv-header-text);
        background-color: var(--hv-hover-bg);
    }

    .hv-nav-link.active {
        color: var(--hv-accent-text);
        background-color: var(--hv-accent-soft);
        font-weight: 600;
    }

@media (max-width: 991.98px) {
    .hv-utilities {
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
        padding: .9rem 0 .25rem;
    }

    .hv-selects {
        flex-wrap: wrap;
    }

    .hv-select {
        flex: 1 1 8rem;
    }

    .hv-auth {
        padding-left: 0;
        border-left: 0;
    }

        .hv-auth .btn {
            flex: 1 1 0;
        }
}

/* Héroe opcional bajo la barra (@section Hero): degradado oscuro como en FlyVibe */
.hv-hero-band {
    background: var(--hv-hero-gradient);
    color: #f0e6e6;
}

.hv-hero {
    padding: 2.5rem 0 3.5rem;
}

    .hv-hero h1,
    .hv-hero h2 {
        color: #f0e6e6;
    }

    .hv-hero h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 800;
    }

    .hv-hero p {
        color: rgba(240, 230, 230, .82);
        max-width: 38rem;
    }

    .hv-hero .hv-eyebrow {
        color: #f0d28c;
    }

    .hv-hero .hv-pill {
        background: rgba(240, 210, 140, .18);
        color: #f0d28c;
    }

/* ---------- Tarjetas redondeadas ---------- */
.card,
.hv-card {
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    color: var(--hv-text);
}

.hv-card {
    padding: 1.5rem;
    transition: transform .15s ease, border-color .15s ease;
}

    .hv-card:hover {
        transform: translateY(-2px);
        border-color: rgba(250, 60, 70, .35);
    }

.hv-icon {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .75rem;
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
    margin-bottom: 1rem;
}

.hv-eyebrow {
    color: var(--hv-accent-text);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.text-muted,
.hv-muted {
    color: var(--hv-muted) !important;
}

/* ---------- Botones y formularios ---------- */
.btn {
    border-radius: .7rem;
    font-weight: 600;
}

.btn-primary {
    --bs-btn-color: #f0e6e6;
    --bs-btn-bg: #fa3c46;
    --bs-btn-border-color: #fa3c46;
    --bs-btn-hover-color: #f0e6e6;
    --bs-btn-hover-bg: #643c3c;
    --bs-btn-hover-border-color: #643c3c;
    --bs-btn-active-color: #f0e6e6;
    --bs-btn-active-bg: #643c3c;
    --bs-btn-active-border-color: #643c3c;
    --bs-btn-disabled-color: #f0e6e6;
    --bs-btn-disabled-bg: #fa3c46;
    --bs-btn-disabled-border-color: #fa3c46;
}

[data-theme="dark"] .btn-primary {
    --bs-btn-hover-color: #643c3c;
    --bs-btn-hover-bg: #f0e6e6;
    --bs-btn-hover-border-color: #f0e6e6;
    --bs-btn-active-color: #643c3c;
    --bs-btn-active-bg: #f0e6e6;
    --bs-btn-active-border-color: #f0e6e6;
}

/* Contorno en color de acento (p. ej. "Iniciar sesión") */
.hv-btn-outline-accent {
    --bs-btn-color: #fa3c46;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: #fa3c46;
    --bs-btn-hover-color: #f0e6e6;
    --bs-btn-hover-bg: #fa3c46;
    --bs-btn-hover-border-color: #fa3c46;
    --bs-btn-active-color: #f0e6e6;
    --bs-btn-active-bg: #fa3c46;
    --bs-btn-active-border-color: #fa3c46;
}

/* Botón secundario en tonos arena (#f0d28c) */
.hv-btn-secondary {
    --bs-btn-color: #643c3c;
    --bs-btn-bg: #f0d28c;
    --bs-btn-border-color: #f0d28c;
    --bs-btn-hover-color: #643c3c;
    --bs-btn-hover-bg: #f0e6e6;
    --bs-btn-hover-border-color: #f0d28c;
}

.btn-outline-light {
    --bs-btn-color: #f0e6e6;
    --bs-btn-border-color: rgba(240, 230, 230, .45);
    --bs-btn-hover-color: #643c3c;
    --bs-btn-hover-bg: #f0e6e6;
    --bs-btn-hover-border-color: #f0e6e6;
}

.form-control,
.form-select {
    background-color: var(--hv-surface);
    border-color: var(--hv-border);
    color: var(--hv-text);
}

    .form-control::placeholder {
        color: var(--hv-muted);
    }

/* Sustituye el anillo de foco azul de site.css por uno del acento */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: #fa3c46;
    box-shadow: 0 0 0 .25rem var(--bs-focus-ring-color);
}

.form-check-input:checked {
    background-color: #fa3c46;
    border-color: #fa3c46;
}

/* ---------- Pie de página ---------- */
.hv-footer {
    flex-shrink: 0;
    background: var(--hv-footer-bg);
    border-top: 1px solid var(--hv-border);
    color: var(--hv-muted);
    font-size: .85rem;
    padding: 1.1rem 0;
}

.hv-pill {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: var(--hv-secondary-soft);
    color: var(--hv-secondary-ink);
    font-size: .72rem;
    font-weight: 600;
}

/* ==========================================================================
   Inicio: buscador del banner y tarjetas de tipos de habitación
   ========================================================================== */
.hv-search {
    background: rgba(240, 230, 230, .08);
    border: 1px solid rgba(240, 230, 230, .18);
    border-radius: var(--hv-radius);
    padding: 1.5rem;
    box-shadow: var(--hv-shadow);
    backdrop-filter: blur(8px);
}

.hv-search-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hv-search .form-label {
    color: rgba(240, 230, 230, .85);
    font-size: .82rem;
    font-weight: 500;
    margin-bottom: .35rem;
}

.hv-search .form-control,
.hv-search .form-select {
    background-color: rgba(240, 230, 230, .1);
    border-color: rgba(240, 230, 230, .2);
    color: #f0e6e6;
    color-scheme: dark;
}

    .hv-search .form-select option {
        background-color: #f0e6e6;
        color: #643c3c;
    }

.hv-field-error {
    display: block;
    color: var(--hv-error);
    font-size: .78rem;
    margin-top: .25rem;
}

.hv-hero .hv-field-error {
    color: #f0d28c;
}

.hv-section {
    scroll-margin-top: 1.5rem;
}

.hv-room-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease;
}

    .hv-room-card:hover {
        transform: translateY(-3px);
        border-color: rgba(250, 60, 70, .35);
    }

/* Imagen superior; sin foto se muestra un degradado con icono */
.hv-room-media {
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    color: rgba(240, 230, 230, .85);
    background: linear-gradient(135deg, #643c3c, #fa3c46);
    overflow: hidden;
}

    .hv-room-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hv-room-media-1 { background: linear-gradient(135deg, #643c3c, #fa3c46); }
.hv-room-media-2 { background: linear-gradient(135deg, #643c3c, #f0d28c); }
.hv-room-media-3 { background: linear-gradient(135deg, #fa3c46, #f0d28c); }
.hv-room-media-0 { background: linear-gradient(135deg, #643c3c, rgba(100, 60, 60, .55)), #f0d28c; }

.hv-room-media-lg {
    border-radius: var(--hv-radius);
    border: 1px solid var(--hv-border);
    aspect-ratio: 16 / 9;
}

.hv-room-body {
    padding: 1.25rem 1.25rem .5rem;
    flex: 1 1 auto;
}

.hv-room-title {
    font-size: 1.15rem;
    margin-bottom: .4rem;
}

.hv-tag {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
    font-size: .7rem;
    font-weight: 600;
}

/* Precio a la izquierda, botón "Ver detalle" alineado a la derecha */
.hv-room-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
}

.hv-price {
    color: var(--hv-heading);
    font-size: 1.25rem;
    font-weight: 800;
}

    .hv-price small {
        color: var(--hv-muted);
        font-size: .72rem;
        font-weight: 500;
    }

/* Flecha de los <select> en los colores de la paleta */
.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23643c3c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

[data-theme="dark"] .form-select,
.hv-hero .form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f0e6e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

/* En oscuro el texto del contorno se aclara para mantener el contraste */
[data-theme="dark"] .hv-btn-outline-accent {
    --bs-btn-color: #f0e6e6;
}

/* ==========================================================================
   Inicio: sugerencias con descuento y favoritas
   ========================================================================== */
.hv-discount {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #fa3c46;
    color: #f0e6e6;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(100, 60, 60, .25);
}

.hv-price-old {
    color: var(--hv-muted);
    font-size: .8rem;
    text-decoration: line-through;
}

.hv-rating {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
}

.hv-stars {
    display: inline-flex;
    gap: .1rem;
}

    .hv-stars svg {
        fill: var(--hv-border);
    }

        .hv-stars svg.is-on {
            fill: var(--hv-accent-text);
        }

.hv-fav-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: .75rem;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    color: var(--hv-text);
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease;
}

    .hv-fav-card:hover,
    .hv-fav-card:focus-visible {
        color: var(--hv-text);
        transform: translateY(-2px);
        border-color: rgba(250, 60, 70, .35);
    }

.hv-fav-media {
    position: relative;
    flex: 0 0 6rem;
    aspect-ratio: 1;
    border-radius: var(--hv-radius-sm);
    overflow: hidden;
}

    .hv-fav-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hv-fav-rank {
    position: absolute;
    left: .35rem;
    bottom: .35rem;
    padding: .1rem .45rem;
    border-radius: 999px;
    background: #f0d28c;
    color: #643c3c;
    font-size: .72rem;
    font-weight: 800;
}

.hv-fav-body {
    min-width: 0;
}

/* ---------- Buscador horizontal del banner ---------- */
.hv-hero-intro p {
    max-width: 36rem;
}

.hv-searchbar {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
    align-items: start;
    padding: 1rem;
    background: #f0e6e6;
    border-radius: var(--hv-radius);
    box-shadow: 0 18px 40px rgba(100, 60, 60, .35);
}

    .hv-searchbar label {
        display: block;
        margin-bottom: .25rem;
        color: rgba(100, 60, 60, .75);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .hv-searchbar .form-control,
    .hv-searchbar .form-select {
        background-color: #e6dce6;
        border-color: transparent;
        color: #643c3c;
        color-scheme: light;
        font-weight: 600;
        --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23643c3c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    }

    .hv-searchbar .hv-field-error {
        color: #fa3c46;
    }

.hv-searchbar-action {
    grid-column: 1 / -1;
}

    .hv-searchbar-action .btn {
        height: calc(1.5em + .75rem + 2px);
    }

.hv-searchbar-date {
    grid-column: span 3;
}

.hv-searchbar-field:not(.hv-searchbar-date) {
    grid-column: span 2;
}

@media (min-width: 992px) {
    .hv-searchbar {
        grid-template-columns: 1.4fr 1.4fr 1fr 1fr 1fr auto;
        padding: .9rem 1rem;
    }

        .hv-searchbar .hv-searchbar-field {
            grid-column: auto;
        }

    .hv-searchbar-action {
        grid-column: auto;
        align-self: start;
        padding-top: 1.32rem;
    }

        .hv-searchbar-action .btn {
            padding-left: 1.75rem;
            padding-right: 1.75rem;
        }
}

/* ---------- Sugerencias: carrusel con scroll horizontal ---------- */
.hv-scroller {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .5rem .25rem 1.25rem;
    margin: 0 -.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 60, 70, .5) transparent;
}

    .hv-scroller:focus-visible {
        outline: 2px solid #fa3c46;
        outline-offset: 2px;
        border-radius: var(--hv-radius);
    }

.hv-suggest-card {
    flex: 0 0 min(82%, 18.5rem);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease;
}

    .hv-suggest-card:hover {
        transform: translateY(-3px);
        border-color: rgba(250, 60, 70, .35);
    }

.hv-suggest-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .hv-suggest-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }

.hv-suggest-card:hover .hv-suggest-media img {
    transform: scale(1.04);
}

.hv-suggest-body {
    flex: 1 1 auto;
    padding: 1rem 1.1rem .5rem;
}

    .hv-suggest-body .hv-room-title a {
        color: inherit;
        text-decoration: none;
    }

        .hv-suggest-body .hv-room-title a:hover {
            color: var(--hv-accent-text);
        }

.hv-suggest-footer {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    margin: 0 1.1rem;
    padding: .75rem 0 1.1rem;
    border-top: 1px dashed var(--hv-border);
}

.hv-suggest-meta {
    color: var(--hv-muted);
    font-size: .78rem;
}

.hv-price-big {
    color: var(--hv-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

    .hv-price-big small {
        color: var(--hv-muted);
        font-size: .75rem;
        font-weight: 600;
    }

/* ---------- Destinos populares (maqueta estática) ---------- */
.hv-segmented {
    gap: .25rem;
    padding: .25rem;
    background: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: 999px;
}

    .hv-segmented .nav-link {
        padding: .35rem 1rem;
        border-radius: 999px;
        color: var(--hv-muted);
        font-size: .85rem;
        font-weight: 600;
    }

        .hv-segmented .nav-link.active {
            background: #fa3c46;
            color: #f0e6e6;
        }

.hv-dest-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(11rem, auto);
    gap: 1rem;
}

@media (min-width: 768px) {
    .hv-dest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hv-dest-feature {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {
    .hv-dest-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 12rem;
    }

    .hv-dest-feature {
        grid-row: span 2;
    }
}

.hv-dest-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    border-radius: var(--hv-radius);
    color: #f0e6e6;
    overflow: hidden;
    isolation: isolate;
    box-shadow: var(--hv-shadow);
    transition: transform .15s ease;
}

    .hv-dest-card:hover {
        transform: translateY(-3px);
    }

    /* Velo inferior para que el texto siempre contraste */
    .hv-dest-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(180deg, rgba(100, 60, 60, 0) 35%, rgba(100, 60, 60, .75) 100%);
    }

    .hv-dest-card h3 {
        margin: .35rem 0 .2rem;
        color: #f0e6e6;
        font-size: 1.2rem;
    }

    .hv-dest-card p {
        margin: 0;
        color: rgba(240, 230, 230, .85);
        font-size: .85rem;
    }

.hv-dest-feature h3 {
    font-size: 1.75rem;
}

.hv-dest-feature p {
    font-size: .95rem;
    max-width: 22rem;
}

.hv-dest-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: -1;
    width: 5.5rem;
    height: 5.5rem;
    fill: none;
    stroke: rgba(240, 230, 230, .35);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hv-dest-feature .hv-dest-icon {
    width: 9rem;
    height: 9rem;
}

.hv-dest-cat {
    align-self: flex-start;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: #f0d28c;
    color: #643c3c;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hv-dest-playa { background: linear-gradient(140deg, #f0d28c 0%, #fa3c46 100%); }
.hv-dest-playa-2 { background: linear-gradient(140deg, #fa3c46 0%, #f0d28c 100%); }
.hv-dest-exploracion { background: linear-gradient(140deg, #643c3c 0%, #fa3c46 100%); }
.hv-dest-cultura { background: linear-gradient(140deg, #643c3c 0%, #f0d28c 140%); }
.hv-dest-montana { background: linear-gradient(160deg, #643c3c 0%, #643c3c 60%, #fa3c46 160%); }

/* ==========================================================================
   Componentes compartidos de las páginas internas
   (catálogo, reservas, servicios, perfil, cuenta y panel)
   ========================================================================== */

/* ---------- Avisos (TempData) ---------- */
.hv-alert {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    border-radius: var(--hv-radius-sm);
    border: 1px solid var(--hv-border);
    font-weight: 500;
}

    .hv-alert:empty,
    .hv-alert.validation-summary-valid {
        display: none;
    }

    .hv-alert ul {
        margin: 0;
        padding-left: 1.1rem;
    }

    .hv-alert.alert-dismissible {
        padding-right: 3rem;
    }

.hv-alert-exito {
    background: var(--hv-accent-soft);
    border-color: rgba(250, 60, 70, .3);
    color: var(--hv-text);
}

    .hv-alert-exito svg {
        color: var(--hv-accent-text);
        flex-shrink: 0;
    }

.hv-alert-aviso {
    background: var(--hv-secondary-soft);
    border-color: #f0d28c;
    color: var(--hv-text);
}

    .hv-alert-aviso svg {
        flex-shrink: 0;
    }

[data-theme="dark"] .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}

/* ---------- Etiquetas de estado (reservas, pagos, habitaciones) ---------- */
.hv-status {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

    .hv-status::before {
        content: "";
        width: .45rem;
        height: .45rem;
        border-radius: 50%;
        background: currentColor;
    }

.hv-status-confirmada,
.hv-status-completado,
.hv-status-disponible {
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
}

.hv-status-en-curso,
.hv-status-pendiente,
.hv-status-ocupada,
.hv-status-mantenimiento {
    background: #f0d28c;
    color: #643c3c;
}

.hv-status-finalizada,
.hv-status-reembolsado {
    background: var(--hv-hover-bg);
    color: var(--hv-muted);
}

.hv-status-cancelada,
.hv-status-rechazado,
.hv-status-fuera-de-servicio {
    background: transparent;
    border-color: var(--hv-border);
    color: var(--hv-muted);
    text-decoration: line-through;
}

.hv-status-fuera-de-servicio {
    text-decoration: none;
}

/* ---------- Utilidades ---------- */
.hv-sticky {
    position: sticky;
    top: 1.5rem;
}

.hv-narrow {
    max-width: 32rem;
}

.hv-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

    .hv-empty .hv-icon {
        margin-left: auto;
        margin-right: auto;
    }

.hv-breadcrumb {
    --bs-breadcrumb-divider-color: var(--hv-muted);
    --bs-breadcrumb-item-active-color: var(--hv-muted);
    font-size: .85rem;
}

    .hv-breadcrumb a {
        text-decoration: none;
    }

.input-group-text {
    background-color: var(--hv-surface-2);
    border-color: var(--hv-border);
    color: var(--hv-muted);
}

.hv-avatar {
    display: inline-grid;
    place-items: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f0d28c;
    color: #643c3c;
    font-weight: 800;
}

.hv-avatar-lg {
    flex-basis: 4.5rem;
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #643c3c, #fa3c46);
    color: #f0e6e6;
}

.hv-score {
    display: inline-grid;
    place-items: center;
    min-width: 2.4rem;
    padding: .2rem .45rem;
    border-radius: .5rem;
    background: #fa3c46;
    color: #f0e6e6;
    font-weight: 800;
}

.hv-step {
    display: inline-grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-right: .35rem;
    border-radius: 50%;
    background: #fa3c46;
    color: #f0e6e6;
    font-size: .8rem;
    vertical-align: .1em;
}

/* Menú de la cuenta en la cabecera */
.hv-dropdown {
    --bs-dropdown-bg: var(--hv-surface);
    --bs-dropdown-color: var(--hv-text);
    --bs-dropdown-border-color: var(--hv-border);
    --bs-dropdown-link-color: var(--hv-text);
    --bs-dropdown-link-hover-color: var(--hv-text);
    --bs-dropdown-link-hover-bg: var(--hv-hover-bg);
    --bs-dropdown-link-active-color: #f0e6e6;
    --bs-dropdown-link-active-bg: #fa3c46;
    --bs-dropdown-divider-bg: var(--hv-border);
    border-radius: var(--hv-radius-sm);
    box-shadow: var(--hv-shadow);
    padding: .4rem;
}

[data-theme="dark"] .hv-dropdown {
    --bs-dropdown-bg: #643c3c;
}

.hv-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    border-radius: .5rem;
    font-size: .88rem;
    padding: .45rem .7rem;
}

/* ---------- Indicadores (Mis reservas, perfil, panel) ---------- */
.hv-stat {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    height: 100%;
    padding: 1.1rem 1.2rem;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
}

    .hv-stat .hv-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .hv-stat > div {
        min-width: 0;
        flex: 1 1 auto;
    }

.hv-stat-value {
    display: block;
    color: var(--hv-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.15;
}

.hv-stat-label {
    display: block;
    color: var(--hv-muted);
    font-size: .8rem;
}

.hv-stat-warning {
    border-color: #f0d28c;
}

    .hv-stat-warning .hv-icon {
        background: #f0d28c;
        color: #643c3c;
    }

.hv-meter {
    height: .4rem;
    margin-top: .5rem;
    border-radius: 999px;
    background: var(--hv-hover-bg);
    overflow: hidden;
}

    .hv-meter span {
        display: block;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #f0d28c, #fa3c46);
    }

/* ---------- Catálogo ---------- */
.hv-filters .form-label {
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.hv-filters:hover {
    transform: none;
}

@media (min-width: 992px) {
    .hv-filters {
        position: sticky;
        top: 1.5rem;
    }
}

.hv-catalog-card {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    overflow: hidden;
    transition: transform .15s ease, border-color .15s ease;
}

    .hv-catalog-card:hover {
        transform: translateY(-2px);
        border-color: rgba(250, 60, 70, .35);
    }

.hv-catalog-media {
    position: relative;
    aspect-ratio: 16 / 9;
}

.hv-catalog-body {
    padding: 1.1rem 1.25rem .5rem;
    min-width: 0;
}

    .hv-catalog-body .hv-room-title a {
        color: inherit;
        text-decoration: none;
    }

        .hv-catalog-body .hv-room-title a:hover {
            color: var(--hv-accent-text);
        }

.hv-catalog-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    padding: .5rem 1.25rem 1.25rem;
}

@media (min-width: 768px) {
    .hv-catalog-card {
        grid-template-columns: 15rem minmax(0, 1fr);
    }

    .hv-catalog-media {
        grid-row: span 2;
        aspect-ratio: auto;
        min-height: 100%;
    }
}

@media (min-width: 1200px) {
    .hv-catalog-card {
        grid-template-columns: 15rem minmax(0, 1fr) 13.5rem;
    }

    .hv-catalog-media {
        grid-row: auto;
    }

    .hv-catalog-aside {
        align-items: flex-end;
        justify-content: space-between;
        padding: 1.1rem 1.25rem;
        border-left: 1px dashed var(--hv-border);
    }
}

.hv-amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0 0 .5rem;
    padding: 0;
    list-style: none;
}

    .hv-amenity-list li {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .25rem .6rem;
        border-radius: 999px;
        background: var(--hv-hover-bg);
        font-size: .76rem;
        font-weight: 500;
    }

        .hv-amenity-list li svg {
            width: 14px;
            height: 14px;
            color: var(--hv-accent-text);
        }

.hv-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: .9rem 1.25rem;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

ul.hv-amenity-grid.hv-card {
    padding: 1.5rem;
}

.hv-amenity-grid li {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: .9rem;
    font-weight: 500;
}

    .hv-amenity-grid li .hv-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

.hv-availability {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
    font-size: .75rem;
    font-weight: 700;
}

    .hv-availability.is-ultima {
        background: #f0d28c;
        color: #643c3c;
    }

    .hv-availability.is-agotado {
        background: var(--hv-hover-bg);
        color: var(--hv-muted);
    }

/* ---------- Detalle de habitación ---------- */
.hv-review-list,
.hv-rate-list,
.hv-payment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-review {
    display: flex;
    gap: .9rem;
    padding: 1rem 0;
    border-top: 1px solid var(--hv-border);
}

    .hv-review:first-child {
        border-top: 0;
        padding-top: 0;
    }

.hv-rate-list li,
.hv-payment-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-top: 1px solid var(--hv-border);
}

    .hv-rate-list li:first-child {
        border-top: 0;
        padding-top: 0;
    }

.hv-payment-list {
    margin-top: 1rem;
}

.hv-quick-book .form-label {
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

.hv-sticky.hv-card:hover,
.hv-summary:hover {
    transform: none;
}

/* ---------- Formulario de reserva ---------- */
.hv-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: .6rem;
}

.hv-choice label {
    display: flex;
    align-items: center;
    gap: .55rem;
    height: 100%;
    padding: .75rem .9rem;
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius-sm);
    background: var(--hv-surface-2);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

    .hv-choice label:hover {
        border-color: rgba(250, 60, 70, .45);
    }

.hv-choice .btn-check:checked + label {
    border-color: #fa3c46;
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
}

.hv-choice .btn-check:focus-visible + label {
    box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color);
}

.hv-summary-list {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem 1rem;
    margin-bottom: 0;
    font-size: .9rem;
}

    .hv-summary-list dt {
        font-weight: 500;
        color: var(--hv-muted);
    }

    .hv-summary-list dd {
        margin: 0;
        text-align: right;
        font-weight: 600;
    }

.hv-saving {
    color: var(--hv-accent-text);
}

.hv-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--hv-border);
    font-weight: 700;
}

/* ---------- Mis reservas ---------- */
.hv-booking-card {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: .85rem;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
}

.hv-booking-media {
    aspect-ratio: 1;
    border-radius: var(--hv-radius-sm);
}

.hv-booking-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font-size: .88rem;
}

    .hv-booking-dates svg {
        width: 15px;
        height: 15px;
        color: var(--hv-accent-text);
    }

.hv-booking-aside {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

@media (min-width: 768px) {
    .hv-booking-card {
        grid-template-columns: 7rem minmax(0, 1fr) auto;
    }

    .hv-booking-aside {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-end;
        padding-right: .4rem;
    }
}

/* ---------- Detalle de reserva ---------- */
.hv-stay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.hv-stay-nights {
    flex: 0 0 auto;
    padding: .25rem .7rem;
    border-radius: 999px;
    background: var(--hv-hover-bg);
    color: var(--hv-muted);
    font-size: .78rem;
    font-weight: 600;
}

.hv-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--hv-text);
    --bs-table-border-color: var(--hv-border);
    --bs-table-hover-bg: var(--hv-hover-bg);
    font-size: .88rem;
}

    .hv-table thead th {
        color: var(--hv-muted);
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .hv-table a {
        font-weight: 600;
        text-decoration: none;
    }

.hv-select-compact {
    width: auto;
    min-width: 9.5rem;
}

/* Calificación con estrellas (radios en orden inverso para iluminar las anteriores) */
.hv-star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: .15rem;
}

    .hv-star-input input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .hv-star-input label {
        cursor: pointer;
        color: var(--hv-border);
        transition: color .1s ease, transform .1s ease;
    }

        .hv-star-input label svg {
            fill: currentColor;
        }

        .hv-star-input label:hover,
        .hv-star-input label:hover ~ label,
        .hv-star-input input:checked ~ label {
            color: #fa3c46;
        }

    .hv-star-input input:focus-visible + label {
        outline: 2px solid #fa3c46;
        outline-offset: 2px;
        border-radius: .3rem;
    }

[data-theme="dark"] .hv-star-input label:hover,
[data-theme="dark"] .hv-star-input label:hover ~ label,
[data-theme="dark"] .hv-star-input input:checked ~ label {
    color: #f0d28c;
}

.hv-modal {
    --bs-modal-bg: var(--hv-surface);
    --bs-modal-color: var(--hv-text);
    --bs-modal-border-color: var(--hv-border);
    --bs-modal-header-border-color: var(--hv-border);
    --bs-modal-footer-border-color: var(--hv-border);
    border-radius: var(--hv-radius);
}

[data-theme="dark"] .hv-modal {
    --bs-modal-bg: #643c3c;
}

/* ---------- Servicios ---------- */
.hv-service-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .hv-service-card .hv-icon {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .hv-service-card.is-selected {
        border-color: #fa3c46;
        box-shadow: 0 0 0 .2rem var(--hv-accent-soft), var(--hv-shadow);
    }

/* ---------- Perfil ---------- */
.hv-profile-head {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

/* ---------- Iniciar sesión / Registro ---------- */
.hv-auth-wrap {
    display: grid;
    place-items: center;
    padding: 1rem 0;
}

.hv-auth-card {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 58rem;
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: calc(var(--hv-radius) * 1.25);
    box-shadow: var(--hv-shadow);
    overflow: hidden;
}

.hv-auth-side {
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    gap: .75rem;
    padding: 2.5rem;
    background: var(--hv-hero-gradient);
    color: #f0e6e6;
}

    .hv-auth-side .hv-brand-badge {
        margin-bottom: auto;
    }

    .hv-auth-side h2 {
        color: #f0e6e6;
        font-size: 1.75rem;
        font-weight: 800;
    }

    .hv-auth-side p {
        color: rgba(240, 230, 230, .82);
        margin: 0;
    }

.hv-auth-perks {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .hv-auth-perks li {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: .3rem 0;
        color: rgba(240, 230, 230, .9);
    }

        .hv-auth-perks li svg {
            color: #f0d28c;
        }

.hv-auth-form {
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .hv-auth-card {
        grid-template-columns: 1fr 1.15fr;
    }

    .hv-auth-side {
        display: flex;
    }

    .hv-auth-form {
        padding: 2.75rem;
    }
}

.hv-demo {
    padding: .6rem .8rem;
    border-radius: var(--hv-radius-sm);
    border: 1px dashed #f0d28c;
    background: var(--hv-secondary-soft);
    color: var(--hv-text);
}

.btn-link {
    color: var(--hv-accent-text);
    font-weight: 600;
    text-decoration: none;
}

/* ---------- Subida de imágenes (Usuarios/Crear) ---------- */
.hv-upload {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: 100%;
    max-width: 14rem;
    overflow: hidden;
    border: 2px dashed var(--hv-border);
    border-radius: var(--hv-radius);
    background: var(--hv-surface-2);
    color: var(--hv-muted);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

    .hv-upload:hover {
        border-color: #fa3c46;
        background: var(--hv-accent-soft);
    }

.hv-upload-hint {
    padding: 1rem;
    font-size: .9rem;
    line-height: 1.4;
}

    .hv-upload-hint svg {
        display: block;
        width: 2rem;
        height: 2rem;
        margin: 0 auto .5rem;
        color: #fa3c46;
    }

.hv-upload-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hv-avatar-foto {
    object-fit: cover;
    border: 2px solid #f0d28c;
}

/* ---------- Galería (Galeria/Index) ---------- */
.hv-gallery-card {
    padding: 0;
    overflow: hidden;
}

.hv-gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--hv-surface-2);
}

.hv-gallery-body {
    padding: 1rem 1.25rem 1.25rem;
}

.hv-gallery-tag {
    display: inline-block;
    margin-top: .35rem;
    padding: .15rem .55rem;
    border-radius: 999px;
    background: #f0d28c;
    color: #643c3c;
    font-size: .75rem;
    font-weight: 700;
}

/* ---------- Acciones de administrador en el catálogo ---------- */
.hv-admin-actions {
    display: flex;
    gap: .5rem;
    width: 100%;
    padding-top: .6rem;
    border-top: 1px dashed var(--hv-border);
}

.hv-btn-danger {
    background-color: transparent;
    border: 1px solid #fa3c46;
    color: #fa3c46;
    font-weight: 600;
}

    .hv-btn-danger:hover,
    .hv-btn-danger:focus {
        background-color: #fa3c46;
        border-color: #fa3c46;
        color: #f0e6e6;
    }

.hv-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: .35rem 1rem;
}

/* ---------- Asistente virtual flotante (Views/Shared/_ChatWidget.cshtml) ---------- */
.hv-chat-fab {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1060;
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 3.6rem;
    border: 0;
    border-radius: 50%;
    background: #fa3c46;
    color: #f0e6e6;
    box-shadow: 0 10px 26px rgba(250, 60, 70, .38);
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}

    .hv-chat-fab:hover {
        transform: translateY(-2px) scale(1.04);
        background: #643c3c;
    }

    .hv-chat-fab:focus-visible {
        outline: 3px solid #f0d28c;
        outline-offset: 3px;
    }

    .hv-chat-fab .hv-chat-fab-cerrar,
    .hv-chat-fab.is-open .hv-chat-fab-abrir { display: none; }
    .hv-chat-fab.is-open .hv-chat-fab-cerrar { display: grid; }
    .hv-chat-fab span { display: grid; place-items: center; }

[data-theme="dark"] .hv-chat-fab:hover {
    background: #f0e6e6;
    color: #643c3c;
}

.hv-chat-panel {
    position: fixed;
    right: 1.5rem;
    bottom: 6rem;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    width: 23rem;
    max-width: calc(100vw - 2rem);
    height: 34rem;
    max-height: calc(100vh - 8rem);
    overflow: hidden;
    background: #f0e6e6;
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: 0 18px 48px rgba(100, 60, 60, .28);
    color: #643c3c;
    animation: hv-chat-entrar .18s ease-out;
}

    .hv-chat-panel[hidden] { display: none; }

@keyframes hv-chat-entrar {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.hv-chat-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem;
    background: linear-gradient(120deg, #643c3c 0%, #643c3c 55%, rgba(250, 60, 70, .7) 100%), #643c3c;
    color: #f0e6e6;
}

.hv-chat-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .7rem;
    background: rgba(240, 230, 230, .14);
    color: #f0d28c;
}

.hv-chat-head-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

    .hv-chat-head-text small { color: rgba(240, 230, 230, .75); font-size: .75rem; }

.hv-chat-close {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: .55rem;
    background: transparent;
    color: #f0e6e6;
}

    .hv-chat-close:hover { background: rgba(240, 230, 230, .14); }

.hv-chat-msgs {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1rem;
    background: #e6dce6;
}

.hv-chat-msg {
    max-width: 85%;
    padding: .6rem .85rem;
    border-radius: 1rem;
    font-size: .9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

    .hv-chat-msg p { margin: 0; }
    .hv-chat-msg p + p,
    .hv-chat-msg p + ul,
    .hv-chat-msg ul + p { margin-top: .4rem; }
    .hv-chat-msg ul { margin: 0; padding-left: 1.1rem; }

.hv-chat-msg-bot {
    align-self: flex-start;
    background: #f0e6e6;
    border: 1px solid rgba(100, 60, 60, .12);
    border-bottom-left-radius: .3rem;
    color: #643c3c;
}

    .hv-chat-msg-bot strong { color: #fa3c46; }

.hv-chat-msg-yo {
    align-self: flex-end;
    background: #fa3c46;
    border-bottom-right-radius: .3rem;
    color: #f0e6e6;
    white-space: pre-wrap;
}

.hv-chat-typing {
    display: flex;
    gap: .3rem;
    padding: .8rem .95rem;
}

    .hv-chat-typing span {
        width: .45rem;
        height: .45rem;
        border-radius: 50%;
        background: rgba(100, 60, 60, .45);
        animation: hv-chat-punto 1s infinite ease-in-out;
    }

        .hv-chat-typing span:nth-child(2) { animation-delay: .15s; }
        .hv-chat-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes hv-chat-punto {
    0%, 80%, 100% { opacity: .3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

.hv-chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .6rem 1rem 0;
    background: #e6dce6;
}

    .hv-chat-chips[hidden] { display: none; }

.hv-chat-chip {
    padding: .3rem .7rem;
    border: 1px solid #f0d28c;
    border-radius: 999px;
    background: rgba(240, 210, 140, .45);
    color: #643c3c;
    font-size: .78rem;
    font-weight: 600;
}

    .hv-chat-chip:hover { background: #f0d28c; }

.hv-chat-form {
    display: flex;
    gap: .5rem;
    padding: .75rem 1rem .4rem;
    background: #e6dce6;
}

    .hv-chat-form .form-control {
        background-color: #f0e6e6;
        border-color: rgba(100, 60, 60, .18);
        color: #643c3c;
        border-radius: .7rem;
        font-size: .9rem;
    }

.hv-chat-send {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.6rem;
    padding: 0;
}

.hv-chat-note {
    margin: 0;
    padding: 0 1rem .6rem;
    background: #e6dce6;
    color: rgba(100, 60, 60, .7);
    font-size: .7rem;
    text-align: center;
}

/* Tema oscuro: mismo panel sobre #643c3c */
[data-theme="dark"] .hv-chat-panel {
    background: #643c3c;
    border-color: rgba(240, 230, 230, .16);
    box-shadow: 0 18px 48px rgba(100, 60, 60, .6);
    color: #f0e6e6;
}

[data-theme="dark"] .hv-chat-head {
    background: linear-gradient(120deg, rgba(240, 230, 230, .06) 0%, rgba(250, 60, 70, .38) 100%), #643c3c;
    border-bottom: 1px solid rgba(240, 230, 230, .12);
}

[data-theme="dark"] .hv-chat-msgs,
[data-theme="dark"] .hv-chat-chips,
[data-theme="dark"] .hv-chat-form,
[data-theme="dark"] .hv-chat-note {
    background: #643c3c;
}

[data-theme="dark"] .hv-chat-msg-bot {
    background: rgba(240, 230, 230, .1);
    border-color: rgba(240, 230, 230, .14);
    color: #f0e6e6;
}

    [data-theme="dark"] .hv-chat-msg-bot strong { color: #f0d28c; }

[data-theme="dark"] .hv-chat-typing span { background: rgba(240, 230, 230, .6); }

[data-theme="dark"] .hv-chat-chip {
    background: rgba(240, 210, 140, .16);
    color: #f0d28c;
}

    [data-theme="dark"] .hv-chat-chip:hover { background: #f0d28c; color: #643c3c; }

[data-theme="dark"] .hv-chat-form .form-control {
    background-color: rgba(240, 230, 230, .1);
    border-color: rgba(240, 230, 230, .2);
    color: #f0e6e6;
}

[data-theme="dark"] .hv-chat-note { color: rgba(240, 230, 230, .65); }

@media (max-width: 575.98px) {
    .hv-chat-fab { right: 1rem; bottom: 1rem; }

    .hv-chat-panel {
        right: 1rem;
        left: 1rem;
        bottom: 5.5rem;
        width: auto;
        max-width: none;
        height: calc(100vh - 7.5rem);
    }
}

/* ---------- Administración: usuarios y compras/reservaciones ---------- */
/* Filtros en una fila arriba de la tabla (no se quedan fijos al hacer scroll) */
@media (min-width: 992px) {
    .hv-filters-inline {
        position: static;
    }
}

/* Usuario desactivado en la tabla de Usuarios */
.hv-row-inactiva > td {
    opacity: .6;
}

/* Tipo de operación: Compra (pagada), Apartado (anticipo) y Reservación (sin pago) */
.hv-op {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: var(--hv-radius-sm);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

.hv-op-compra {
    background: #fa3c46;
    color: #f0e6e6;
}

.hv-op-apartado {
    background: #f0d28c;
    color: #643c3c;
}

.hv-op-reservacion {
    background: transparent;
    border-color: #643c3c;
    color: #643c3c;
}

[data-theme="dark"] .hv-op-reservacion {
    border-color: #f0e6e6;
    color: #f0e6e6;
}

/* ==========================================================================
   Pasarela de pago simulada (Views/Shared/_DatosPago.cshtml, Pagar.cshtml)
   y bitácora de transacciones (Views/Shared/_Transacciones.cshtml)
   ========================================================================== */

.hv-pay {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hv-pay-block[hidden],
.hv-pay [data-pago][hidden] {
    display: none !important;
}

.hv-pay-secure {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .6rem .85rem;
    border-radius: var(--hv-radius-sm);
    background: var(--hv-secondary-soft);
    color: var(--hv-secondary-ink);
    font-size: .85rem;
    font-weight: 600;
}

/* Número de tarjeta con la marca detectada a la derecha */
.hv-card-input {
    position: relative;
}

    .hv-card-input .form-control {
        padding-right: 7rem;
        letter-spacing: .06em;
        font-variant-numeric: tabular-nums;
    }

.hv-card-brand {
    position: absolute;
    top: 50%;
    right: .6rem;
    transform: translateY(-50%);
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}

    .hv-card-brand:empty {
        display: none;
    }

    .hv-card-brand.is-visa {
        background: #643c3c;
        color: #f0e6e6;
    }

    .hv-card-brand.is-mastercard {
        background: #fa3c46;
        color: #f0e6e6;
    }

    .hv-card-brand.is-amex {
        background: #f0d28c;
        color: #643c3c;
    }

/* Tarjetas / CLABE de prueba */
.hv-test-cards {
    border: 1px dashed var(--hv-border);
    border-radius: var(--hv-radius-sm);
    padding: .65rem .85rem;
    background: var(--hv-surface-2);
}

    .hv-test-cards summary {
        cursor: pointer;
        font-weight: 700;
        font-size: .9rem;
        color: var(--hv-accent-text);
    }

    .hv-test-cards ul {
        list-style: none;
        margin: .5rem 0 0;
        padding: 0;
        display: grid;
        gap: .35rem;
    }

.hv-test-card {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
    padding: .45rem .6rem;
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius-sm);
    background: var(--hv-surface);
    color: var(--hv-text);
    text-align: left;
    font-size: .85rem;
}

    .hv-test-card:hover,
    .hv-test-card:focus-visible {
        border-color: var(--hv-accent);
        background: var(--hv-hover-bg);
    }

    .hv-test-card code {
        color: var(--hv-heading);
        font-weight: 700;
        letter-spacing: .04em;
    }

.hv-test-result {
    margin-left: auto;
    padding: .1rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

    .hv-test-result.is-ok {
        background: var(--hv-secondary-soft);
        color: var(--hv-secondary-ink);
    }

    .hv-test-result.is-error {
        background: var(--hv-accent-soft);
        color: var(--hv-accent-text);
    }

/* Bitácora de transacciones */
.hv-txn-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hv-txn {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
    border-top: 1px solid var(--hv-border);
}

    .hv-txn:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .hv-txn.is-rechazada .hv-txn-main strong {
        text-decoration: line-through;
        text-decoration-color: var(--hv-accent);
    }

.hv-txn-ref {
    color: var(--hv-muted);
}

    .hv-txn-ref code {
        color: var(--hv-heading);
        font-size: .8rem;
    }

/* Selectores de la cabecera: ahora es un <form> */
form.hv-selects {
    margin: 0;
}

/* ==========================================================================
   Panel · Tarifas, Bloqueos y Servicios (Views/Tarifas, Views/Bloqueos, Views/ServiciosAdmin)
   ========================================================================== */

/* Vigencia de tarifas */
.hv-status-vig-vigente,
.hv-status-bloqueo-activo {
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
}

.hv-status-vig-proxima {
    background: #f0d28c;
    color: #643c3c;
}

.hv-status-vig-pasada,
.hv-status-bloqueo-finalizado {
    background: var(--hv-hover-bg);
    color: var(--hv-muted);
}

.hv-status-bloqueo-cancelado {
    background: transparent;
    border-color: var(--hv-border);
    color: var(--hv-muted);
    text-decoration: line-through;
}

/* Ajuste de la tarifa: descuento (arena) o temporada alta (acento) */
.hv-ajuste {
    display: inline-flex;
    align-items: center;
    padding: .2rem .6rem;
    border-radius: var(--hv-radius-sm);
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid var(--hv-border);
    color: var(--hv-heading);
}

.hv-ajuste-baja {
    background: #f0d28c;
    border-color: #f0d28c;
    color: #643c3c;
}

.hv-ajuste-alta {
    background: #fa3c46;
    border-color: #fa3c46;
    color: #f0e6e6;
}

/* ==========================================================================
   Destinos (catálogo, detalle, inicio y Panel → Destinos),
   habitaciones bloqueadas en el Resumen y enlace "Viajes" del menú
   ========================================================================== */

/* Filtro "Tipo de destino": Todos / Nacionales / Internacionales */
.hv-alcance {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

    .hv-alcance label {
        padding: .35rem .75rem;
        border: 1px solid var(--hv-border);
        border-radius: 999px;
        background: var(--hv-surface);
        color: var(--hv-text);
        font-size: .82rem;
        font-weight: 600;
        cursor: pointer;
        transition: border-color .15s ease, background-color .15s ease;
    }

        .hv-alcance label:hover {
            border-color: rgba(250, 60, 70, .45);
        }

    .hv-alcance .btn-check:checked + label {
        border-color: #fa3c46;
        background: var(--hv-accent-soft);
        color: var(--hv-accent-text);
    }

    .hv-alcance .btn-check:focus-visible + label {
        box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color);
    }

/* Ubicación de un tipo de habitación: "Cancún, Quintana Roo · NACIONAL" */
.hv-destino {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    color: var(--hv-text);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
}

    .hv-destino svg {
        width: 15px;
        height: 15px;
        color: #fa3c46;
    }

    .hv-destino:hover {
        color: var(--hv-accent-text);
        text-decoration: underline;
    }

.hv-destino-alcance {
    padding: .05rem .5rem;
    border-radius: 999px;
    background: var(--hv-secondary-soft);
    color: var(--hv-secondary-ink);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Tarjetas de "Destinos populares" (ahora son enlaces al catálogo filtrado) */
a.hv-dest-card,
a.hv-dest-card:hover {
    color: #f0e6e6;
    text-decoration: none;
}

a.hv-dest-card:focus-visible {
    outline: 3px solid #f0d28c;
    outline-offset: 2px;
}

.hv-dest-card .hv-dest-region {
    margin-bottom: .35rem;
    color: #f0d28c;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hv-dest-meta {
    margin-top: .6rem;
    color: rgba(240, 230, 230, .92);
    font-size: .78rem;
    font-weight: 600;
}

.hv-dest-ciudad { background: linear-gradient(150deg, #fa3c46 0%, #643c3c 100%); }

/* Resumen del panel: habitación bloqueada hoy */
.hv-status-bloqueada {
    background: #643c3c;
    border-color: #643c3c;
    color: #f0e6e6;
}

.hv-table .hv-row-bloqueada > td {
    --bs-table-bg: var(--hv-secondary-soft);
    background-color: var(--hv-secondary-soft);
}

[data-theme="dark"] .hv-status-bloqueada {
    background: #f0d28c;
    border-color: #f0d28c;
    color: #643c3c;
}

/* Panel → Destinos: alcance */
.hv-status-destino-nacional {
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
}

.hv-status-destino-internacional {
    background: var(--hv-secondary-soft);
    color: var(--hv-secondary-ink);
}

/* "Viajes" abre la agencia FlyVibe Mex en otra pestaña */
.hv-nav-externo {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

    .hv-nav-externo svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: .7;
    }

/* ==========================================================================
   Hoteles: hotel de cada habitación (catálogo tipo comparador, detalle y Panel → Hoteles)
   ========================================================================== */

/* Estrellas de categoría del hotel: ★★★★ */
.hv-hotel-stars {
    color: var(--hv-accent-text);
    font-size: .8rem;
    letter-spacing: .05em;
    white-space: nowrap;
}

/* "GoldStay Reforma ★★★★" sobre el nombre de la habitación */
.hv-hotel-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem;
    margin-bottom: .2rem;
    padding: .15rem .6rem .15rem .45rem;
    border-radius: 999px;
    background: var(--hv-secondary-soft);
    color: var(--hv-secondary-ink);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

    .hv-hotel-badge svg {
        width: 15px;
        height: 15px;
    }

    .hv-hotel-badge:hover {
        color: var(--hv-secondary-ink);
        background: #f0d28c;
        text-decoration: none;
    }

    .hv-hotel-badge:focus-visible {
        outline: 2px solid #fa3c46;
        outline-offset: 2px;
    }

[data-theme="dark"] .hv-hotel-badge:hover {
    color: #643c3c;
}

    [data-theme="dark"] .hv-hotel-badge:hover .hv-hotel-stars {
        color: #643c3c;
    }

/* Vista "Por hotel": cabecera del hotel + sus tipos de habitación */
.hv-hotel-card {
    background-color: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    overflow: hidden;
}

.hv-hotel-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
}

.hv-hotel-media {
    border-radius: var(--hv-radius-sm);
    aspect-ratio: 16 / 9;
}

    .hv-hotel-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hv-hotel-info {
    min-width: 0;
}

    .hv-hotel-info .hv-room-title a {
        color: inherit;
        text-decoration: none;
    }

        .hv-hotel-info .hv-room-title a:hover {
            color: var(--hv-accent-text);
        }

.hv-hotel-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
}

.hv-hotel-rooms {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px dashed var(--hv-border);
}

.hv-hotel-room {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem 1rem;
    padding: .75rem 1rem;
}

    .hv-hotel-room + .hv-hotel-room {
        border-top: 1px solid var(--hv-border);
    }

    .hv-hotel-room:hover {
        background: var(--hv-hover-bg);
    }

.hv-hotel-room-name a {
    color: var(--hv-heading);
    font-weight: 700;
    text-decoration: none;
}

    .hv-hotel-room-name a:hover {
        color: var(--hv-accent-text);
    }

.hv-hotel-room-price {
    white-space: nowrap;
}

    .hv-hotel-room-price .hv-price-old {
        margin-right: .3rem;
    }

@media (min-width: 768px) {
    .hv-hotel-head {
        grid-template-columns: 12rem minmax(0, 1fr) auto;
        align-items: center;
    }

    .hv-hotel-media {
        aspect-ratio: 4 / 3;
    }

    .hv-hotel-price {
        align-items: flex-end;
        text-align: right;
    }

    .hv-hotel-room {
        grid-template-columns: minmax(0, 1fr) auto 9rem auto;
        padding: .7rem 1.25rem;
    }

    .hv-hotel-room-price {
        text-align: right;
    }
}

/* ==========================================================================
   Filtros del catálogo: listas desplegables con los colores de la hotelera
   ========================================================================== */

/* Opciones de los <select> nativos: sin esto, en tema oscuro el texto claro quedaba sobre fondo blanco */
.form-select option,
.form-select optgroup {
    background-color: #f0e6e6;
    color: #643c3c;
}

.form-select optgroup {
    color: #fa3c46;
    font-weight: 700;
}

.form-select option:checked {
    background-color: #f0d28c;
    color: #643c3c;
}

[data-theme="dark"] .form-select {
    color-scheme: dark;
}

    [data-theme="dark"] .form-select option {
        background-color: #643c3c;
        color: #f0e6e6;
    }

    [data-theme="dark"] .form-select optgroup {
        background-color: #643c3c;
        color: #f0d28c;
    }

    [data-theme="dark"] .form-select option:checked {
        background-color: #fa3c46;
        color: #f0e6e6;
    }

/* Desplegable con casillas (Views/Shared/_FiltroMultiple.cshtml) */
.hv-multi-toggle {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    text-align: left;
}

    .hv-multi-toggle.is-activo {
        border-color: #fa3c46;
    }

.hv-multi-resumen {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hv-multi-cuenta {
    display: inline-grid;
    place-items: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: #fa3c46;
    color: #f0e6e6;
    font-size: .72rem;
    font-weight: 800;
}

    .hv-multi-cuenta[hidden] {
        display: none;
    }

.hv-multi-menu {
    width: 100%;
    min-width: 15rem;
    max-height: 22rem;
    overflow-y: auto;
    padding: .4rem 0 0;
    background-color: #f0e6e6;
    border: 1px solid rgba(100, 60, 60, .18);
    border-radius: var(--hv-radius-sm);
    box-shadow: var(--hv-shadow);
    color: #643c3c;
}

[data-theme="dark"] .hv-multi-menu {
    background-color: #643c3c;
    border-color: rgba(240, 230, 230, .2);
    color: #f0e6e6;
}

.hv-multi-grupo[hidden],
.hv-multi-opcion[hidden],
.hv-multi-sin-opciones[hidden] {
    display: none !important;
}

.hv-multi-grupo-titulo {
    margin: .35rem 0 .15rem;
    padding: 0 .9rem;
    color: #fa3c46;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

[data-theme="dark"] .hv-multi-grupo-titulo {
    color: #f0d28c;
}

.hv-multi-opcion {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0;
    padding: .4rem .9rem;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}

    .hv-multi-opcion:hover {
        background-color: rgba(250, 60, 70, .1);
    }

    .hv-multi-opcion .form-check-input {
        flex: 0 0 auto;
        margin: 0;
        background-color: #f0e6e6;
        border-color: rgba(100, 60, 60, .45);
    }

        .hv-multi-opcion .form-check-input:checked {
            background-color: #fa3c46;
            border-color: #fa3c46;
        }

    .hv-multi-opcion:has(.form-check-input:checked) {
        background-color: rgba(240, 210, 140, .45);
    }

[data-theme="dark"] .hv-multi-opcion:has(.form-check-input:checked) {
    background-color: rgba(240, 210, 140, .16);
}

.hv-multi-texto {
    flex: 1 1 auto;
    min-width: 0;
}

.hv-multi-detalle {
    color: rgba(100, 60, 60, .72);
    font-size: .76rem;
    font-weight: 500;
    white-space: nowrap;
}

[data-theme="dark"] .hv-multi-detalle {
    color: rgba(240, 230, 230, .7);
}

.hv-multi-sin-opciones {
    margin: 0;
    padding: .6rem .9rem;
    font-size: .82rem;
    opacity: .8;
}

.hv-multi-pie {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .35rem;
    padding: .45rem .6rem;
    background-color: inherit;
    border-top: 1px solid rgba(100, 60, 60, .14);
}

[data-theme="dark"] .hv-multi-pie {
    border-top-color: rgba(240, 230, 230, .14);
}

    .hv-multi-pie .btn-link {
        color: #fa3c46;
        font-weight: 700;
        text-decoration: none;
    }

[data-theme="dark"] .hv-multi-pie .btn-link {
    color: #f0d28c;
}

/* ======================================================================
   Panel → Bitácora y Estadísticas (Views/Bitacora, Views/Estadisticas)
   Sólo colores de la paleta: #e6dce6, #fa3c46, #f0d28c, #643c3c, #f0e6e6
   ====================================================================== */
:root,
[data-theme="light"] {
    --hv-chart-serie-1: #fa3c46;
    --hv-chart-serie-2: #643c3c;
    --hv-chart-grid: rgba(100, 60, 60, .12);
    --hv-chart-tip-bg: #643c3c;
    --hv-chart-tip-text: #f0e6e6;
}

[data-theme="dark"] {
    --hv-chart-serie-1: #fa3c46;
    --hv-chart-serie-2: #f0d28c;
    --hv-chart-grid: rgba(240, 230, 230, .12);
    --hv-chart-tip-bg: #f0e6e6;
    --hv-chart-tip-text: #643c3c;
}

/* Estado "Conectado ahora" */
.hv-status-conectado {
    background: var(--hv-accent-soft);
    color: var(--hv-accent-text);
}

.hv-row-conectado td:first-child {
    box-shadow: inset 3px 0 0 #fa3c46;
}

.hv-bitacora-usuario {
    color: inherit;
    text-decoration: none;
}

    .hv-bitacora-usuario:hover strong,
    .hv-bitacora-usuario:focus-visible strong {
        color: var(--hv-accent-text);
        text-decoration: underline;
    }

.hv-conectados {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-conectado-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem .9rem .45rem .7rem;
    border: 1px solid var(--hv-border);
    border-radius: 999px;
    color: var(--hv-text);
    text-decoration: none;
    font-size: .85rem;
    line-height: 1.2;
}

    .hv-conectado-chip:hover,
    .hv-conectado-chip:focus-visible {
        background: var(--hv-hover-bg);
        color: var(--hv-text);
    }

.hv-conectado-punto {
    flex-shrink: 0;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: #fa3c46;
    box-shadow: 0 0 0 3px rgba(250, 60, 70, .22);
}

.hv-bitacora-ficha {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .55rem 1rem;
    font-size: .88rem;
}

    .hv-bitacora-ficha dt {
        color: var(--hv-muted);
        font-weight: 600;
    }

    .hv-bitacora-ficha dd {
        margin: 0;
    }

.min-w-0 {
    min-width: 0;
}

.hv-stat-value-sm {
    font-size: 1.15rem;
    line-height: 1.35;
}

.hv-stats-indice {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    font-size: .88rem;
    font-weight: 600;
}

    .hv-stats-indice a {
        color: var(--hv-accent-text);
        text-decoration: none;
    }

        .hv-stats-indice a:hover {
            text-decoration: underline;
        }

/* ---------- Gráfica de columnas (_GraficaColumnas) ---------- */
.hv-chart {
    margin: 0;
    --hv-chart-gutter: 3.25rem;
}

.hv-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1.25rem;
    margin: 0 0 .75rem;
    padding: 0;
    list-style: none;
    font-size: .82rem;
}

    .hv-chart-legend li {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
    }

.hv-chart-swatch {
    display: inline-block;
    width: .7rem;
    height: .7rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.hv-chart-serie-1 { background: var(--hv-chart-serie-1); }
.hv-chart-serie-2 { background: var(--hv-chart-serie-2); }

.hv-chart-plot {
    position: relative;
    height: var(--hv-chart-alto, 12rem);
    margin-left: var(--hv-chart-gutter);
}

.hv-chart-grid {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    border-top: 1px solid var(--hv-chart-grid);
}

    .hv-chart-grid:first-child {
        border-top-color: var(--hv-border);
    }

    .hv-chart-grid span {
        position: absolute;
        right: calc(100% + .5rem);
        transform: translateY(-50%);
        color: var(--hv-muted);
        font-size: .68rem;
        white-space: nowrap;
    }

.hv-chart-cols {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.hv-chart-col {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 4px 4px 0 0;
    outline: none;
}

    .hv-chart-col:hover,
    .hv-chart-col:focus-visible {
        background: var(--hv-hover-bg);
    }

    .hv-chart-col:focus-visible {
        box-shadow: 0 0 0 2px #fa3c46;
    }

.hv-chart-stack {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    width: 72%;
    max-width: 2.5rem;
    min-height: 2px;
    margin: 0 auto;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.hv-chart-seg {
    flex: 0 1 0;
    min-height: 1px;
}

.hv-chart-tip {
    position: absolute;
    bottom: calc(100% + .35rem);
    left: 50%;
    z-index: 5;
    display: none;
    flex-direction: column;
    gap: .1rem;
    min-width: 9rem;
    padding: .45rem .65rem;
    border-radius: var(--hv-radius-sm);
    background: var(--hv-chart-tip-bg);
    color: var(--hv-chart-tip-text);
    box-shadow: var(--hv-shadow);
    font-size: .75rem;
    line-height: 1.35;
    white-space: nowrap;
    transform: translateX(-50%);
    pointer-events: none;
}

    .hv-chart-tip strong {
        font-weight: 700;
        text-transform: capitalize;
    }

    .hv-chart-tip span {
        display: flex;
        align-items: center;
        gap: .35rem;
    }

    .hv-chart-tip .hv-chart-swatch {
        width: .55rem;
        height: .55rem;
        box-shadow: 0 0 0 1px var(--hv-chart-tip-text);
    }

.hv-chart-col:hover .hv-chart-tip,
.hv-chart-col:focus-visible .hv-chart-tip {
    display: flex;
}

.hv-chart-tip-izq .hv-chart-tip {
    left: 0;
    transform: none;
}

.hv-chart-tip-der .hv-chart-tip {
    left: auto;
    right: 0;
    transform: none;
}

.hv-chart-xlabels {
    display: flex;
    gap: 2px;
    margin: .4rem 0 0 var(--hv-chart-gutter);
}

    .hv-chart-xlabels span {
        flex: 1 1 0;
        min-width: 0;
        overflow: visible;
        color: var(--hv-muted);
        font-size: .68rem;
        text-align: center;
        white-space: nowrap;
    }

.hv-chart-datos {
    margin-top: .75rem;
    font-size: .82rem;
}

    .hv-chart-datos summary {
        color: var(--hv-muted);
        cursor: pointer;
        font-weight: 600;
    }

    .hv-chart-datos[open] summary {
        margin-bottom: .5rem;
    }

    .hv-chart-datos .table-responsive {
        max-height: 16rem;
        overflow-y: auto;
    }

/* ---------- Barras horizontales (_GraficaBarras) ---------- */
.hv-hbar-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hv-hbar {
    outline: none;
    border-radius: var(--hv-radius-sm);
}

    .hv-hbar:focus-visible {
        box-shadow: 0 0 0 2px #fa3c46;
    }

.hv-hbar-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .3rem;
    font-size: .88rem;
}

.hv-hbar-label {
    min-width: 0;
    font-weight: 600;
}

.hv-hbar-value {
    flex-shrink: 0;
    font-weight: 700;
}

.hv-hbar-track {
    height: .55rem;
    border-radius: 999px;
    background: var(--hv-hover-bg);
    overflow: hidden;
}

    .hv-hbar-track span {
        display: block;
        height: 100%;
        min-width: 4px;
        border-radius: 999px;
        background: var(--hv-chart-serie-1);
    }

.hv-hbar:hover .hv-hbar-track span {
    background: var(--hv-chart-serie-2);
}

/* ---------- Mapa de calor día × hora ---------- */
.hv-heat {
    width: 100%;
    min-width: 36rem;
    border-collapse: separate;
    border-spacing: 2px;
    table-layout: fixed;
    font-size: .68rem;
}

    .hv-heat th,
    .hv-heat td {
        position: relative;
    }

    .hv-heat th {
        color: var(--hv-muted);
        font-weight: 600;
        text-align: center;
    }

    .hv-heat thead th:first-child,
    .hv-heat tbody th {
        width: 2.6rem;
        text-align: left;
    }

    .hv-heat td {
        height: 1.4rem;
        border-radius: 4px;
    }

        .hv-heat td:hover {
            box-shadow: 0 0 0 2px var(--hv-chart-serie-2);
        }

.hv-heat-0 {
    background: var(--hv-hover-bg);
}

.hv-heat-leyenda {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.hv-heat-escala {
    display: inline-block;
    width: 5rem;
    height: .55rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(250, 60, 70, .15), #fa3c46);
}

.hv-ocupacion-celda {
    min-width: 8rem;
}

/* ==========================================================================
   Ticket digital (Views/Reservas/Ticket.cshtml) y "Mis tickets" en Mi perfil
   ========================================================================== */
.hv-ticket-envio {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 1.1rem;
    border-radius: var(--hv-radius-sm);
    background: var(--hv-secondary-soft);
    border: 1px solid var(--hv-border);
    color: var(--hv-text);
}

    .hv-ticket-envio > svg {
        flex: none;
        margin-top: .15rem;
        color: var(--hv-accent-text);
    }

.hv-ticket {
    background: var(--hv-surface);
    border: 1px solid var(--hv-border);
    border-top: 6px solid var(--hv-accent);
    border-radius: var(--hv-radius);
    box-shadow: var(--hv-shadow);
    color: var(--hv-text);
    padding: 1.75rem;
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.hv-ticket-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px dashed var(--hv-border);
}

.hv-ticket-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .hv-ticket-brand img {
        border-radius: .75rem;
    }

.hv-ticket-brand-name {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hv-heading);
}

.hv-ticket-brand-sub {
    display: block;
    font-size: .85rem;
    color: var(--hv-muted);
}

.hv-ticket-folio {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 1rem;
    row-gap: .15rem;
    margin: 0;
    font-size: .875rem;
    text-align: right;
}

    .hv-ticket-folio dt {
        font-weight: 500;
        color: var(--hv-muted);
    }

    .hv-ticket-folio dd {
        margin: 0;
        font-weight: 700;
        color: var(--hv-heading);
    }

.hv-ticket-aviso {
    margin: 0;
    padding: .75rem 1rem;
    border-radius: var(--hv-radius-sm);
    background: #f0d28c;
    color: #643c3c;
    font-weight: 600;
}

.hv-ticket-partes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    font-size: .925rem;
}

.hv-ticket-titulo {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hv-accent-text);
    margin-bottom: .6rem;
}

.hv-ticket-estancia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .75rem;
    margin: 0;
}

    .hv-ticket-estancia > div {
        padding: .7rem .85rem;
        border-radius: var(--hv-radius-sm);
        background: var(--hv-surface-2);
    }

    .hv-ticket-estancia dt {
        font-size: .78rem;
        font-weight: 500;
        color: var(--hv-muted);
    }

    .hv-ticket-estancia dd {
        margin: .15rem 0 0;
        font-weight: 700;
    }

.hv-ticket-tabla {
    font-size: .9rem;
}

.hv-ticket-totales {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 1.5rem;
    row-gap: .3rem;
    max-width: 460px;
    margin: 1rem 0 .5rem auto;
    font-size: .925rem;
}

    .hv-ticket-totales dt {
        font-weight: 500;
        text-align: right;
        color: var(--hv-muted);
    }

    .hv-ticket-totales dd {
        margin: 0;
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    .hv-ticket-totales .hv-ticket-total {
        padding-top: .5rem;
        border-top: 2px solid var(--hv-text);
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--hv-heading);
    }

    .hv-ticket-totales dd.hv-ticket-total {
        color: var(--hv-accent-text);
    }

.hv-ticket-refs {
    list-style: none;
    padding: 0;
    margin: .75rem 0 0;
    font-size: .8rem;
    color: var(--hv-muted);
}

    .hv-ticket-refs li + li {
        margin-top: .25rem;
    }

    .hv-ticket-refs code {
        color: var(--hv-text);
    }

.hv-ticket-pie {
    padding-top: 1rem;
    border-top: 1px dashed var(--hv-border);
    font-size: .8rem;
    color: var(--hv-muted);
    text-align: center;
}

.hv-ticket-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .hv-ticket-lista li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .7rem 0;
        border-top: 1px solid var(--hv-border);
    }

        .hv-ticket-lista li:first-child {
            border-top: 0;
            padding-top: 0;
        }

details > summary {
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .hv-ticket {
        padding: 1.1rem;
    }

    .hv-ticket-folio {
        text-align: left;
    }
}

/* Impresión / Guardar como PDF: sólo el ticket, en tinta oscura y sin sombras */
@media print {
    @page {
        margin: 12mm;
    }

    .hv-header,
    .hv-footer,
    .hv-no-print,
    .hv-chat-fab,
    .hv-chat-panel,
    .hv-alert,
    .hv-hero {
        display: none !important;
    }

    html,
    body,
    .hv-body,
    .hv-main {
        background: none !important;
        color: #643c3c !important;
    }

    .hv-main {
        padding: 0 !important;
    }

    .hv-ticket {
        max-width: none;
        box-shadow: none;
        border: 1px solid #643c3c;
        border-top: 6px solid #fa3c46;
        background: none;
        color: #643c3c;
        padding: 0 0 1rem;
        border-width: 0 0 0 0;
        border-top-width: 6px;
        gap: 1rem;
    }

        .hv-ticket * {
            color: #643c3c !important;
            box-shadow: none !important;
        }

        .hv-ticket .hv-ticket-titulo,
        .hv-ticket dd.hv-ticket-total {
            color: #fa3c46 !important;
        }

    .hv-ticket-estancia > div {
        background: none;
        border: 1px solid #e6dce6;
    }

    .hv-ticket section,
    .hv-ticket tr {
        break-inside: avoid;
    }

    .hv-ticket .table-responsive {
        overflow: visible;
    }
}
