:root {
    --bg: #f5f7fb;
    --bg-soft: #eef3f9;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-soft: rgba(255, 255, 255, 0.6);
    --line: rgba(204, 216, 232, 0.52);
    --line-strong: rgba(184, 199, 220, 0.68);
    --text: #1f2937;
    --muted: #6f7c8d;
    --accent: #2e6da4;
    --accent-soft: rgba(224, 237, 248, 0.88);
    --success-bg: rgba(234, 248, 238, 0.9);
    --success-text: #2f7a52;
    --danger-bg: rgba(255, 241, 239, 0.92);
    --danger-text: #b1534d;
    --shadow: 0 18px 40px rgba(35, 56, 88, 0.08);
    --blur: blur(14px);
    --topbar-height: 64px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(222, 233, 248, 0.62), transparent 24%),
        radial-gradient(circle at top right, rgba(236, 242, 252, 0.58), transparent 22%),
        linear-gradient(180deg, #fbfcfe 0%, #eff3f9 100%);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Legacy layout compatibility (header + sidebar) */
.shell {
    min-height: 100vh;
}

.brand-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sidebar {
    position: sticky;
    top: 0;
    align-self: flex-start;
    width: 260px;
    min-height: 100vh;
    padding: 16px;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.sidebar a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--muted);
    transition: all 0.15s ease;
}

.sidebar a:hover,
.sidebar a.active {
    background: var(--accent-soft);
    color: var(--accent);
}

.page-bg {
    display: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.admin-body {
    background: var(--bg);
}

.public-body {
    background:
        radial-gradient(circle at top right, rgba(220, 233, 248, 0.62), transparent 20%),
        radial-gradient(circle at top left, rgba(239, 244, 252, 0.64), transparent 22%),
        linear-gradient(180deg, #fcfdff 0%, #f1f5fa 100%);
}

/* Admin Layout */
.admin-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--topbar-height);
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.admin-brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(224, 237, 248, 0.95), rgba(245, 241, 234, 0.9));
    border: 1px solid var(--line);
    overflow: hidden;
}

.admin-brand-text {
    display: flex;
    flex-direction: column;
}

.admin-brand-text strong {
    font-size: 15px;
    line-height: 1.2;
}

.admin-brand-text small {
    font-size: 11px;
    color: var(--muted);
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.admin-nav::-webkit-scrollbar {
    display: none;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
    transition: all 0.15s ease;
}

.admin-nav-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.admin-nav-link.is-active {
    background: var(--accent);
    color: #fff;
}

.admin-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.icon-svg {
    width: 16px;
    height: 16px;
    display: block;
}

.admin-nav-external {
    margin-left: 8px;
    border-left: 1px solid var(--line);
    padding-left: 16px;
}

.admin-content {
    flex: 1;
    padding: 24px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.admin-page-head {
    margin-bottom: 20px;
}

.admin-page-head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
}

.profile-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.profile-dropdown summary::-webkit-details-marker {
    display: none;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--line);
    transition: all 0.15s ease;
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--line-strong);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #4a90c9);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
}

.profile-avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.profile-name {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.profile-name-short {
    font-size: 13px;
    font-weight: 500;
}

.profile-role {
    font-size: 11px;
    color: var(--muted);
}

.profile-chevron {
    color: var(--muted);
    transition: transform 0.2s ease;
}

.profile-dropdown[open] .profile-chevron {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
}

.profile-dropdown-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), #4a90c9);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.profile-dropdown-header strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.profile-dropdown-header .muted {
    font-size: 12px;
}

.profile-dropdown-divider {
    height: 1px;
    background: var(--line);
    margin: 6px 0;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
    transition: background 0.15s ease;
}

.profile-dropdown-item:hover {
    background: var(--accent-soft);
}

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.profile-dropdown-logout {
    color: var(--danger-text);
}

.profile-dropdown-logout:hover {
    background: var(--danger-bg);
}

/* Profile dropdown light variant for public pages */
.profile-dropdown-light .profile-trigger {
    background: transparent;
    border-color: transparent;
}

.profile-dropdown-light .profile-trigger:hover {
    background: rgba(255, 255, 255, 0.5);
}

.profile-trigger-compact {
    padding: 4px 10px 4px 4px;
    gap: 8px;
}

