/* ============================================================
   Umrah Quotation System — Core Stylesheet
   Palette: deep teal primary, warm amber accent, white surfaces
   Type: Manrope (headings) + Inter (body/UI)
   ============================================================ */

:root {
    --color-bg: #F6F8F8;
    --color-surface: #FFFFFF;
    --color-border: #E3E8E8;
    --color-text: #1F2A2E;
    --color-text-muted: #5C6B6E;

    --color-primary: #0F5257;
    --color-primary-dark: #0B3F43;
    --color-accent: #C68A3D;
    --color-accent-light: #F4E3C7;

    /* Theming hooks - overridden per-install via System Settings */
    --button-text: #FFFFFF;
    --sidebar-bg: #0B3F43;
    --sidebar-text: #DCEAEA;
    --topbar-bg: #FFFFFF;
    --topbar-text: #1F2A2E;

    --color-success: #1E8E5A;
    --color-success-bg: #E6F4EC;
    --color-danger: #C0392B;
    --color-danger-bg: #FBEAE8;
    --color-warning: #B7791F;
    --color-warning-bg: #FBF1DE;

    --radius: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 82, 87, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 82, 87, 0.08);

    --sidebar-width: 232px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

h1, h2, h3, h4 {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 8px;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* ---------------- Layout ---------------- */

.app-shell {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

/* Brand */
.sidebar-brand {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sidebar-brand img.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    padding: 2px;
    flex-shrink: 0;
}

.sidebar-brand .brand-logo-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
}

.sidebar-brand .brand-text { min-width: 0; }

.sidebar-brand .brand-text strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.sidebar-brand .brand-text span {
    display: block;
    font-size: 10.5px;
    font-weight: 400;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nav scroll area */
.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.sidebar-nav li { margin: 1px 8px; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 6px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    font-size: 13px;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav a .nav-icon {
    font-size: 13px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    color: rgba(255,255,255,0.45);
    transition: color 0.12s;
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
    text-decoration: none;
}

.sidebar-nav a:hover .nav-icon { color: rgba(255,255,255,0.85); }

.sidebar-nav a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 600;
}

.sidebar-nav a.active .nav-icon { color: #fff; }

.sidebar-action-btn i { font-size: 14px; }

.sidebar-section-label {
    padding: 12px 18px 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    pointer-events: none;
}

/* User profile footer */
.sidebar-user {
    flex-shrink: 0;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 10px 12px 8px;
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.sidebar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.sidebar-user-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.sidebar-user-role {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 1px;
}

.sidebar-user-actions {
    display: flex;
    gap: 4px;
}

.sidebar-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    flex-shrink: 0;
}

.sidebar-action-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    background: var(--topbar-bg);
    color: var(--topbar-text);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--topbar-text);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-user .role-badge {
    font-size: 11px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.content {
    padding: 24px;
    flex: 1;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.page-header p {
    color: var(--color-text-muted);
    margin: 4px 0 0;
    font-size: 13px;
}

/* ---------------- Cards / Tables ---------------- */

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    margin-bottom: 18px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 16px 18px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-card .stat-value {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
}

th, td {
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid var(--color-border);
    font-size: 13.5px;
}

th {
    background: #FAFBFB;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
}

tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FAFCFC; }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

/* ---------------- Forms ---------------- */

.form-group { margin-bottom: 16px; }

label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13.5px;
    font-family: inherit;
    background: var(--color-surface);
    color: var(--color-text);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 82, 87, 0.1);
}

.form-hint {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

/* ---------------- Buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius);
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover { text-decoration: none; }

.btn-primary { background: var(--color-primary); color: var(--button-text); }
.btn-primary:hover { background: var(--color-primary-dark); }

.btn-accent { background: var(--color-accent); color: var(--button-text); }
.btn-accent:hover { filter: brightness(0.88); }

.btn-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
}
.btn-outline:hover { background: #F2F4F4; }

.btn-danger { background: var(--color-danger); color: #fff; }
.btn-danger:hover { background: #A53224; }

.btn-sm { padding: 5px 10px; font-size: 12px; }

/* ---------------- Badges ---------------- */

.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
}

.badge-active, .badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-inactive, .badge-danger { background: var(--color-danger-bg); color: var(--color-danger); }
.badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-neutral { background: #EEF1F1; color: var(--color-text-muted); }

.role-badge {
    background: var(--color-accent-light);
    color: var(--color-primary-dark);
    padding: 2px 9px;
    border-radius: 999px;
    font-weight: 700;
}

/* ---------------- Alerts / Flash ---------------- */

.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13.5px;
    border: 1px solid transparent;
}

.alert-success { background: var(--color-success-bg); color: var(--color-success); border-color: rgba(30,142,90,0.2); }
.alert-error { background: var(--color-danger-bg); color: var(--color-danger); border-color: rgba(192,57,43,0.2); }

/* ---------------- Toggle switch ---------------- */

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    vertical-align: middle;
}

