/* ===========================
   RESET & BASE
   =========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: hsl(199 90% 64%);
    --primary-dk: hsl(201 98% 41%);
    --accent: hsl(199 90% 64%);
    --bg: #000000;
    --surface: hsl(206 40% 17%);
    --surface2: hsl(208 39% 23%);
    --text: #ffffff;
    --text-muted: hsl(202 24% 66%);
    --border: hsl(206 40% 27%);
    --radius: 16px;
    --font-heading: 'DM Serif Text', serif;
    --font-body: 'Josefin Sans', sans-serif;
}

html,
body {
    height: 100%;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-mark {
    font-family: var(--font-heading);
}

/* ===========================
   SCREEN SYSTEM
   =========================== */
.screen {
    display: none;
    flex-direction: column;
    min-height: 100dvh;
}

.screen.active {
    display: flex;
}

/* ===========================
   HOME SCREEN
   =========================== */
.home-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 20px 20px;
}

.logo-mark {
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 0 12px rgba(79, 195, 247, 0.6);
}

.home-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===========================
   HERO BANNER / FALDÃ“N
   =========================== */
.hero-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.0) 40%,
            rgba(0, 0, 0, 0.55) 100%);
    display: flex;
    align-items: flex-end;
    padding: 12px 16px;
}

.hero-overlay-center {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}

.hero-overlay-center .logo-mark {
    font-size: 2.8rem;
    margin-bottom: 4px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.hero-tagline {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hub-buttons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0px 16px 14px;
}

.hub-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hub-btn:active {
    transform: scale(0.96);
    background: var(--surface2);
}

.hub-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.2);
}

.hub-btn.accent {
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(79, 195, 247, 0.3);
}

.hub-btn.accent .hub-label,
.hub-btn.accent .hub-sub {
    color: #fff;
}

.hub-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    filter: drop-shadow(0 0 6px rgba(79, 195, 247, 0.3));
}

/* ===========================
   OFFER BUTTON & MODAL
   =========================== */
.offer-btn {
    display: none !important;
    background: linear-gradient(135deg, #ff416c, #ff4b2b) !important;
    border-color: #ff4b2b !important;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4) !important;
    animation: pulseOffer 2s infinite;
}

.offer-btn.show-offer {
    display: flex !important;
}

.offer-btn .hub-label,
.offer-btn .hub-sub {
    color: #fff !important;
}

.offer-btn .hub-icon {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

@keyframes pulseOffer {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 8px 25px rgba(255, 65, 108, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4); }
}

.offer-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.offer-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.offer-content {
    position: relative;
    max-width: 100%;
    max-height: 90vh;
}

#offer-image-full {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: block;
}

.offer-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff4b2b;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hub-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.hub-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.home-footer {
    padding: 16px;
    text-align: center;
}

.home-footer a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===========================
   INNER SCREENS
   =========================== */
.screen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 16px 16px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 10;
}

.screen-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
}

.back-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    font-family: var(--font);
    flex-shrink: 0;
}

.screen-body {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
    padding-bottom: 100px;
}

.manage-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ===========================
   FAQ CARDS
   =========================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
}

.faq-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.faq-card:active {
    background: var(--surface2);
    transform: translateY(2px);
    border-color: var(--primary);
}

.faq-card .faq-emoji {
    font-size: 1.6rem;
    display: block;
}

.faq-card .faq-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}

/* Chat section */
.chat-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.chat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.open-chat-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    width: 100%;
    transition: background 0.15s;
}

.open-chat-btn:active {
    background: var(--primary-dk);
}

/* ===========================
   ROOM TABS
   =========================== */
.room-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.room-tab {
    flex: 1;
    padding: 12px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.15s;
}

.room-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===========================
   AVAILABILITY
   =========================== */
.avail-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.avail-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.avail-info-card .schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.avail-info-card .schedule-row:last-child {
    border-bottom: none;
}

.avail-info-card .schedule-row .label {
    color: var(--text-muted);
}

.avail-info-card .schedule-row .value {
    font-weight: 600;
}

/* ===========================
   GALLERY
   =========================== */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--surface);
}

.gallery-item img,
.gallery-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.gallery-item.video {
    background: #000;
}

.gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* ===========================
   BOOKING SCREEN
   =========================== */
.booking-rooms {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.booking-room-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: background 0.15s, border-color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.booking-room-btn:active {
    background: var(--surface2);
    border-color: var(--primary);
}

.room-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.booking-room-btn div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-room-btn strong {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 700;
}

.booking-room-btn span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.booking-room-btn .arrow {
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.booking-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ===========================
   CTA BUTTON
   =========================== */
.cta-btn {
    display: block;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 18px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.15s;
    text-align: center;
}

.cta-btn:active {
    background: var(--primary-dk);
}

.cta-btn.outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* Floating reserve button */
.floating-reserve {
    position: sticky;
    bottom: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, var(--bg) 40%);
}

/* ===========================
   DESKTOP FALLBACK
   =========================== */
@media (min-width: 480px) {
    .screen {
        max-width: 480px;
        margin: 0 auto;
    }

    body {
        background: #111;
    }

    /* â”€â”€ Botpress chat: horizontal centering â”€â”€ */
    #bp-web-widget-container,
    #botpress-webchat,
    [class*="bpWebchat"],
    [id*="bp-web-widget"] {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: 20px !important;
    }
}

/* ===========================
   GLOBAL FAB CHAT
   =========================== */
.global-fab-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dk));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(79, 195, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.global-fab-chat:active {
    transform: scale(0.9);
}

.global-fab-chat:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(79, 195, 247, 0.4);
}