/* Public Layout */
.public-shell {
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--line);
    margin: 0 -24px;
    padding: 0 24px;
}

.public-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1320px;
    margin: 0 auto;
}

.public-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-logo-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(224, 237, 248, 0.95), rgba(245, 241, 234, 0.88));
    border: 1px solid var(--line);
    overflow: hidden;
}

.public-logo-img {
    width: 100%;
    height: 100%;
}

.public-logo-text {
    display: flex;
    flex-direction: column;
}

.public-logo-text strong {
    font-size: 15px;
    line-height: 1.2;
}

.public-logo-text small {
    font-size: 11px;
    color: var(--muted);
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.public-nav-link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--muted);
    transition: all 0.15s ease;
}

.public-nav-link:hover {
    background: var(--accent-soft);
    color: var(--accent);
}

.public-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.public-main {
    flex: 1;
    padding: 24px 0 32px;
}

.public-footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.public-footer p {
    margin: 0;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
}

.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.grid {
    display: grid;
    gap: 26px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.two.compact-left {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.card,
.stat,
.alert {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.card,
.stat {
    padding: 18px;
}

.card {
    position: relative;
    overflow: visible;
    margin-bottom: 18px;
}

.stat strong {
    display: block;
    margin-top: 10px;
    font-size: 30px;
}

.muted {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.field {
    display: grid;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    color: var(--muted);
    font-size: 14px;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #8db1ff;
    box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.08);
}

textarea {
    min-height: 104px;
    resize: vertical;
}

.js-datepicker {
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #6d7a8c 50%), linear-gradient(135deg, #6d7a8c 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.js-date-picker {
    position: absolute;
    z-index: 1200;
    width: 294px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 44px rgba(16, 24, 40, 0.18);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    display: none;
}

.js-date-picker.is-open {
    display: block;
}

.js-date-picker-head {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.js-date-picker-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-transform: capitalize;
}

.js-date-picker-nav {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
}

.js-date-picker-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.js-date-picker-week span {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
}

.js-date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.js-date-picker-day {
    width: 100%;
    min-height: 34px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    font-size: 13px;
}

.js-date-picker-day:hover {
    background: var(--accent-soft);
    border-color: #d7e5ff;
    color: var(--accent);
}

.js-date-picker-day.is-today {
    border-color: #b9d1f6;
}

.js-date-picker-day.is-selected {
    background: var(--accent);
    color: #fff;
}

.js-date-picker-day.is-outside {
    color: #a8b3c2;
}

.js-date-picker-foot {
    margin-top: 8px;
    display: flex;
    justify-content: flex-start;
}

.js-date-picker-clear {
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.8);
    color: var(--text);
    font-size: 12px;
}

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

button.secondary,
.button.secondary,
.ghost-button {
    background: rgba(255,255,255,0.76);
    color: var(--text);
    border-color: var(--line);
}

.button.action-btn,
button.action-btn {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    min-height: 34px;
}

.button.action-edit {
    background: #ffffff;
    color: var(--text);
    border-color: var(--line);
}

.button.action-delete {
    background: #fff5f5;
    color: #b74e4e;
    border-color: #f0c9c9;
}

.inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stack {
    display: grid;
    gap: 14px;
}

.table-wrap {
    overflow-x: auto;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 14px 10px;
    border-bottom: 1px solid #e8eef6;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.compact-table th,
.compact-table td {
    white-space: nowrap;
    padding: 12px 8px;
    font-size: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid #d7e5ff;
    font-size: 12px;
    font-weight: 600;
}

.alert {
    margin-bottom: 18px;
    padding: 14px 16px;
}

.alert-success {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: #caeed9;
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger-text);
    border-color: #f4cece;
}

.account-panel,
.public-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.account-mini {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.82);
    color: var(--text);
    font-weight: 700;
    padding: 0;
}

.profile-menu {
    position: relative;
}

.profile-menu summary {
    list-style: none;
    cursor: pointer;
}

.profile-menu summary::-webkit-details-marker {
    display: none;
}

.profile-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.12);
    display: grid;
    gap: 8px;
    z-index: 80;
}

.profile-menu-panel strong {
    font-size: 13px;
}

.lang-switch {
    display: inline-flex;
    gap: 6px;
}

.small-button {
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.account-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.8);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.account-chip.compact {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
}