.switch input { opacity: 0; width: 0; height: 0; }

.switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #D5DCDC;
    border-radius: 999px;
    transition: 0.15s;
}

.switch .slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.15s;
}

.switch input:checked + .slider { background-color: var(--color-primary); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* ---------------- Login page ---------------- */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #146A66 100%);
    padding: 20px;
}

.login-card {
    background: var(--color-surface);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 380px;
    padding: 34px 30px;
}

.login-brand {
    text-align: center;
    margin-bottom: 22px;
}

.login-brand .mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--button-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 12px;
}

.login-brand h1 { font-size: 18px; margin-bottom: 2px; }
.login-brand p { font-size: 12.5px; color: var(--color-text-muted); margin: 0; }

.login-card .btn-primary { width: 100%; justify-content: center; padding: 11px; margin-top: 6px; }

/* ---------------- Empty state ---------------- */

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-text-muted);
}

/* ---------------- System Settings page ---------------- */

.color-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.color-field:last-child { border-bottom: none; }

.color-field-label { font-weight: 600; font-size: 13.5px; }
.color-field-desc { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

.color-field-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.color-swatch-input {
    width: 36px;
    height: 32px;
    padding: 2px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    background: none;
}

.color-hex-input {
    width: 96px;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 12.5px;
    padding: 7px 9px;
    text-transform: uppercase;
}

.theme-preview {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 16px;
}

.theme-preview-sidebar {
    width: 92px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex-shrink: 0;
}

.theme-preview-dot { width: 9px; height: 9px; border-radius: 50%; }
.theme-preview-bar { height: 7px; border-radius: 4px; }

.theme-preview-main { flex: 1; min-width: 0; }

.theme-preview-topbar {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
}

.theme-preview-body {
    padding: 16px 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo-upload-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.logo-preview-box {
    width: 64px;
    height: 64px;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FAFBFB;
    flex-shrink: 0;
}

.logo-preview-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-preview-box .placeholder { font-size: 10px; color: var(--color-text-muted); text-align: center; }

.file-input-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: var(--color-surface);
}

.file-input-label:hover { background: #F2F4F4; }
.file-input-label input[type="file"] { display: none; }

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        z-index: 100;
    }
    .sidebar.open { transform: translateX(0); }
    .topbar-menu-btn { display: block; }
    .content { padding: 16px; }
    .sidebar-nav a { font-size: 13px; }
}

/* ---------------- Expiry warning bar ---------------- */

.expiry-bar {
    padding: 13px 24px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid transparent;
    letter-spacing: 0.01em;
}

.expiry-bar .expiry-icon {
    font-size: 17px;
    flex-shrink: 0;
}

.expiry-bar .expiry-text {
    flex: 1;
}

.expiry-bar a {
    font-weight: 700;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
    margin-left: 12px;
    font-size: 12.5px;
    border: 1.5px solid currentColor;
    white-space: nowrap;
}