.global-fab-chat .fab-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (min-width: 480px) {
    .global-fab-chat {
        right: calc(50% - 240px + 24px); 
    }
}

/* ===========================
   CHAT MODAL
   =========================== */
.chat-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.9);
    width: 90%;
    max-width: 420px;
    height: 70vh;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-modal.active {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.chat-header {
    background: var(--primary);
    padding: 16px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.close-chat {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    align-self: flex-start;
    background: var(--surface);
    color: var(--text);
    border-bottom-left-radius: 2px;
}

.message.user {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 2px;
}

.message.typing {
    font-style: italic;
    font-size: 0.8rem;
    opacity: 0.7;
}

.chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    color: var(--text);
    font-family: var(--font);
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--primary);
}

.chat-input-area button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 16px;
    font-weight: 700;
    font-family: var(--font);
}

/* ===========================
   TIME SLOT CARDS
   =========================== */
.time-slots-grid {
    margin: 16px 0;
    display: grid;
    /* On mobile it will be 1 column if too narrow, otherwise 2 */
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 8px;
}

.slots-title {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-slot-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 0;
    /* Permite truncar el texto en vez de desbordar la pantalla */
}

.slot-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.slot-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.slot-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slot-hours {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.calendar-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    padding: 8px 12px;
    background: rgba(79, 195, 247, 0.08);
    border-radius: 8px;
    margin: 8px 0;
    line-height: 1.4;
}

/* ===========================
   CUSTOM AVAILABILITY CALENDAR
   =========================== */
.custom-cal {
    margin: 16px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    overflow: hidden;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.cal-nav-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-month-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.cal-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 6px;
}

.cal-header-row span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-loading {
    grid-column: span 7;
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 0.9rem;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.cal-day:active:not(.empty):not(.past) {
    transform: scale(0.9);
}

.cal-day span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
}

.cal-day.empty {
    cursor: default;
}

.cal-day.past {
    cursor: default;
    opacity: 0.3;
}

.cal-day.today span {
    color: var(--primary);
    font-weight: 800;
}

.cal-day.today {
    border: 2px solid var(--primary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 3px;
}

.cal-day.free .status-dot {
    background: #4caf50;
}

.cal-day.partial .status-dot {
    background: #ffc107;
}

.cal-day.full .status-dot {
    background: #f44336;
}

.cal-day.free {
    background: rgba(76, 175, 80, 0.12);
}

.cal-day.partial {
    background: rgba(255, 193, 7, 0.12);
}

.cal-day.full {
    background: rgba(244, 67, 54, 0.10);
}

/* Day Detail Panel */
.day-detail-panel {
    margin-top: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    animation: fadeIn 0.3s ease;
}

.day-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
}

.day-detail-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
}

.slot-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.selectable-slot {
    cursor: pointer;
}

.selectable-slot:hover {
    background: rgba(76, 175, 80, 0.2);
}

.selected-slot {
    border: 2px solid var(--primary) !important;
    background: rgba(79, 195, 247, 0.2) !important;
    transform: scale(1.02);
}

.slot-row.free {
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.slot-row.reserved {
    background: rgba(244, 67, 54, 0.10);
    border: 1px solid rgba(244, 67, 54, 0.25);
}

.slot-row-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.slot-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slot-row-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.slot-row-hours {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.slot-row-status {
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.slot-row.free .slot-row-status {
    color: #4caf50;
}

.slot-row.reserved .slot-row-status {
    color: #f44336;
}

.day-full-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
    padding: 12px;
}

/* ===========================
   ESTILOS PREMIUM DE FORMULARIOS
   =========================== */
.hub-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    margin-top: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    text-align: left !important;
}

.form-group label {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    margin-bottom: 2px !important;
    display: block !important;
    font-family: var(--font-heading) !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100% !important;
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    color: var(--text) !important;
    font-family: var(--font-body) !important;
    font-size: 1.05rem !important;
    outline: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    display: block !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary) !important;
    background: var(--surface2) !important;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.25) !important;
}

.form-group textarea {
    min-height: 140px !important;
}

.form-check {
    display: flex !important;
    gap: 15px !important;
    align-items: flex-start !important;
    padding: 15px !important;
    background: rgba(255,255,255,0.03) !important;
    border-radius: 12px !important;
    border: 1px dashed var(--border) !important;
}

.form-check input[type='checkbox'] {
    width: 24px !important;
    height: 24px !important;
    margin-top: 2px !important;
    accent-color: var(--primary) !important;
    cursor: pointer !important;
}

.form-check label {
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
    line-height: 1.6 !important;
    cursor: pointer !important;
}

.hub-form .cta-btn {
    padding: 20px !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-top: 15px !important;
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3) !important;
}

/* ===========================
   IMAGE MODAL (ENLARGE)
   =========================== */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-modal img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: block;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