.account-chip.compact strong {
    font-size: 14px;
    line-height: 1.1;
}

.account-chip small {
    display: block;
    color: var(--muted);
    margin-top: 2px;
    font-size: 12px;
}

.account-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2ecc71;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(360px, 100%);
    padding: 24px;
}

.login-card .lang-switch {
    justify-content: flex-end;
    margin-bottom: 12px;
}

.login-card h1 {
    margin: 4px 0 16px;
    font-size: 28px;
}

.login-card .muted {
    display: none;
}

.login-demo {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.public-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 10px 4px 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(204, 216, 232, 0.6);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-brand strong {
    display: block;
    font-size: 17px;
}

.public-brand small {
    display: block;
    color: var(--muted);
    margin-top: 2px;
}

.public-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(224, 237, 248, 0.95), rgba(245, 241, 234, 0.88));
    border: 1px solid var(--line);
}

.public-top-link {
    padding: 8px 10px;
    color: var(--muted);
    border-radius: 10px;
    font-size: 14px;
}

.public-top-link:hover {
    background: var(--panel-soft);
    color: var(--text);
}

.public-hero {
    display: grid;
    grid-template-columns: 1.72fr 0.38fr;
    gap: 14px;
    margin-bottom: 22px;
    align-items: start;
}

.public-hero-copy,
.public-hero-panel,
.public-feature-card,
.public-hotel-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

.public-hero-copy {
    padding: 34px;
    position: relative;
    overflow: hidden;
    min-height: 308px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.public-hero-copy h2 {
    margin: 8px 0 14px;
    font-size: 46px;
    line-height: 1.05;
    max-width: 13ch;
}

.public-hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(10, 18, 28, 0.12), rgba(10, 18, 28, 0.28)),
        linear-gradient(90deg, rgba(10, 18, 28, 0.42), rgba(10, 18, 28, 0.1) 58%, rgba(10, 18, 28, 0.12));
    pointer-events: none;
    z-index: 0;
}

.public-hero-copy::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 22px;
    width: 180px;
    height: 120px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06)),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.28) 0,
            rgba(255,255,255,0.28) 1px,
            transparent 1px,
            transparent 22px
        );
    border: 1px solid rgba(255, 255, 255, 0.22);
    transform: rotate(-6deg);
    pointer-events: none;
}

.public-hero-panel {
    padding: 12px;
    display: grid;
    gap: 10px;
    align-content: start;
    max-width: 250px;
    width: 100%;
    justify-self: end;
    align-self: start;
}

.public-highlight {
    padding: 12px 14px;
    border: 1px solid rgba(204, 216, 232, 0.34);
    border-radius: 18px;
    background: rgba(255,255,255,0.56);
}

.public-highlight-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.public-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.public-feature-card {
    padding: 20px;
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,251,255,0.78));
}

.public-feature-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.public-search-card {
    margin-bottom: 22px;
    padding: 26px;
    z-index: 5;
}

.public-search-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: end;
}

.city-flow-grid {
    grid-template-columns: 1.1fr 1.45fr 0.9fr 0.9fr 0.8fr 0.7fr auto;
    gap: 10px;
}

.city-flow-grid label {
    font-size: 12px;
}

.city-flow-grid input,
.city-flow-grid select,
.city-flow-grid .custom-select-trigger,
.city-flow-grid button {
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.public-search-meta {
    margin-top: 12px;
}

.public-hotels {
    margin-bottom: 28px;
}

.public-hotel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.public-hotel-card {
    padding: 20px;
    min-height: 224px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.public-hotel-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(13, 22, 34, 0.22), rgba(13, 22, 34, 0.62)),
        linear-gradient(90deg, rgba(13, 22, 34, 0.34), rgba(13, 22, 34, 0.1) 55%);
    z-index: 0;
    pointer-events: none;
}

.public-hotel-card > * {
    position: relative;
    z-index: 1;
}

.public-hotel-card h3 {
    margin: 12px 0 8px;
    font-size: 22px;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(8, 13, 20, 0.35);
}

.public-hotel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.public-hotel-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 16px;
}

.public-hotel-stats strong {
    display: block;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0 3px 14px rgba(8, 13, 20, 0.3);
}

