@import url('/vendor/fonts/fonts.css');

:root {
  color-scheme: light;
  --ink: #141a2e;
  --muted: #6b7186;
  --line: #e2e4ec;
  --paper: #f6f5f1;
  --white: #fff;
  --brand: #1b2550;
  --brand-hover: #28356b;
  --gold: #d4b16a;
  --coral: #d0694f;
  --brand-pale: #eceef6;
  --shadow: 0 12px 35px rgba(20, 26, 46, .08);
  /* Boje izvora rezervacija */
  --src-booking: #1f4fa3;
  --src-airbnb: #e0565b;
  --src-facebook: #4267b2;
  --src-instagram: #b1407f;
  --src-direct: #b8913f;
  --src-other: #6b7186;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 'DM Sans', sans-serif; }
h1, h2, .brand { font-family: 'Manrope', 'DM Sans', sans-serif; }
h1 { margin: 0 0 8px; font-size: 36px; line-height: 1.13; font-weight: 700; }
h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.eyebrow { margin: 0 0 8px; color: #8a8fa3; font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

.topbar { height: 72px; padding: 0 max(28px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; gap: 46px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 19px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; background: var(--brand); color: var(--gold); font-size: 15px; font-weight: 800; }
.main-nav { height: 100%; display: flex; align-items: center; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.main-nav a { white-space: nowrap; }
.main-nav a, .quiet-link, .back-link { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.main-nav a:hover, .back-link:hover, .quiet-link:hover { color: var(--brand); }
.user-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.user-name { max-width: 180px; overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 600; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.user-name:hover { color: var(--brand); text-decoration: underline; }
.user-actions form, .inline-actions form, .guest-actions form { margin: 0; }
.quiet-button { border: 0; background: none; color: var(--muted); font: 600 13.5px 'DM Sans', sans-serif; cursor: pointer; }

.page-wrap { max-width: 1200px; margin: 0 auto; padding: 52px 32px 80px; }
.narrow-wrap { max-width: 760px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin-bottom: 32px; }
.page-heading .muted { margin: 0; }
.primary-button, .secondary-button, .danger-button { min-height: 44px; padding: 0 18px; border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font: 700 13px 'DM Sans', sans-serif; cursor: pointer; transition: background .18s, transform .18s; }
.primary-button { background: var(--brand); color: #fff; }
.primary-button:hover { background: var(--brand-hover); transform: translateY(-1px); }
.primary-button.compact { min-height: 42px; }
.secondary-button { background: #eceef6; color: var(--brand); }
.secondary-button:hover { background: #dfe3f1; }
.danger-button { background: #fff1ed; color: #9e3f2a; }
.danger-button:hover { background: #ffe0d7; }
.quiet-link { display: inline-flex; align-items: center; }
.back-link { display: inline-block; margin-bottom: 24px; }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric { min-height: 163px; padding: 24px 25px 22px; display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.metric:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.metric-accent { background: var(--brand); border-color: var(--brand); color: #fff; }
.metric-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.metric-accent .metric-label, .metric-accent .metric-note { color: #aeb6d6; }
.metric strong { margin: 8px 0 1px; font: 700 38px 'Manrope', sans-serif; }
.metric-note { color: var(--muted); font-size: 13px; }
.welcome-band { min-height: 170px; position: relative; overflow: hidden; margin-top: 24px; padding: 29px 32px; display: flex; justify-content: space-between; align-items: center; background: #efeae0; }
.welcome-band::after { content: ''; position: absolute; top: -95px; right: 110px; width: 280px; height: 280px; border: 1px solid rgba(27, 37, 80, .14); border-radius: 50%; }
.welcome-band p:last-child { max-width: 520px; margin: 0; color: #5f6479; }
.welcome-index { z-index: 1; color: var(--brand); text-align: right; font: 800 22px 'Manrope', sans-serif; }
.welcome-index span { color: #8e93a6; font-size: 12.5px; }

.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); }
table { width: 100%; min-width: 700px; border-collapse: collapse; text-align: left; }
th { height: 48px; padding: 0 18px; background: #f8f8fb; color: #7d8296; font-size: 11.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; white-space: nowrap; }
td { height: 61px; padding: 10px 18px; border-top: 1px solid #ebedf2; color: #4f5568; font-size: 13px; white-space: nowrap; }
.strong-cell { color: var(--ink); font-weight: 700; }
.align-right { text-align: right; }
.row-action, .text-link { color: var(--brand); font-size: 12px; font-weight: 700; text-decoration: none; }
.row-action:hover, .text-link:hover { text-decoration: underline; }
.source-tag { padding: 4px 8px; display: inline-block; background: #eceef6; color: #3b4470; font-size: 11.5px; font-weight: 700; }
.empty-state { padding: 64px 24px; border: 1px solid var(--line); background: #fff; text-align: center; }
.empty-symbol { display: block; margin-bottom: 14px; color: #a5aac0; font: 700 12px 'Manrope', sans-serif; }
.empty-state p { max-width: 380px; margin: 0 auto 15px; color: var(--muted); }

.panel-form, .content-section { padding: 28px; border: 1px solid var(--line); background: #fff; }
.panel-form { display: grid; gap: 20px; box-shadow: var(--shadow); }
label { display: grid; gap: 7px; color: #464c62; font-size: 13.5px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 43px; padding: 10px 12px; outline: none; border: 1px solid #d9dce6; border-radius: 0; background: #fff; color: var(--ink); font: 14px 'DM Sans', sans-serif; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #5a6aa8; box-shadow: 0 0 0 3px rgba(90, 106, 168, .15); }
input[type='checkbox'] { width: 17px; height: 17px; min-height: 17px; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-actions { padding-top: 6px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.section-divider { display: flex; align-items: center; gap: 12px; color: #82879b; font-size: 12.5px; font-weight: 700; }
.section-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.field-error { min-height: 0; color: #a33e2b; font-size: 12.5px; font-weight: 500; }
.field-hint { color: #8e93a6; font-size: 12.5px; font-weight: 400; }
.check-row { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.alert, .success { margin: 0 0 15px; padding: 11px 13px; border-left: 3px solid var(--coral); background: #fff1ed; color: #873c2c; font-size: 14px; }
.success { border-color: #76a855; background: #edf5e6; color: #3e6630; }
.inline-actions { display: flex; align-items: center; gap: 9px; }

.detail-columns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .8fr); gap: 20px; align-items: start; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.count-pill { width: 24px; height: 24px; display: inline-grid; place-items: center; background: #eceef6; color: var(--brand); font: 700 12.5px 'DM Sans', sans-serif; vertical-align: middle; }
.guest-list { display: grid; }
.guest-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid #ebedf2; }
.guest-initial { width: 36px; height: 36px; display: grid; place-items: center; background: var(--brand-pale); color: var(--brand); font: 700 14px 'Manrope', sans-serif; }
.guest-data { min-width: 0; display: grid; gap: 2px; }
.guest-data strong { font-size: 13px; }
.guest-data span, .guest-data small { color: var(--muted); font-size: 12.5px; }
.status-pill { padding: 5px 8px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.is-done { background: #e7f2e3; color: #4f793e; }
.is-pending { background: #fff3df; color: #956c2d; }
.guest-actions { display: flex; gap: 3px; }
.icon-action, .icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--brand); font: 700 17px 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; }
.icon-action:hover, .icon-button:hover { background: var(--brand-pale); }
.danger-text { color: #a34837; }
.empty-inline { padding: 16px 0; border-top: 1px solid #ebedf2; font-size: 12px; }
.guest-form-section h2 { margin-bottom: 20px; }
.stack-form { display: grid; gap: 16px; }
.stack-form .primary-button { width: 100%; margin-top: 4px; }

.tax-total { margin-bottom: 20px; padding: 23px 26px; display: flex; justify-content: space-between; align-items: flex-end; background: var(--brand); color: #fff; }
.tax-total > div { display: grid; gap: 5px; }
.tax-total .metric-label { color: #aeb6d6; }
.tax-total strong { font: 700 34px 'Manrope', sans-serif; }
.tax-month { color: var(--gold); font-size: 13px; font-weight: 700; }
.month-switch { display: flex; align-items: center; gap: 8px; }
.month-switch form { width: 165px; }
.month-switch input { min-height: 38px; }
.table-empty { height: 90px; text-align: center; }
.report-note { margin-top: 15px; color: var(--muted); font-size: 12px; }

.auth-page { min-height: 100vh; background: #f4f2ed; }
.auth-shell { max-width: 1100px; min-height: 100vh; position: relative; margin: 0 auto; padding: 95px 5vw 60px; display: grid; grid-template-columns: 1.1fr .9fr; }
.auth-brand { position: absolute; top: 31px; left: 5vw; z-index: 2; }
.auth-content { max-width: 440px; align-self: center; padding: 30px 0; }
.auth-content h1 { margin-bottom: 9px; font-size: 35px; }
.auth-content > .muted { margin-bottom: 26px; }
.auth-content .stack-form { gap: 17px; }
.auth-content .primary-button { margin-top: 5px; }
.auth-switch { margin-top: 22px; color: var(--muted); font-size: 12px; }
.auth-switch a { color: var(--brand); font-weight: 700; text-decoration: none; }
.auth-aside { position: relative; overflow: hidden; align-self: stretch; margin-left: 10%; padding: 45px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--brand); color: #fff; }
.auth-aside::before, .auth-aside::after { content: ''; position: absolute; border: 1px solid rgba(212, 177, 106, .25); border-radius: 50%; }
.auth-aside::before { top: -120px; right: -175px; width: 420px; height: 420px; }
.auth-aside::after { top: 20px; right: -80px; width: 250px; height: 250px; }
.aside-number { position: absolute; top: 42px; left: 44px; color: var(--gold); font: 700 12px 'Manrope', sans-serif; }
.auth-aside p { z-index: 1; margin: 0 0 18px; font: 500 24px/1.4 'Manrope', sans-serif; }
.auth-aside strong { color: var(--gold); }
.aside-rule { z-index: 1; width: 48px; height: 3px; background: var(--coral); }
.auth-shell .field-error { display: block; }
.auth-shell input { min-height: 45px; }

@media (max-width: 850px) {
  .topbar { gap: 22px; padding: 0 20px; }
  .page-wrap { padding: 38px 22px 60px; }
  .detail-columns { grid-template-columns: 1fr; }
  .auth-shell { padding: 82px 6vw 35px; }
  .auth-aside { margin-left: 7%; padding: 28px; }
  .auth-aside p { font-size: 20px; }
}

@media (max-width: 620px) {
  .topbar { min-height: 64px; height: auto; padding: 13px 17px; flex-wrap: wrap; gap: 0; }
  .brand { font-size: 17px; }
  .user-actions { margin-left: auto; }
  .page-wrap { padding: 30px 16px 48px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .page-heading > .primary-button { align-self: stretch; }
  .metric-grid { grid-template-columns: 1fr; gap: 10px; }
  .metric { min-height: 116px; padding: 17px 19px; }
  .metric strong { font-size: 31px; }
  .welcome-band { min-height: 145px; padding: 23px 20px; }
  .welcome-index { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .panel-form, .content-section { padding: 20px 16px; }
  .guest-row { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; }
  .guest-initial { width: 32px; height: 32px; }
  .guest-actions { grid-column: 2 / 4; justify-content: flex-end; }
  .status-pill { font-size: 12.5px; }
  .tax-total { align-items: flex-start; flex-direction: column; gap: 14px; }
  .tax-total strong { font-size: 29px; }
  .month-switch { align-self: stretch; }
  .month-switch form { flex: 1; }
  .auth-shell { min-height: 100vh; padding: 82px 22px 35px; display: block; }
  .auth-content { max-width: none; padding: 26px 0; }
  .auth-content h1 { font-size: 30px; }
  .auth-aside { display: none; }
  .auth-brand { left: 22px; }
  .inline-actions { align-self: stretch; }
  .inline-actions > * { flex: 1; }
  .inline-actions .secondary-button, .inline-actions .danger-button { width: 100%; }
  .form-actions { gap: 14px; }
  .form-actions .primary-button { flex: 1; }
  .empty-state { padding: 45px 18px; }
}

/* Proširenja: finansije, gosti, izdaci, kalendar */
.cell-sub { display: block; color: var(--muted); font-size: 12.5px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.net-preview { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; background: var(--brand-pale); color: var(--muted); font-size: 12px; font-weight: 600; }
.net-preview strong { color: var(--brand); font: 800 19px 'Manrope', sans-serif; }
.money-strip { margin-bottom: 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); }
.money-strip > div { padding: 18px 20px; display: grid; gap: 3px; border-left: 1px solid var(--line); }
.money-strip > div:first-child { border-left: 0; }
.money-strip strong { font: 700 19px 'Manrope', sans-serif; }
.money-strip small { color: var(--muted); font-size: 12.5px; }
.money-strip .money-net { background: var(--brand); color: #fff; }
.money-strip .money-net .metric-label { color: #aeb6d6; }
.money-strip .money-net strong { color: var(--gold); }
.finance-band { margin-top: 24px; padding: 24px 28px; background: var(--brand); color: #fff; }
.finance-head { display: flex; justify-content: space-between; align-items: center; }
.finance-head .eyebrow { color: #aeb6d6; }
.finance-head .text-link { color: var(--gold); }
.finance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.finance-grid > div { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.finance-grid .metric-label, .finance-grid small { color: #aeb6d6; }
.finance-grid strong { font: 700 28px 'Manrope', sans-serif; }
.finance-profit strong { color: var(--gold); }
.search-form input { width: 260px; }
.is-returning { margin-left: 6px; background: #f6edd8; color: #8a6a24; vertical-align: middle; }

.source-tag.src-booking { background: #e6edf8; color: var(--src-booking); }
.source-tag.src-airbnb { background: #fdeaea; color: #b23a3f; }
.source-tag.src-facebook { background: #e9eef8; color: var(--src-facebook); }
.source-tag.src-instagram { background: #f8e8f1; color: var(--src-instagram); }
.source-tag.src-direct { background: #f6edd8; color: #8a6a24; }
.source-tag.src-other { background: #eef0f4; color: var(--src-other); }

.wide-wrap { max-width: 1440px; }
.calendar-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); }
.calendar { min-width: 980px; table-layout: fixed; }
.calendar th, .calendar td { height: 46px; padding: 0; border-top: 1px solid #ebedf2; border-left: 1px solid #f0f1f5; text-align: center; }
.calendar thead th { height: 52px; letter-spacing: 0; text-transform: none; }
.calendar thead th span { display: block; font-size: 9px; text-transform: uppercase; }
.calendar thead th strong { color: var(--ink); font-size: 13px; }
.calendar th.cal-apt { width: 150px; padding: 0 14px; position: sticky; left: 0; z-index: 1; background: #fff; color: var(--ink); font-size: 12px; text-align: left; text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar thead th.cal-apt { background: #f8f8fb; color: #7d8296; font-size: 10px; text-transform: uppercase; }
.calendar .is-weekend { background: #faf9f5; }
.calendar thead th.is-today { background: var(--brand); }
.calendar thead th.is-today span, .calendar thead th.is-today strong { color: var(--gold); }
.cal-free { display: block; height: 100%; }
.cal-free:hover { background: var(--brand-pale); }
.cal-bar { margin: 6px 3px; height: 34px; padding: 0 8px; display: flex; align-items: center; overflow: hidden; border-radius: 17px; background: var(--src-other); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; text-overflow: ellipsis; transition: filter .15s; }
.cal-bar:hover { filter: brightness(1.12); }
.cal-bar.cont-before { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.cal-bar.cont-after { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cal-bar.src-booking, .cal-dot.src-booking { background: var(--src-booking); }
.cal-bar.src-airbnb, .cal-dot.src-airbnb { background: var(--src-airbnb); }
.cal-bar.src-facebook, .cal-dot.src-facebook { background: var(--src-facebook); }
.cal-bar.src-instagram, .cal-dot.src-instagram { background: var(--src-instagram); }
.cal-bar.src-direct, .cal-dot.src-direct { background: var(--src-direct); }
.cal-bar.src-other, .cal-dot.src-other { background: var(--src-other); }
.cal-legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-dot { width: 10px; height: 10px; display: inline-block; border-radius: 50%; }

@media (max-width: 850px) {
  .money-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .money-strip > div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .finance-grid { grid-template-columns: 1fr; }
  .search-form, .search-form input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Pravila lozinke na registraciji */
.pw-rules { margin: -4px 0 0; padding: 12px 14px; display: grid; gap: 6px; list-style: none; background: var(--brand-pale); font-size: 12px; color: var(--muted); }
.pw-rules li { display: flex; align-items: center; gap: 8px; transition: color .15s; }
.pw-rules li::before { content: ''; width: 16px; height: 16px; flex: none; display: grid; place-items: center; border: 1.5px solid #c3c7d6; border-radius: 50%; font-size: 11.5px; font-weight: 800; line-height: 1; }
.pw-rules li.is-ok { color: #3f6b33; }
.pw-rules li.is-ok::before { content: '✓'; border-color: #4f8a3f; background: #4f8a3f; color: #fff; }
.pw-rules li.is-bad { color: #a33e2b; }
.pw-rules li.is-bad::before { content: '✕'; border-color: #c0573f; background: #c0573f; color: #fff; }

/* Izbor datuma (flatpickr) u bojama aplikacije */
.flatpickr-calendar { border-radius: 0; box-shadow: var(--shadow), 0 0 0 1px var(--line); font-family: 'DM Sans', sans-serif; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month { color: var(--ink); font-weight: 700; }
.flatpickr-day { border-radius: 0; }
.flatpickr-day.today { border-color: var(--gold); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-monthSelect-month.selected { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; }
.flatpickr-day:hover, .flatpickr-monthSelect-month:hover { background: var(--brand-pale); }
span.flatpickr-weekday { color: var(--muted); font-weight: 700; }
.flatpickr-monthSelect-month { border-radius: 0; text-transform: capitalize; }
.month-switch .flatpickr-input { text-transform: capitalize; cursor: pointer; }
input.flatpickr-input[readonly] { background: #fff; cursor: pointer; }

/* Finansije */
.year-label { min-width: 64px; text-align: center; font: 800 20px 'Manrope', sans-serif; }
.summary-cards { margin-bottom: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.summary-card { padding: 22px 24px; background: #fff; border: 1px solid var(--line); }
.summary-card dl { margin: 0; display: grid; gap: 8px; }
.summary-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary-card dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.summary-card dd { margin: 0; font: 700 15px 'Manrope', sans-serif; }
.summary-card .is-profit { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.summary-card .is-profit dd { color: var(--brand); font-size: 22px; }
.summary-card.is-dark { background: var(--brand); border-color: var(--brand); color: #fff; }
.summary-card.is-dark .eyebrow, .summary-card.is-dark dt, .summary-card.is-dark small { color: #aeb6d6; }
.summary-card.is-dark .is-profit { border-color: rgba(255, 255, 255, .15); }
.summary-card.is-dark .is-profit dd { color: var(--gold); }
.summary-card small { display: block; margin-top: 6px; text-align: right; font-size: 12.5px; }
.is-negative, .summary-card .is-profit dd.is-negative { color: #b2442f !important; }
.finance-table .month-name { text-transform: capitalize; }
.finance-table tr.is-current td { background: #fbf7ec; }
.finance-table tr.is-current .month-name::after { content: 'tekući'; margin-left: 8px; padding: 2px 6px; background: var(--gold); color: var(--brand); font-size: 12.5px; font-weight: 800; text-transform: uppercase; vertical-align: middle; }
.finance-table tr.is-empty td { color: #b3b7c6; }
.finance-table tfoot td { background: #f8f8fb; border-top: 2px solid var(--line); font-weight: 700; color: var(--ink); }
.plain-link { color: inherit; text-decoration: none; }
.plain-link:hover { color: var(--brand); text-decoration: underline; }
.bar-col { width: 22%; min-width: 160px; }
td.bar-col { display: table-cell; }
.fin-bar { display: block; height: 7px; margin: 3px 0; min-width: 0; }
.fin-bar.is-income, .fin-dot-income { background: var(--brand); }
.fin-bar.is-expense, .fin-dot-expense { background: var(--gold); }
.category-section { margin-top: 20px; }
.category-row { padding: 9px 0; display: grid; grid-template-columns: 170px minmax(0, 1fr) 120px 44px; gap: 14px; align-items: center; border-top: 1px solid #ebedf2; font-size: 13px; }
.category-track { height: 8px; background: var(--brand-pale); }
.category-track span { display: block; height: 100%; background: var(--gold); }
.category-row strong { text-align: right; }
.category-row small { color: var(--muted); text-align: right; }
@media (max-width: 850px) { .summary-cards { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .category-row { grid-template-columns: 1fr 100px; } .category-track, .category-row small { display: none; } }

/* Dodavanje gosta: sklopivo kada su svi gosti uneseni */
.guest-add > summary { margin: -4px 0 0; padding: 4px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.guest-add > summary::-webkit-details-marker { display: none; }
.guest-add > summary > span { display: grid; }
.guest-add > summary strong { font: 700 21px 'Manrope', sans-serif; }
.guest-add > summary strong::before { content: '+ '; color: var(--gold); }
.guest-add[open] > summary strong::before { content: ''; }
.guest-add[open] > summary { margin-bottom: 18px; }

/* Skeniranje dokumenta */
.scanner { padding: 14px; display: grid; gap: 10px; border: 1px dashed #c9cddb; background: #fbfbfd; }
.scanner-label { color: #464c62; font-size: 12px; font-weight: 700; }
.scanner-label small { color: var(--muted); font-weight: 500; }
.scanner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.scan-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.scan-previews:empty { display: none; }
.scan-preview { position: relative; width: 108px; height: 70px; border: 1px solid var(--line); background: #fff; }
.scan-preview img { width: 100%; height: 100%; object-fit: cover; }
.scan-remove { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #c0573f; color: #fff; font-weight: 800; cursor: pointer; }
.scan-pdf { width: 100%; height: 100%; display: grid; place-items: center; background: var(--brand-pale); color: var(--brand); font: 800 13px 'Manrope', sans-serif; }
.scan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.scan-card { margin: 0; border: 1px solid var(--line); background: #fff; }
.scan-card a { display: block; aspect-ratio: 1.585; background: #f3f4f8; }
.scan-card img { width: 100%; height: 100%; object-fit: contain; }
.scan-card figcaption { padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.scan-card figcaption form { margin: 0; }
.icon-action.has-scan { background: #f6edd8; border-color: #e6d3a6; }
.camera-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(12, 16, 32, .82); }
.camera-box { width: min(900px, 100%); padding: 14px; background: #fff; }
.camera-stage { position: relative; overflow: hidden; background: #000; }
.camera-stage video { width: 100%; display: block; }
.camera-frame { position: absolute; top: 50%; left: 50%; width: 84%; aspect-ratio: 1.585; max-height: 92%; transform: translate(-50%, -50%); border: 3px solid var(--gold); border-radius: 10px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .45); }
.camera-tip { margin: 10px 0; color: var(--muted); font-size: 12px; text-align: center; }
.camera-buttons { display: flex; justify-content: flex-end; gap: 14px; }
.doc-link { padding: 5px 9px; display: inline-block; border: 1px solid var(--line); color: var(--brand); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.doc-link.has-scan { background: #f6edd8; border-color: #e6d3a6; color: #6f5418; }
.doc-link:hover { border-color: var(--brand); }

/* ---------- Telefon: bez skrolovanja ustranu ---------- */
.cal-month { display: none; }
.res-cards { display: none; }
.cal-month-head, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-month-head { margin-bottom: 4px; }
.cal-month-head span { color: var(--muted); font-size: 11.5px; font-weight: 700; text-align: center; text-transform: uppercase; }
.cal-week { margin-bottom: 3px; }
.cal-day { min-height: 50px; padding: 5px 0 6px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 700 13px 'DM Sans', sans-serif; cursor: pointer; }
.cal-day.is-weekend { background: #faf9f5; }
.cal-day.is-out { visibility: hidden; }
.cal-day.is-today .cal-day-num { margin: 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--gold); }
.cal-day.is-selected { outline: 2px solid var(--gold); outline-offset: -2px; }
.cal-day-num { text-align: center; line-height: 22px; }
.cal-day-bars { display: grid; gap: 3px; }
.cal-day-bars i { height: 6px; display: block; background: var(--src-other); }
.cal-day-bars i.is-first { margin-left: 30%; border-radius: 3px 0 0 3px; }
.cal-day-bars i.is-last { margin-right: 8%; border-radius: 0 3px 3px 0; }
.cal-day-bars i.apt-1 { opacity: .78; }
.cal-day-bars i.src-booking, .stay-stripe.src-booking { background: var(--src-booking); }
.cal-day-bars i.src-airbnb, .stay-stripe.src-airbnb { background: var(--src-airbnb); }
.cal-day-bars i.src-facebook, .stay-stripe.src-facebook { background: var(--src-facebook); }
.cal-day-bars i.src-instagram, .stay-stripe.src-instagram { background: var(--src-instagram); }
.cal-day-bars i.src-direct, .stay-stripe.src-direct { background: var(--src-direct); }
.cal-day-bars i.src-other, .stay-stripe.src-other { background: var(--src-other); }
.cal-apts { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: 12.5px; }
.cal-list-head { margin: 18px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.stay-card { margin-bottom: 8px; padding: 12px 14px 12px 0; display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.stay-stripe { align-self: stretch; margin: -12px 0; background: var(--src-other); }
.stay-main, .stay-dates { min-width: 0; display: grid; gap: 1px; }
.stay-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stay-dates { text-align: right; }
.stay-main small, .stay-dates small { color: var(--muted); font-size: 12.5px; }

@media (max-width: 720px) {
  .cal-month { display: block; }
  .calendar-wrap { display: none; }
  .wide-wrap .cal-legend { margin-top: 10px; gap: 8px 14px; font-size: 12.5px; }
}

@media (max-width: 620px) {

  /* Tabele kao kartice: jedno polje po redu, naziv lijevo, vrijednost desno */
  .table-wrap { overflow: visible; border: 0; background: none; }
  table.is-cards { min-width: 0; }
  table.is-cards thead { display: none; }
  table.is-cards, table.is-cards tbody, table.is-cards tfoot { display: block; }
  table.is-cards tr { margin-bottom: 10px; padding: 4px 14px 8px; display: block; background: #fff; border: 1px solid var(--line); }
  table.is-cards td { height: auto; padding: 7px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border: 0; border-top: 1px solid #f0f1f5; white-space: normal; text-align: right !important; font-size: 13px; }
  table.is-cards td::before { content: attr(data-label); flex: none; color: var(--muted); font-size: 12.5px; font-weight: 600; text-align: left; }
  table.is-cards td:has(> .cell-sub):not(:first-child) { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
  table.is-cards td:has(> .cell-sub):not(:first-child)::before { grid-row: 1 / span 2; }
  table.is-cards td:has(> .cell-sub):not(:first-child) > * { grid-column: 2; }
  table.is-cards td:not([data-label])::before, table.is-cards td[data-label=""]::before { content: none; }
  table.is-cards td:first-child { padding: 8px 0; border-top: 0; justify-content: flex-start; text-align: left !important; font-size: 15px; }
  table.is-cards td:first-child::before { content: none; }
  table.is-cards td:first-child .cell-sub { display: inline; margin-left: 6px; }
  table.is-cards td:last-child:not([data-label]) { justify-content: flex-end; }
  table.is-cards td:empty { display: none; }
  table.is-cards td.table-empty, table.is-cards td[colspan] { justify-content: center; text-align: center !important; }
  table.is-cards td.table-empty::before { content: none; }
  table.is-cards .bar-col { display: none; }
  table.is-cards tfoot tr { background: #f8f8fb; border-width: 2px; }
  table.is-cards .guest-actions { justify-content: flex-end; }
  .finance-table tr.is-current td { background: none; }
  .res-table { display: none; }
  .res-cards { display: grid; gap: 10px; }
  .finance-table tr.is-current { border-color: var(--gold); background: #fbf7ec; }
  .finance-table tr.is-empty { display: none; }
  .month-switch { gap: 6px; }
  .money-strip { grid-template-columns: 1fr 1fr; }
  .money-strip .money-net { grid-column: 1 / -1; }
  .scan-grid { grid-template-columns: 1fr; }
}

/* Uputstva (iCal i sl.) */
.help-box { margin-top: -10px; padding: 0 14px; border-left: 3px solid var(--gold); background: #fbf8f0; font-size: 12px; color: #4f5568; }
.help-box summary { padding: 10px 0; color: var(--brand); font-weight: 700; cursor: pointer; }
.help-box ol { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 5px; }
.help-box p { margin: 0 0 12px; color: var(--muted); }

/* Kartice rezervacija (telefon) */
.res-card { padding: 14px 16px; display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.res-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.res-card-top strong { min-width: 0; overflow: hidden; font: 700 16px 'Manrope', sans-serif; text-overflow: ellipsis; white-space: nowrap; }
.res-card-sub { color: var(--muted); font-size: 12px; }
.res-card-dates { margin-top: 4px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 10px; align-items: center; background: var(--brand-pale); }
.res-card-dates > span { display: grid; gap: 1px; }
.res-card-dates small { color: var(--muted); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.res-card-dates strong { font-size: 14px; }
.res-arrow { color: var(--gold); font-size: 18px; font-weight: 800; }
.res-nights { min-width: 44px; padding-left: 10px; border-left: 1px solid #d9dce6; text-align: center; }
.res-nights strong { font: 800 18px 'Manrope', sans-serif; color: var(--brand); }
.res-card-money { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 12px; color: var(--muted); }
.res-card-money strong { color: var(--brand); font-size: 14px; }

/* Pregled: danas i naredni dolasci */
.dash-search { margin-bottom: 22px; display: flex; gap: 8px; }
.dash-search input { flex: 1; }
.dash-search .primary-button { min-height: 43px; }
.today { margin-bottom: 24px; }
.today-head { margin-bottom: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.today-head h2 { margin: 0; font-size: 24px; }
.today-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 5px 10px; background: var(--brand-pale); color: var(--brand); font-size: 12px; font-weight: 700; }
.chip-out { background: #fff3df; color: #956c2d; }
.chip-in { background: #e7f2e3; color: #4f793e; }
.today-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.apt-day { padding: 18px 20px; background: #fff; border: 1px solid var(--line); }
.apt-day.is-turnover { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.apt-day header { margin-bottom: 10px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.apt-day header strong { font: 700 17px 'Manrope', sans-serif; }
.is-turnover-pill { background: #f6edd8; color: #6f5418; }
.is-busy { background: var(--brand-pale); color: var(--brand); }
.apt-events { margin: 0; padding: 0; display: grid; list-style: none; }
.ev { padding: 9px 0; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; border-top: 1px solid #f0f1f5; font-size: 13px; }
.ev > span:last-child { display: grid; gap: 1px; }
.ev b { color: var(--muted); font-size: 11.5px; letter-spacing: .5px; text-transform: uppercase; }
.ev a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ev a:hover { color: var(--brand); text-decoration: underline; }
.ev small { color: var(--muted); font-size: 12.5px; }
.ev small::first-letter { text-transform: uppercase; }
.ev-icon { width: 26px; height: 26px; display: grid; place-items: center; background: var(--brand-pale); color: var(--brand); font-weight: 800; }
.ev-out .ev-icon { background: #fff3df; color: #956c2d; }
.ev-in .ev-icon { background: #e7f2e3; color: #4f793e; }
.ev-next .ev-icon { background: #f6edd8; color: #8a6a24; }
.ev-none { color: var(--muted); }
.upcoming { margin-bottom: 24px; }
.upcoming .section-title { margin-bottom: 10px; }
.upcoming h2 { margin: 0; }
.arrival { margin-bottom: 8px; padding: 10px 14px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.arrival:hover { border-color: #c9cddb; }
.arrival-date { padding: 4px 0; display: grid; text-align: center; background: var(--brand); color: #fff; }
.arrival-date strong { font: 800 19px/1.1 'Manrope', sans-serif; }
.arrival-date small { color: var(--gold); font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.arrival-main { min-width: 0; display: grid; }
.arrival-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arrival-main small, .arrival-when small { color: var(--muted); font-size: 12.5px; }
.arrival-when { display: grid; justify-items: end; gap: 3px; }
@media (max-width: 620px) {
  .today-grid { grid-template-columns: 1fr; }
  .dash-search .primary-button { padding: 0 14px; }
}

/* Boravišna taksa */
.tax-split { display: grid; justify-items: end; gap: 3px; color: #aeb6d6; font-size: 12px; font-weight: 600; }
.tax-stays-title { margin-top: 28px; flex-wrap: wrap; gap: 10px; }
.tax-stays-title h2 { margin: 0; }
.tax-stays-title form { margin: 0; }
.status-toggle { border: 0; font-family: 'DM Sans', sans-serif; cursor: pointer; }
.status-toggle:hover { filter: brightness(.96); text-decoration: underline; }
td form { margin: 0; }
.tax-box { margin-bottom: 20px; padding: 16px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #e0b25a; }
.tax-box.is-reported { border-left-color: #6a9a52; }
.tax-box > div { display: grid; gap: 2px; }
.tax-box strong { font: 700 20px 'Manrope', sans-serif; }
.tax-box small { color: var(--muted); font-size: 12.5px; }
.tax-box form { margin: 0; display: flex; align-items: center; gap: 10px; }
@media (max-width: 620px) { .tax-split { justify-items: start; } .tax-box form { width: 100%; justify-content: space-between; } }

/* ---------- Glavni meni (v2) ---------- */
.topbar { position: sticky; top: 0; z-index: 30; gap: 34px; }
.main-nav { gap: 6px; overflow: visible; }
.main-nav a { height: 100%; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 3px solid transparent; border-top: 3px solid transparent; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.main-nav a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.main-nav a:hover { color: var(--brand); }
.main-nav a.is-active { color: var(--brand); border-bottom-color: var(--gold); }
.user-actions { gap: 12px; }
.new-res { min-height: 38px; padding: 0 14px; gap: 6px; }
.new-res > span:first-child { font-size: 17px; line-height: 1; }
.user-menu { position: relative; }
.user-menu > summary { padding: 4px 12px 4px 4px; display: flex; align-items: center; gap: 9px; list-style: none; border: 1px solid #dfe2ec; border-radius: 999px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover, .user-menu[open] > summary, .user-menu.is-active > summary { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 177, 106, .18); }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #2f3f7e); color: var(--gold); font: 800 12px 'Manrope', sans-serif; letter-spacing: .5px; }
.user-menu .user-name { max-width: 160px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.user-menu .chev { color: var(--muted); font-size: 12.5px; }
.user-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; min-width: 210px; padding: 6px; display: grid; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow), 0 4px 12px rgba(20, 26, 46, .06); }
.user-dropdown a, .user-dropdown button { width: 100%; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--ink); font: 600 13px 'DM Sans', sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--brand-pale); }
.user-dropdown form { margin: 0; border-top: 1px solid var(--line); }
.user-dropdown button { color: #9e3f2a; }
.money-tabs { margin: -20px 0 26px; display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.money-tabs a { padding: 10px 16px; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.money-tabs a:hover { color: var(--brand); }
.money-tabs a.is-active { color: var(--brand); border-bottom-color: var(--gold); }

@media (max-width: 980px) {
  .topbar { gap: 18px; }
  .main-nav a { padding: 0 8px; }
  .main-nav a span { display: none; }
  .main-nav a svg { width: 21px; height: 21px; }
}

@media (max-width: 620px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .topbar { min-height: 60px; height: 60px; padding: 0 14px; flex-wrap: nowrap; }
  .user-menu .user-name, .user-menu .chev, .new-res-text { display: none; }
  .user-menu > summary { padding: 3px; }
  .new-res { min-height: 36px; width: 36px; padding: 0; border-radius: 50%; }
  /* Donja traka kao u aplikacijama */
  .main-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: calc(64px + env(safe-area-inset-bottom)); margin: 0; padding: 0 4px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; order: 0; width: auto; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 26, 46, .06); }
  .main-nav a { height: 64px; padding: 0; flex-direction: column; justify-content: center; gap: 3px; border: 0; border-top: 3px solid transparent; font-size: 11.5px; }
  .main-nav a span { display: block; }
  .main-nav a svg { width: 22px; height: 22px; }
  .main-nav a.is-active { border-top-color: var(--gold); border-bottom: 0; background: linear-gradient(180deg, #f8f4ea, #fff); }
  .money-tabs { margin: -12px 0 20px; overflow: hidden; }
  .money-tabs a { flex: 1; padding: 10px 4px; text-align: center; font-size: 12px; }
  .user-dropdown { position: fixed; top: 62px; right: 10px; left: 10px; }
}

/* Profilna slika */
img.avatar { padding: 0; object-fit: cover; background: #fff; }
.avatar-section { margin-bottom: 20px; display: flex; align-items: center; gap: 24px; }
.avatar-preview { width: 104px; height: 104px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; border: 3px solid var(--gold); background: linear-gradient(135deg, var(--brand), #2f3f7e); color: var(--gold); font: 800 32px 'Manrope', sans-serif; }
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-body h2 { margin-bottom: 2px; }
.avatar-body .inline-actions form { margin: 0; }
@media (max-width: 620px) { .avatar-section { flex-direction: column; text-align: center; } .avatar-body .inline-actions { justify-content: center; } }

/* Kalendar: izbor perioda za novu rezervaciju */
.cal-hint { margin: -14px 0 14px; color: var(--muted); font-size: 14px; }
.cal-free { width: 100%; height: 100%; min-height: 44px; display: block; border: 0; background: transparent; cursor: pointer; }
.cal-free:hover { background: var(--brand-pale); }
.cal-free.in-range, .cal-day.in-range { background: #f3e7c9 !important; }
.cal-free.is-range-start, .cal-day.is-range-start { box-shadow: inset 4px 0 0 var(--gold); }
.cal-free.is-range-end, .cal-day.is-range-end { box-shadow: inset -4px 0 0 var(--brand); background: #e4e7f2 !important; }
.range-bar { position: sticky; bottom: 14px; z-index: 20; margin: 14px 0; padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--gold); box-shadow: var(--shadow); font-size: 15px; }
.range-text small { color: var(--muted); font-size: 13px; }
.range-actions { display: flex; gap: 10px; }
@media (max-width: 620px) {
  .range-bar { position: fixed; left: 10px; right: 10px; bottom: calc(74px + env(safe-area-inset-bottom)); margin: 0; }
  .range-actions { width: 100%; }
  .range-actions > * { flex: 1; }
  body.has-range-bar { padding-bottom: 190px; }
}

/* Admin panel */
.admin-metrics { margin-bottom: 22px; }
.admin-table td { vertical-align: top; }
.admin-delete > summary { list-style: none; display: inline-flex; }
.admin-delete > summary::-webkit-details-marker { display: none; }
.admin-delete-form { margin-top: 10px; padding: 14px; display: grid; gap: 10px; max-width: 320px; margin-left: auto; text-align: left; background: #fff8f5; border: 1px solid #f0c9bd; font-size: 13px; }
.admin-delete-form p { margin: 0; }
.admin-note { margin-top: 16px; }
@media (max-width: 620px) { .admin-delete-form { max-width: none; } }
.status-pill.is-blocked { background: #fbe3dc; color: #9e3f2a; margin-left: 4px; }
.admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-start; gap: 8px; }
@media (max-width: 620px) { .admin-actions { justify-content: stretch; } .admin-actions > * { flex: 1; } }

/* Prikaz lozinke */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 84px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); min-height: 32px; padding: 0 10px; border: 0; background: var(--brand-pale); color: var(--brand); font: 700 12px 'DM Sans', sans-serif; cursor: pointer; }
.pw-toggle:hover { background: #e4e7f2; }

/* Akcije tekstom umjesto ikonica */
.text-action { min-height: 36px; padding: 0 10px; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; color: var(--brand); font: 700 13px 'DM Sans', sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.text-action:hover { background: var(--brand-pale); }
.text-action.danger-text { color: #a34837; }
.text-action.has-scan { border-color: var(--gold); }
.guest-actions { flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

/* Poruka "Sačuvano" */
.toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; max-width: calc(100vw - 24px); padding: 12px 10px 12px 18px; display: flex; align-items: center; gap: 12px; background: #2f5a24; color: #fff; font-size: 15px; font-weight: 600; box-shadow: var(--shadow); transition: opacity .4s, transform .4s; }
.toast button { min-height: 32px; padding: 0 8px; border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.toast.is-gone { opacity: 0; transform: translate(-50%, -20px); pointer-events: none; }
.range-warn { color: #a34837 !important; font-weight: 700; }

/* Rezervacije: aktuelne gore, završene dolje i posivljene */
.res-group + .res-group { margin-top: 34px; }
.res-group-title { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font: 700 18px 'Manrope', sans-serif; color: var(--ink); }
.is-past-group .res-group-title { color: var(--muted); }
.res-card.is-past, tr.is-past { opacity: .62; filter: grayscale(.8); }
.res-card.is-past:hover, tr.is-past:hover { opacity: 1; filter: none; }
.status-pill.is-ended { background: #ecedf1; color: #6b7083; margin-left: 4px; }
.status-pill.is-now { background: var(--gold); color: var(--brand); margin-left: 4px; }
.res-card-top { justify-content: flex-start; } .res-card-top .source-tag { margin-left: auto; flex: none; }

/* Prvi koraci */
.first-steps { margin-bottom: 26px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); }
.first-steps-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.first-steps-head h2 { margin: 0; font: 700 20px 'Manrope', sans-serif; }
.first-steps-head p { margin: 4px 0 0; }
.steps-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.steps-list li { padding: 12px 14px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; border: 1px solid var(--line); }
.steps-list li.is-next { border-color: var(--gold); background: #fffbf1; }
.steps-list li.is-done { opacity: .6; }
.steps-list li.is-done strong { text-decoration: line-through; }
.step-num { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-pale); color: var(--brand); font: 700 15px 'Manrope', sans-serif; }
.is-done .step-num { background: #e3efdc; color: #3e6630; }
.is-next .step-num { background: var(--gold); color: var(--brand); }
.step-text strong { font-size: 15px; }
.step-text small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.step-optional { margin-left: 4px; padding: 2px 6px; background: #f2f2f5; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.small-link { margin-left: 10px; font-size: 14px; font-weight: 600; }
@media (max-width: 620px) {
  .first-steps { padding: 16px; }
  .steps-list li { grid-template-columns: 32px 1fr; }
  .steps-list li > a { grid-column: 1 / -1; width: 100%; }
}
.secondary-button.compact { min-height: 42px; }
.section-help { margin: 6px 0 0; font-size: 14px; max-width: 46ch; }
.more-details { border: 1px solid var(--line); background: #fbfbfd; }
.more-details > summary { padding: 14px 16px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--brand); }
.more-details > summary small { margin-left: 6px; color: var(--muted); font-weight: 500; font-size: 13px; }
.more-details[open] > summary { border-bottom: 1px solid var(--line); }
.more-details-body { padding: 16px; display: grid; gap: 16px; }
.form-help { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.count-pill { width: auto; min-width: 24px; padding: 0 7px; }

/* Finansije po stanovima */
.apt-filter { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.apt-filter-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.apt-filter a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; color: var(--brand); font-weight: 700; font-size: 14px; text-decoration: none; }
.apt-filter a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.apt-filter-note { margin: -4px 0 16px; font-size: 14px; }
.apt-compare { margin: 26px 0; }
.compare-bar { display: block; height: 5px; margin-top: 6px; background: #eef0f6; }
.compare-bar i { display: block; height: 100%; background: var(--gold); }
td.is-negative { color: #a34837; }
.apt-filter-totals a { min-height: 52px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; }
.apt-filter-totals a small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.apt-filter-totals a.is-active small { color: #d7dbef; }
.range-conflict { margin-top: 10px; padding: 10px 12px; background: #fff8ec; border-left: 4px solid var(--gold); font-size: 14px; }
.range-conflict.is-blocking { background: #fff1ed; border-left-color: #c0573f; }
.range-conflict ul { margin: 6px 0; padding-left: 18px; }
.range-conflict li { margin: 2px 0; }
.range-conflict small { color: var(--muted); font-size: 13px; }
.range-bar { max-height: 60vh; overflow: auto; }
/* Kartice rezervacija nikad šire od ekrana: dugo ime se skrati sa "…" */
.res-cards { grid-template-columns: minmax(0, 1fr); }
.res-card { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.res-card > * { min-width: 0; }
.res-card-top strong { flex: 1 1 auto; }
.res-card-top .status-pill { flex: none; }
.res-group, .res-group .table-wrap { min-width: 0; max-width: 100%; }
.apt-filter + .cal-hint { margin-top: 4px; }

/* Aplikacija na telefonu */
.app-install { margin-bottom: 22px; }
.app-buttons { margin: 12px 0; flex-wrap: wrap; }
.app-steps { margin-top: 10px; padding: 12px 16px; background: #fbfbfd; border: 1px solid var(--line); font-size: 15px; }
.app-steps ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
/* u instaliranoj aplikaciji na iPhoneu sadržaj ne ide ispod statusne trake */
.app-steps-list { display: grid; gap: 8px; margin-top: 10px; }
.app-steps { margin-top: 0; padding: 0; }
.app-steps > summary { padding: 12px 16px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--brand); }
.app-steps[open] > summary { border-bottom: 1px solid var(--line); }
.app-steps ol { margin: 10px 16px 12px; }
.app-note { margin: 0 16px 14px; padding: 10px 12px; background: #fff8ec; border-left: 3px solid var(--gold); color: #5d5a4f; font-size: 13.5px; }

/* ===== "Glass" izgled kao u iOS aplikacijama (radi i na Androidu) ===== */
/* zamućenje je na ::before, ne na samoj traci: filter na roditelju bi "zarobio" donju traku (position: fixed) */
.topbar { background: transparent; border-bottom-color: rgba(27, 37, 80, .08); }
.topbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
@media (max-width: 620px) {
  /* gornja traka ne ide ispod statusne trake / "notcha" */
  .topbar { height: calc(60px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top);
            padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .user-dropdown { top: calc(64px + env(safe-area-inset-top)); }

  /* donja traka: plutajuća "staklena" kapsula iznad linije za početni ekran */
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .main-nav {
    left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    height: 66px; padding: 5px; border-radius: 26px;
    background: rgba(255, 255, 255, .62);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 12px 32px rgba(27, 37, 80, .18), 0 2px 6px rgba(27, 37, 80, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  }
  .main-nav a { height: 56px; border: 0; border-radius: 20px; color: #59607a; transition: background .2s, color .2s; }
  .main-nav a.is-active { background: rgba(27, 37, 80, .09); color: var(--brand); border: 0; }
  .main-nav a.is-active svg { stroke: var(--brand); }
  .main-nav a.is-active::after { content: ''; width: 5px; height: 5px; margin-top: 1px; border-radius: 50%; background: var(--gold); }
  .main-nav a:active { transform: scale(.94); }

  .range-bar { bottom: calc(86px + env(safe-area-inset-bottom)); border-radius: 18px;
               background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  body.has-range-bar { padding-bottom: calc(210px + env(safe-area-inset-bottom)); }
  .toast { top: calc(12px + env(safe-area-inset-top)); border-radius: 16px; }
}
/* stariji preglednici bez zamućenja: puna bijela pozadina */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar::before, .main-nav, .range-bar { background: #fff; }
}

/* Dijeljenje stanova */
.share-section .stack-form { max-width: 520px; }
.check-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-group legend { font-weight: 700; margin-bottom: 8px; }
.check-row input { width: 20px; height: 20px; accent-color: var(--brand); }
.invite-card { margin: 14px 0 22px; padding: 18px; border-radius: 18px; background: var(--brand-pale); border: 1px solid rgba(27, 37, 80, .1); }
.invite-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #59607a; }
.invite-code { margin: 4px 0 6px; font: 700 clamp(26px, 7vw, 34px) 'DM Sans', monospace; letter-spacing: .06em; color: var(--brand); user-select: all; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.share-button { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(27, 37, 80, .14); background: #fff; color: var(--brand); font: 700 14px 'DM Sans', sans-serif; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.share-button.is-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.share-button.is-viber { background: #7360f2; border-color: #7360f2; color: #fff; }
.share-button.is-done { background: #e7f2e3; color: #4f793e; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(27, 37, 80, .08); }
.plain-list li:first-child { border-top: 0; }
.plain-list .chip { margin-left: 6px; }
.invite-list, .share-section + .content-section h3 { margin-top: 18px; }
.join-form input { text-transform: uppercase; letter-spacing: .08em; }
.author-note { display: block; margin-top: 6px; font-size: 13px; color: #6b7083; }
.shared-badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff3df; color: #956c2d; font-size: 12px; font-weight: 700; }
@media (max-width: 620px) {
  .plain-list li { flex-direction: column; align-items: stretch; }
  .share-buttons .share-button { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

/* Čišćenje */
.clean-summary { display: flex; gap: 8px; margin: -6px 0 18px; }
.clean-day { margin-bottom: 22px; }
.clean-day-title { display: flex; align-items: baseline; gap: 10px; font-size: 20px; margin: 0 0 10px; }
.clean-day-title small { font-size: 14px; font-weight: 500; color: #6b7083; }
.clean-task { background: #fff; border: 1px solid rgba(27, 37, 80, .1); border-radius: 18px; padding: 16px; margin-bottom: 10px; display: grid; gap: 10px; }
.clean-task header { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.clean-task header strong { font-size: 17px; }
.clean-task.is-urgent { border-color: var(--gold); box-shadow: inset 4px 0 0 var(--gold); }
.clean-task.is-overdue { box-shadow: inset 4px 0 0 #c4563d; }
.clean-task.is-clean { opacity: .72; }
.clean-task .apt-events { margin: 0; }
.clean-action button { width: 100%; }
@media (min-width: 621px) { .clean-action button { width: auto; } }
.ev-clean form { display: inline; }
.role-option { align-items: flex-start; padding: 12px; border: 1px solid rgba(27, 37, 80, .12); border-radius: 14px; background: #fff; }
.role-option input { margin-top: 2px; flex: none; }
.role-option small { display: block; margin-top: 3px; color: #6b7083; font-weight: 400; line-height: 1.4; }

/* iCal */
.ical-alert { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 16px; border-radius: 16px; background: var(--brand-pale); border: 1px solid rgba(27, 37, 80, .1); }
.ical-alert p { margin: 4px 0 0; color: #59607a; }
.ical-alert.is-missing { background: #fff1ed; border-color: #f1c7bb; }
.ical-attention { background: #fff; border: 1px solid rgba(27, 37, 80, .1); border-radius: 18px; padding: 16px 18px; margin-bottom: 18px; }
.ical-attention h2 { font-size: 18px; margin: 0 0 6px; }
.warn-text { color: #9e3f2a; font-weight: 700; }
.export-links { display: grid; gap: 10px; margin: 6px 0 4px; }
.export-link { display: grid; gap: 6px; }
.export-link input { font-size: 13px; color: #59607a; }
.sync-status { margin: 4px 0 0; }
.forgot-link { justify-self: end; margin-top: -6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.push-state { font-weight: 600; margin: 6px 0 12px; }
.push-settings { margin-top: 16px; max-width: 420px; }

/* Bilješke o gostu */
.history-box { padding: 14px 16px; margin-bottom: 16px; border-radius: 16px; background: #f3f6ee; border: 1px solid #d9e6cf; }
.history-box.is-warn { background: #fff1ed; border-color: #f1c7bb; }
.history-box ul { margin: 8px 0 0; padding-left: 18px; }
.history-box li { margin: 4px 0; }
.history-box > summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; list-style: none; cursor: pointer; }
.history-box > summary::-webkit-details-marker { display: none; }
.history-toggle { margin-left: auto; color: var(--brand); font-size: 14px; font-weight: 700; }
.history-toggle::after { content: 'Prikaži ▾'; }
.history-box[open] .history-toggle::after { content: 'Sakrij ▴'; }
.flag-choice { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.guest-note-section { margin-top: 18px; }

/* Poređenje */
.trend-lines { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 8px; }
.trend-lines li { line-height: 1.6; }
.delta { display: inline-block; margin: 0 4px; padding: 1px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #ecedf1; color: #59607a; }
.delta.is-up { background: #e7f2e3; color: #3f6b2f; }
.delta.is-down { background: #fbe3dc; color: #9e3f2a; }
.trend-note { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }

/* Uvoz iz tabele */
.import-table tr.import-error td { background: #fff6f3; }
.status-pill.is-ok { background: #e7f2e3; color: #4f793e; }
.import-confirm { margin-top: 16px; }

/* Čitanje MRZ-a sa dokumenta */
.mrz-status { margin: 0; padding: 9px 12px; font-size: 13.5px; background: var(--brand-pale); color: var(--brand); }
.mrz-status[data-kind="busy"]::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: mrz-spin .8s linear infinite; vertical-align: -1px; }
.mrz-status[data-kind="ok"] { background: #e7f2e3; color: #3f6a30; }
.mrz-status[data-kind="warn"] { background: #fff3df; color: #7d5a22; }
.mrz-read { justify-self: start; }
.is-autofilled { box-shadow: 0 0 0 2px var(--gold) !important; transition: box-shadow .4s; }
@keyframes mrz-spin { to { transform: rotate(360deg); } }

/* Mjesečni izvještaj (ekran + štampa) */
.report-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.report-tools select { min-height: 40px; }
.report-sheet { min-width: 0; max-width: 100%; background: #fff; border: 1px solid var(--line); padding: 28px 30px; }
.report-page > * { min-width: 0; }
.report-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--brand); padding-bottom: 12px; margin-bottom: 16px; }
.report-head h1 { margin: 2px 0; }
.report-generated { font-size: 12px; text-align: right; }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.report-kpis div { padding: 10px 12px; background: var(--brand-pale); display: grid; gap: 2px; }
.report-kpis span { font-size: 12px; color: var(--muted); font-weight: 700; }
.report-kpis strong { font: 700 19px 'Manrope', sans-serif; color: var(--brand); }
.report-kpis .is-negative { color: #a34837; }
.report-kpis small { font-size: 11.5px; color: var(--muted); }
.report-sheet h2 { font-size: 17px; margin: 22px 0 8px; }
.report-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 13px; }
.report-table th, .report-table td { height: auto; padding: 6px 8px; border-top: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; white-space: normal; }
.report-wide td:nth-child(-n+2) { white-space: nowrap; }
.report-table th { background: none; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.report-table th.align-right, .report-table td.align-right { text-align: right; }
.report-table tfoot td { font-weight: 700; border-top: 2px solid var(--brand); border-bottom: 0; }
.report-summary { max-width: 520px; }
.report-summary .strong-row td { font-weight: 700; }
.report-categories { display: block; font-weight: 400; font-size: 12px; }
.report-note { font-size: 12px; margin: 10px 0 0; }
@media (max-width: 720px) {
  .report-sheet { padding: 16px 12px; }
  .report-scroll { overflow-x: auto; margin: 0 -12px; padding: 0 12px; }
  .report-kpis { grid-template-columns: repeat(2, 1fr); }
  .report-table { font-size: 12px; }
  .report-wide { min-width: 560px; }
}
@media print {
  @page { size: A4; margin: 14mm 12mm; }
  body.report-body { background: #fff !important; padding: 0 !important; }
  .report-body .topbar, .report-body .main-nav, .report-body .no-print, .report-body .toast { display: none !important; }
  .report-page { padding: 0 !important; margin: 0 !important; max-width: none !important; }
  .report-sheet { border: 0; padding: 0; overflow: visible; }
  .report-table { min-width: 0 !important; font-size: 11px; }
  .report-table tr { break-inside: avoid; }
  .report-kpis div { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.report-link { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.danger-zone { margin-top: 28px; border-color: #f0c9bf; }

/* Povuci dolje za osvježavanje (instalirana aplikacija) */
.ptr { position: fixed; top: env(safe-area-inset-top, 0px); left: 50%; z-index: 120; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy, #1b2550); box-shadow: 0 2px 10px rgba(0,0,0,.18); transform: translate(-50%, -50px); opacity: 0; pointer-events: none; }
.ptr-icon { font-size: 22px; font-weight: 700; line-height: 1; }
.ptr-ready { color: #fff; background: var(--navy, #1b2550); }
.ptr-back { transition: transform .25s, opacity .25s; }
.ptr-loading { opacity: 1; transition: transform .2s; }
.ptr-loading .ptr-icon { animation: ptr-spin .8s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }
.toast-warn { background: #8a5a00; }

/* Telefon: bez slučajnog zumiranja i pomjeranja ekrana */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@media (max-width: 850px) {
  /* iPhone zumira polja sa slovima manjim od 16px i ostane zumiran */
  input, select, textarea, .flatpickr-input, .export-link input { font-size: 16px; }
}
@media (max-width: 620px) {
  /* dok je tastatura otvorena, donja traka se sklanja (na iPhone-u inače "skače" iznad tastature) */
  body.kbd-open .main-nav { display: none; }
}

/* Početna: Danas → Dolasci → Finansije → kartice → Booking/Airbnb */
.finance-band + .metric-grid, .metric-grid + .ical-attention { margin-top: 24px; }

/* Rezervacije: pretraga i stranice završenih */
.res-search { margin: 0 0 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.res-search input[type=search] { flex: 1 1 240px; width: auto; }
.res-search select { flex: 0 1 170px; width: auto; }
.res-search-empty { margin: 0 0 24px; }
.pager { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pager .muted { flex: 1; text-align: center; font-size: 14px; }
@media (max-width: 620px) {
  .res-search select { flex: 1 1 45%; }
  .res-search button { flex: 1 1 100%; }
}
