:root {
    color-scheme: light;
    --ink: #17211f;
    --muted: #596662;
    --line: #d9dfdc;
    --panel: #ffffff;
    --soft: #f4f7f3;
    --accent: #2f6b57;
    --accent-strong: #204d3e;
    --warm: #c58f4a;
    --guest: #dff4eb;
}

html,
body {
    min-height: 100%;
    margin: 0;
    color: var(--ink);
    background: #eef2ef;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.hotel-page {
    min-height: 100dvh;
    background:
        linear-gradient(90deg, rgba(14, 28, 24, 0.84), rgba(14, 28, 24, 0.44) 46%, rgba(238, 242, 239, 0.94) 73%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Crect width='1200' height='800' fill='%23d9dfdc'/%3E%3Cpath d='M0 530h1200v270H0z' fill='%23b7c1bd'/%3E%3Cpath d='M0 0h1200v220H0z' fill='%237b8b84'/%3E%3Cpath d='M120 210h960v390H120z' fill='%23eee7dc'/%3E%3Cpath d='M170 260h230v250H170zm315 0h230v250H485zm315 0h230v250H800z' fill='%23f8faf8'/%3E%3Cpath d='M0 610c180-70 340-92 520-68 260 35 410 2 680-118v376H0z' fill='%238c9b94' opacity='.72'/%3E%3Cpath d='M110 650h980v44H110z' fill='%23566c62' opacity='.45'/%3E%3Ccircle cx='980' cy='155' r='74' fill='%23d9a24f' opacity='.8'/%3E%3C/svg%3E");
    background-position: center;
    background-size: cover;
}

.hotel-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 28rem);
    align-items: center;
    gap: clamp(1.2rem, 4vw, 4rem);
    min-height: min(760px, 100dvh);
    padding: clamp(1rem, 4vw, 4rem);
}

.hotel-hero-content {
    max-width: 45rem;
    color: #fff;
}

.eyebrow {
    margin: 0;
    color: #e7c58b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hotel-hero h1 {
    max-width: 12ch;
    margin: 0.65rem 0 1rem;
    font-size: clamp(2.4rem, 8vw, 5.9rem);
    line-height: 0.96;
    letter-spacing: 0;
}

.hotel-lead {
    max-width: 36rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.5;
}

.hotel-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.4rem;
}

.hotel-facts span {
    padding: 0.48rem 0.7rem;
    color: #10251f;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.hotel-chat {
    display: grid;
    grid-template-rows: auto minmax(19rem, 1fr) auto auto;
    min-height: min(38rem, calc(100dvh - 2rem));
    overflow: hidden;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 0.5rem;
    box-shadow: 0 1.4rem 3.5rem rgba(10, 24, 19, 0.28);
    backdrop-filter: blur(16px);
}

.hotel-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
}

.hotel-chat-header h2 {
    margin: 0.18rem 0 0;
    font-size: 1.05rem;
    line-height: 1.15;
}

.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 800;
}

.status-dot::before {
    content: "";
    width: 0.58rem;
    height: 0.58rem;
    background: #31b977;
    border-radius: 999px;
    box-shadow: 0 0 0 0.22rem rgba(49, 185, 119, 0.15);
}

.hotel-chat-messages {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    overflow-y: auto;
    background: var(--soft);
}

.hotel-chat-message {
    max-width: 88%;
    padding: 0.7rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.94rem;
    line-height: 1.42;
    white-space: pre-wrap;
}

.hotel-chat-message.assistant {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--line);
}

.hotel-chat-message.user {
    align-self: flex-end;
    color: #10251f;
    background: var(--guest);
    border: 1px solid #b6dfcf;
}

.hotel-chat-message.thinking {
    color: var(--muted);
    font-style: italic;
}

.hotel-chat-suggestions {
    display: flex;
    gap: 0.45rem;
    padding: 0.75rem;
    overflow-x: auto;
    border-top: 1px solid var(--line);
}

.hotel-chat-suggestions button {
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0 0.65rem;
    color: var(--accent-strong);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.hotel-chat-suggestions button:hover,
.hotel-chat-suggestions button:focus {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

.hotel-chat-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    padding: 0.8rem;
    background: #fff;
    border-top: 1px solid var(--line);
}

.hotel-chat-input textarea {
    width: 100%;
    min-height: 2.65rem;
    max-height: 7rem;
    resize: vertical;
    padding: 0.62rem 0.72rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    line-height: 1.35;
}

.hotel-chat-input button {
    min-width: 5.5rem;
    min-height: 2.65rem;
    padding: 0 0.9rem;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 0.45rem;
    font-weight: 800;
}

.hotel-chat-input button:hover,
.hotel-chat-input button:focus {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.hotel-chat-input button:disabled {
    color: #8b9692;
    background: #edf1ef;
    border-color: var(--line);
}

.hotel-info-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: #d6ddd9;
}

.hotel-info-band article {
    min-height: 9rem;
    padding: clamp(1rem, 3vw, 2rem);
    background: #fff;
}

.hotel-info-band span {
    color: var(--warm);
    font-size: 0.82rem;
    font-weight: 900;
}

.hotel-info-band h2 {
    margin: 0.55rem 0 0.45rem;
    font-size: 1.08rem;
}

.hotel-info-band p {
    max-width: 24rem;
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

#blazor-error-ui {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: none;
    padding: 0.8rem 1rem;
    color: #fff;
    background: #8a1f1f;
    border-radius: 0.45rem;
    box-shadow: 0 0.8rem 1.8rem rgba(10, 24, 19, 0.24);
}

#blazor-error-ui .reload {
    color: #fff;
    font-weight: 800;
}

#blazor-error-ui .dismiss {
    margin-left: 0.75rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .hotel-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hotel-hero h1 {
        max-width: 14ch;
    }

    .hotel-chat {
        min-height: 34rem;
    }

    .hotel-info-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .hotel-hero {
        padding: 0.85rem;
    }

    .hotel-hero h1 {
        font-size: 2.45rem;
    }

    .hotel-chat {
        min-height: calc(100dvh - 1.7rem);
    }

    .hotel-chat-input {
        grid-template-columns: 1fr;
    }

    .hotel-chat-input button {
        width: 100%;
    }
}