.expiry-bar a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.expiry-bar--yellow {
    background: #FFFBEB;
    color: #78350F;
    border-left-color: #F59E0B;
    border-bottom: 1px solid #FDE68A;
}

.expiry-bar--red {
    background: #FEF2F2;
    color: #7F1D1D;
    border-left-color: #EF4444;
    border-bottom: 1px solid #FECACA;
}

/* ──────────────────────────────────────────────────────────
   Modal
────────────────────────────────────────────────────────── */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 30, 0.55);
    z-index: 500;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    backdrop-filter: blur(2px);
}

.modal-overlay.open { display: flex; }

.modal-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    width: 100%;
    max-width: 480px;
    margin: auto;
    animation: modalIn 0.18s ease;
    flex-shrink: 0;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--color-border);
}

.modal-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.modal-close {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
}

.modal-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.modal-body {
    padding: 20px 24px;
}

.modal-body .form-group { margin-bottom: 14px; }
.modal-body .form-group:last-child { margin-bottom: 0; }

/* Stack form rows in modals on small screens */
@media (max-width: 540px) {
    .modal-card { border-radius: 10px; }
    .modal-body .form-row {
        grid-template-columns: 1fr;
    }
}

.modal-footer {
    padding: 14px 24px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--color-border);
}

.required-star { color: var(--color-danger); }

/* Input with icon (email field) */
.input-icon-wrap {
    position: relative;
}

.input-icon-wrap input {
    padding-right: 38px;
}

.input-icon {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 14px;
    pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   Vendor page specific
────────────────────────────────────────────────────────── */

.vendor-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid transparent;
}

.vendor-stat--active   { background:#E6F4EC; color:#1E8E5A; border-color:#B6E4CC; }
.vendor-stat--inactive { background:#FBEAE8; color:#C0392B; border-color:#F5BDB7; }
.vendor-stat--total    { background:#EEF6FF; color:#1D5FA8; border-color:#BDD8F7; }

.vendor-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.pricing-badge {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 600;
}

.vendor-status-btn {
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 0;
    transition: opacity 0.12s;
}

.vendor-status-btn.active   { color: #1E8E5A; }
.vendor-status-btn.inactive { color: #C0392B; }
.vendor-status-btn:hover    { opacity: 0.7; }

/* Icon action buttons */
.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.12s, transform 0.1s;
}

.btn-icon:hover { transform: translateY(-1px); }

.btn-icon--edit {
    background: #F3F4F6;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.btn-icon--edit:hover { background: #E5E7EB; }

.btn-icon--delete {
    background: #EF4444;
    color: #fff;
}

.btn-icon--delete:hover { background: #DC2626; }

/* ──────────────────────────────────────────────────────────
   Hotel module
────────────────────────────────────────────────────────── */

.hotel-city-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.hotel-city-badge--makkah  { background: #FEF3C7; color: #92400E; }
.hotel-city-badge--madinah { background: #D1FAE5; color: #065F46; }

/* fallback for dynamic cities */
.hotel-city-badge:not(.hotel-city-badge--makkah):not(.hotel-city-badge--madinah) {
    background: #EEF6FF; color: #1D5FA8;
}

.hotel-cat-badge {
    display: inline-block;
    background: #F0F9FF;
    color: #0369A1;
    border: 1px solid #BAE6FD;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
}

/* Locations & Categories page */
.loc-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.loc-city-panel {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--color-surface);
}

.loc-city-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    font-size: 14px;
}

.loc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    gap: 8px;
}

.loc-row:last-of-type { border-bottom: none; }

.loc-name {
    font-size: 13px;
    color: var(--color-text);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hotel categories grid */
.cat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 14px;
    min-width: 130px;
}

/* Room/view tags info block in modal */
.hotel-room-info {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-top: 4px;
}

.hotel-room-info-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hotel-room-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hotel-room-tags span {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    color: var(--color-text);
}