.public-hotel-stats span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.public-hotel-card .muted,
.public-hotel-card .public-hotel-top .muted {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 3px 14px rgba(8, 13, 20, 0.28);
}

.public-results-grid {
    align-items: start;
}

.public-room-list {
    display: grid;
    gap: 16px;
}

.public-room-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 16px;
    align-items: center;
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,0.48);
    border: 1px solid rgba(206, 194, 176, 0.28);
}

.compact-left .card:first-child {
    overflow: hidden;
}

.compact-left .custom-select-trigger,
.compact-left input,
.compact-left select {
    min-height: 42px;
}

.compact-left .form-grid {
    gap: 10px;
}

.stats {
    gap: 12px;
}

.stat strong {
    font-size: 24px;
}

.checkbox-field {
    align-items: center;
}

.checkbox-field label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.public-room-price,
.public-room-total {
    text-align: right;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.native-select {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
    width: 100%;
    z-index: 30;
}

.custom-select-trigger {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    background: rgba(255,255,255,0.86);
    color: var(--text);
    border: 1px solid var(--line-strong);
    box-shadow: none;
}

.custom-select-trigger::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #6d7a8c;
    border-bottom: 2px solid #6d7a8c;
    transform: rotate(45deg);
    margin-left: 12px;
}

.custom-select.is-open .custom-select-trigger {
    border-color: #8db1ff;
    box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.08);
}

.custom-select-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.custom-select.is-open .custom-select-dropdown {
    display: grid;
    gap: 6px;
}

.custom-select-option {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    background: #fff;
    color: var(--text);
    border: 1px solid transparent;
    padding: 11px 12px;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
    background: var(--accent-soft);
    border-color: #d7e5ff;
    color: var(--accent);
}

.custom-select-option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.public-hero-slider {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    z-index: 0;
    background: #8da0b4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.02) contrast(1.02) brightness(0.88);
    transform: scale(1.02);
    transition: background-image 0.5s ease-in-out, transform 6s ease;
}

.public-hero-copy > *:not(.public-hero-slider) {
    position: relative;
    z-index: 1;
}

.public-hero-copy .eyebrow,
.public-hero-copy h2,
.public-hero-copy .muted {
    color: #ffffff;
    text-shadow: 0 8px 28px rgba(6, 11, 18, 0.58);
}

.public-hero-copy .muted {
    max-width: 62ch;
    color: rgba(255,255,255,0.92);
    font-size: 18px;
    line-height: 1.5;
}

.hero-actions {
    margin-top: 20px;
}

.hero-actions .button {
    background: rgba(255,255,255,0.92);
    color: #1f2937;
    border-color: rgba(255,255,255,0.92);
}

.hero-actions .button.secondary {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border-color: rgba(255,255,255,0.24);
}

@media (max-width: 1280px) {
    .admin-nav-label {
        display: none;
    }
    
    .admin-nav-link {
        padding: 8px;
    }
    
    .admin-brand-text {
        display: none;
    }
}

@media (max-width: 1120px) {
    .admin-topbar {
        padding: 0 12px;
    }
    
    .admin-topbar-left {
        gap: 12px;
    }
    
    .admin-content {
        padding: 16px;
    }
    
    .profile-info {
        display: none;
    }
    
    .profile-trigger {
        padding: 6px;
    }
    
    .stats,
    .grid.two,
    .grid.two.compact-left,
    .public-hero,
    .public-features,
    .public-hotel-grid,
    .form-grid,
    .public-room-card {
        grid-template-columns: 1fr;
    }

    .city-flow-grid {
        grid-template-columns: 1.05fr 1.35fr 0.85fr 0.85fr 0.75fr 0.65fr auto;
    }
}

@media (max-width: 768px) {
    .admin-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid var(--line);
        padding: 8px;
        justify-content: center;
        z-index: 100;
        backdrop-filter: var(--blur);
        -webkit-backdrop-filter: var(--blur);
    }
    
    .admin-nav-external {
        margin-left: 0;
        border-left: none;
        padding-left: 8px;
    }
    
    .admin-content {
        padding-bottom: 80px;
    }
    
    .public-header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
        gap: 12px;
    }
    
    .public-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .public-logo-text small {
        display: none;
    }

    .public-search-grid,
    .city-flow-grid {
        grid-template-columns: 1fr;
    }
}
