/* ---------- Shared page shell for reservation/auth/profile/staff pages ---------- */
.page-hero {
  background: var(--dark);
  color: var(--text-light);
  padding: 64px 0 40px;
}
.page-hero .overline { color: var(--gold-light); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 44px);
  margin-top: 10px;
}
.page-hero p {
  margin-top: 12px;
  color: rgba(245,240,230,0.8);
  max-width: 560px;
}

.page-body {
  padding: 48px 0 80px;
  min-height: 40vh;
}

/* ---------- Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  background: #fff;
  color: var(--text-dark);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  max-width: 460px;
}
.card.wide { max-width: 720px; }

.form-msg {
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.form-msg.error { background: rgba(200,60,60,0.1); color: #a4302e; }
.form-msg.success { background: rgba(60,150,90,0.12); color: #2c6e42; }
.form-msg[hidden] { display: none; }

/* ---------- Tabs (login/register) ---------- */
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.auth-tab {
  padding: 10px 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.auth-tab.active {
  color: var(--gold);
  border-color: var(--gold);
}
.auth-panel[hidden] { display: none; }

/* ---------- Date + zone picker ---------- */
.picker-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.picker-bar .field { margin-bottom: 0; min-width: 160px; }

.zone-tabs {
  display: flex;
  gap: 8px;
}
.zone-tab {
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
}
.zone-tab.active {
  background: var(--dark);
  color: var(--text-light);
  border-color: var(--dark);
}

/* ---------- Table grid ---------- */
.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}
.table-tile {
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 14px 10px;
  text-align: center;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}
.table-tile .label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.table-tile.selected .label { color: var(--dark); }
.tables-preview .table-tile { cursor: default; }
.tables-preview .table-tile:hover:not(.taken) { border-color: rgba(0,0,0,0.15); }

.prep-notice {
  border: 1px solid var(--gold);
  background: rgba(201,160,78,0.1);
  border-radius: 6px;
  padding: 22px 26px;
  margin-bottom: 32px;
}
.prep-notice[hidden] { display: none; }
.prep-notice h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 8px;
}
.prep-notice p { font-size: 15px; line-height: 1.6; }
.prep-notice a { color: var(--gold); font-weight: 700; }

.table-tile .code {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 16px;
  display: block;
}
.table-tile .cap {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}
.table-tile:hover:not(.taken) { border-color: var(--gold); }
.table-tile.selected {
  background: var(--gold);
  border-color: var(--gold);
}
.table-tile.selected .cap { color: var(--dark); }
.table-tile.taken {
  background: var(--cream-2);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.55;
}
.table-tile.taken .cap { color: var(--text-muted); }

.zone-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 28px 0 12px;
}
.zone-heading:first-child { margin-top: 0; }

/* ---------- Reservation summary / list ---------- */
.res-list { display: flex; flex-direction: column; gap: 14px; }
.res-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.res-row .res-main { flex: 1; min-width: 200px; }
.res-row h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 4px; }
.res-row .res-meta { font-size: 12.5px; color: var(--text-muted); }

.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge.booked { background: rgba(201,160,78,0.18); color: #8a6c2c; }
.badge.arrived { background: rgba(60,150,90,0.15); color: #2c6e42; }
.badge.expired { background: rgba(120,120,120,0.15); color: #666; }
.badge.cancelled { background: rgba(200,60,60,0.12); color: #a4302e; }

.btn-plain {
  background: none;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-plain:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Profile ---------- */
.points-card {
  background: var(--dark);
  color: var(--text-light);
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.points-stat .num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
}
.points-stat .label {
  font-size: 11.5px;
  letter-spacing: 1px;
  color: rgba(245,240,230,0.7);
}

.simple-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.simple-header .header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.simple-header .simple-nav { display: flex; gap: 20px; align-items: center; font-size: 12.5px; font-weight: 600; letter-spacing: 1px; }
.simple-header .simple-nav a:hover { color: var(--gold); }
.simple-header .simple-nav { margin-left: auto; }

@media (max-width: 640px) {
  .simple-header .header-inner { height: auto; flex-wrap: wrap; row-gap: 8px; column-gap: 16px; padding-top: 10px; padding-bottom: 10px; }
  .simple-header .logo img { height: 44px; }
  .simple-header .lang-switch { margin-left: auto; }
  .simple-header .simple-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; font-size: 11px; letter-spacing: 0.5px; }
}

/* ---------- Staff table editor ---------- */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.table-editor { max-height: 420px; overflow-y: auto; border: 1px solid rgba(0,0,0,0.1); border-radius: 6px; }
.table-editor table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-editor th, .table-editor td { padding: 8px 12px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.06); }
.table-editor input[type="number"] { width: 70px; padding: 6px 8px; }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .points-card { flex-direction: column; gap: 16px; }
}

/* ---------- Ulaznice (ulaznice.html + profil) ---------- */
.ticket-events { display: flex; flex-direction: column; gap: 28px; }
.ticket-event {
  display: flex;
  gap: 28px;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  scroll-margin-top: 100px;
}
.ticket-poster { width: 220px; flex: 0 0 220px; height: auto; align-self: flex-start; border-radius: 4px; }
.ticket-body { flex: 1; min-width: 0; }
.ticket-body .overline { color: var(--gold); }
.ticket-body h2 { font-family: var(--serif); font-size: 28px; margin: 6px 0 8px; }
.ticket-price { font-weight: 600; margin-bottom: 12px; }
.ticket-desc { color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; white-space: pre-line; }
.ticket-note { color: var(--text-muted); margin-top: 8px; }
.ticket-form[hidden] { display: none; }
.ticket-form { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 12px; }
.ticket-form label { font-size: 13px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.ticket-form select { font-family: var(--sans); font-size: 14.5px; padding: 8px 12px; border: 1px solid rgba(0,0,0,0.15); border-radius: 4px; background: #fff; }

.my-tickets { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.my-ticket {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.my-ticket .qr { width: 132px; height: 132px; flex: 0 0 132px; image-rendering: pixelated; cursor: zoom-in; }
.my-ticket .info { flex: 1; min-width: 0; }
.my-ticket h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 4px; }
.my-ticket .code { font-family: ui-monospace, Consolas, monospace; font-size: 16px; font-weight: 700; letter-spacing: 1px; margin: 6px 0; }
.my-ticket .meta { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.my-ticket .actions { margin-top: 10px; }
.badge.reserved { background: rgba(201,160,78,0.18); color: #8a6c2c; }
.badge.sold { background: rgba(60,150,90,0.15); color: #2c6e42; }
.badge.used { background: rgba(120,120,120,0.15); color: #666; }

.qr-zoom { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 200; cursor: zoom-out; color: #fff; gap: 14px; }
.qr-zoom img { width: min(80vw, 420px); height: auto; background: #fff; padding: 12px; border-radius: 6px; image-rendering: pixelated; }
.qr-zoom .code { font-family: ui-monospace, Consolas, monospace; font-size: 22px; letter-spacing: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(0,0,0,0.15); border-radius: 20px; font-size: 13px; background: #fff; cursor: pointer; }
.chip input { margin: 0; }
.field-title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; }
.link-btn { background: none; border: none; padding: 0; color: var(--gold); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }

@media (max-width: 640px) {
  .ticket-event { flex-direction: column; padding: 18px; gap: 16px; }
  .ticket-poster { width: 100%; flex-basis: auto; }
  .ticket-body h2 { font-size: 24px; }
  .my-ticket { flex-direction: column; align-items: flex-start; }
  .my-ticket .qr { width: 160px; height: 160px; flex-basis: auto; }
}

/* Profil: "Moji podaci" su sklopljeni dok gost ne klikne */
.my-data { margin-top: 48px; }
.my-data > summary {
  font-family: var(--serif);
  font-size: 1.17em;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.my-data > summary::-webkit-details-marker { display: none; }
.my-data > summary::after {
  content: '▾';
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s ease;
}
.my-data[open] > summary::after { transform: rotate(180deg); }
.my-data > summary:hover { color: var(--gold); }

/* Stranica aplikacija.html */
.app-download { display: flex; align-items: center; gap: 28px; background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); max-width: 640px; margin-bottom: 40px; }
.app-download [hidden] { display: none !important; }
.app-icon { width: 120px; height: 120px; border-radius: 26px; flex: 0 0 120px; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.app-download h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 4px; }
.app-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.app-steps-title { font-family: var(--serif); margin-bottom: 14px; }
.app-steps { max-width: 640px; padding-left: 22px; line-height: 1.7; margin-bottom: 20px; }
.app-steps li { margin-bottom: 8px; }
.app-note { color: var(--text-muted); font-size: 14px; }
@media (max-width: 640px) {
  .app-download { flex-direction: column; text-align: center; padding: 22px; gap: 16px; }
}

/* ---------- Sinnerman kartica (lojalnost) ---------- */
.loyalty { margin-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.loy-card { background: var(--dark); color: var(--text-light); border-radius: 10px; padding: 22px; display: flex; gap: 22px; align-items: center; }
.loy-card h3 { font-family: var(--serif); color: var(--gold-light); margin: 2px 0 6px; }
.loy-card .overline { color: var(--gold); margin: 0; }
.loy-qr { width: 150px; height: 150px; background: #fff; border-radius: 6px; padding: 4px; cursor: zoom-in; flex: 0 0 auto; }
.loy-hint { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.loy-card .loy-hint { color: rgba(245,240,230,0.75); }
.loy-ok { color: #8fd18f; font-size: 13px; margin: 8px 0 0; }
.loy-rewards { display: flex; flex-direction: column; gap: 8px; }
.loy-reward { border: 2px solid var(--gold); background: rgba(201,160,78,0.1); border-radius: 8px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.loy-reward span { font-size: 12.5px; color: var(--text-muted); }
.loy-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.loy-row { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .5px; margin-bottom: 6px; }
.loy-bar { height: 10px; border-radius: 5px; background: rgba(0,0,0,0.08); overflow: hidden; }
.loy-bar span { display: block; height: 100%; background: var(--gold); border-radius: 5px; }
.loy-progress small { display: block; margin-top: 6px; color: var(--text-muted); font-size: 12px; }
.loy-receipt { border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.loy-receipt h4 { margin: 0; font-family: var(--serif); }
.loy-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.loy-photo { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.loy-link { display: flex; gap: 8px; }
.loy-link input { flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px; }
.loy-cam { position: fixed; inset: 0; z-index: 1000; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.loy-cam video { width: 100%; max-height: 75vh; object-fit: contain; }
.loy-cam-frame { position: absolute; width: min(70vw, 60vh); aspect-ratio: 1; border: 3px solid var(--gold); border-radius: 12px; top: 50%; left: 50%; transform: translate(-50%, -60%); pointer-events: none; }
.loy-cam p { color: #fff; margin: 0; }
.loy-cam .btn-plain { color: #fff; border-color: #fff; }
.loy-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1100; background: var(--dark, #15161b); color: #f5f0e6; border: 1px solid #c9a04e; border-radius: 8px; padding: 12px 18px; font-size: 14px; box-shadow: 0 6px 24px rgba(0,0,0,.35); max-width: calc(100vw - 32px); text-align: center; }
@media (max-width: 640px) {
  .loy-card { flex-direction: column; text-align: center; }
  .loy-qr { width: 190px; height: 190px; }
}
.loy-reward .btn { margin-left: auto; }
.loy-where { flex-basis: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.loy-where[hidden] { display: none; }
.loy-places { display: flex; gap: 8px; flex-wrap: wrap; }
.loy-requested { border-color: #1f7a3a; background: rgba(31,122,58,0.08); align-items: center; flex-wrap: nowrap; gap: 16px; }
.loy-req-code { font-family: var(--serif); font-size: 42px; font-weight: 700; color: #1f7a3a; line-height: 1; }
.loy-req-body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.loy-req-status { font-weight: 600; color: var(--text-dark) !important; font-size: 14px !important; }
.loy-modal { position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.loy-modal-box { background: var(--cream, #f5f0e6); border-radius: 12px; padding: 28px 24px; max-width: 420px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.loy-modal-box h3 { font-family: var(--serif); margin: 0; }
.loy-modal-box p { margin: 0; color: var(--text-muted); }
.loy-modal-icon { font-size: 54px; line-height: 1; }
.loy-modal-box .loy-actions { justify-content: center; }
.loy-reward [hidden] { display: none !important; }

/* ---------- Šema lokala (rezervacija stola) ---------- */
.fp-legend { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0 0 4px; padding: 0; font-size: 13.5px; color: var(--text-muted); }
.fp-legend li { display: flex; align-items: center; gap: 8px; }
.fp-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #2e7d43; background: #e7f6ea; }
.fp-dot.taken { border-color: #8a8a8a; background: #c4c4c4; }
.fp-dot.selected { border-color: #15161b; background: var(--gold-light); }
.fp-hint { color: var(--text-muted); font-size: 14px; margin: -14px 0 18px; }
.fp-hint[hidden] { display: none; }
.fp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 12px; }
.fp-svg { display: block; width: 100%; min-width: 560px; max-width: 760px; height: auto; margin: 0 auto; font-family: var(--sans); }

.fp-wall { stroke: #222; stroke-width: 7; fill: none; stroke-linecap: square; }
.fp-window { stroke: #4a90c8; stroke-width: 9; fill: none; }
.fp-window-in { stroke: #fff; stroke-width: 3; fill: none; }
.fp-door { stroke: #b23a3a; stroke-width: 3; fill: none; }
.fp-door-txt { font-size: 16px; font-weight: 700; fill: #b23a3a; }
.fp-stage { fill: #7a1424; }
.fp-stage-txt { font-family: var(--serif); font-size: 46px; font-weight: 800; fill: #fff; text-anchor: middle; dominant-baseline: central; letter-spacing: 8px; }
.fp-bar { fill: #c9b79c; stroke: #5a4632; stroke-width: 3; }
.fp-bar-txt { font-size: 15px; font-weight: 700; fill: #5a4632; text-anchor: middle; dominant-baseline: central; }
.fp-pillar { fill: #6b6b6b; stroke: #333; stroke-width: 3; }
.fp-bench { fill: #8a6d4b; stroke: #5a4632; stroke-width: 2; }
.fp-bench-txt { font-size: 14px; font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.fp-lamp { fill: #fff6c8; stroke: #b59a2a; stroke-width: 3; }
.fp-chair { fill: #ddd; stroke: #666; stroke-width: 1.5; }
.fp-armchair { fill: #b9a68c; stroke: #5a4632; stroke-width: 2; }

.fp-shape { stroke-width: 3; transition: fill .15s, stroke .15s; }
.fp-g { fill: #e7f6ea; stroke: #2e7d43; }
.fp-b { fill: #e8f0fb; stroke: #2f5d9b; }
.fp-o, .fp-s { fill: #fdf0e1; stroke: #b0651c; }
.fp-c { fill: #f6e7e7; stroke: #9b3b3b; }
.fp-l { fill: #f1e6f7; stroke: #7a3d99; }
.fp-stool { fill: #fff; stroke: #555; stroke-width: 2.5; }
.fp-num { font-size: 24px; font-weight: 700; text-anchor: middle; dominant-baseline: central; fill: #111; pointer-events: none; }
.fp-cap { font-size: 16px; font-weight: 600; fill: #555; dominant-baseline: central; }
.fp-taken-txt { font-size: 12px; font-weight: 700; letter-spacing: .5px; fill: #8a8a8a; }
.fp-stool-txt { font-size: 14px; font-weight: 600; fill: #444; dominant-baseline: central; }

.fp-item.free, .fp-item.selected { cursor: pointer; outline: none; }
.fp-item.free:hover .fp-shape, .fp-item.free:focus-visible .fp-shape { stroke: var(--gold); stroke-width: 6; }
.fp-item.selected .fp-shape { fill: var(--gold-light); stroke: #15161b; stroke-width: 5; }
.fp-item.taken .fp-shape { fill: #c4c4c4; stroke: #8a8a8a; }
.fp-item.taken .fp-num { fill: #6a6a6a; }
.fp-item.taken .fp-chair, .fp-item.taken .fp-armchair { fill: #e2e2e2; stroke: #aaa; }
.fp-item.taken .fp-stool-txt { fill: #9a9a9a; }
.fp-locked .fp-item { cursor: default; }
.fp-locked .fp-item.free:hover .fp-shape { stroke-width: 3; }
.fp-locked .fp-item.free:hover .fp-g { stroke: #2e7d43; }

/* Prozor za rezervaciju */
.fp-modal { position: fixed; inset: 0; z-index: 1050; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.fp-modal[hidden] { display: none; }
.fp-modal-box { position: relative; background: #fff; border-radius: 10px; padding: 28px 26px 24px; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.fp-modal-box h3 { font-family: var(--serif); font-size: 28px; margin: 4px 0 2px; }
.fp-modal-box .overline { font-size: 12px; letter-spacing: 2px; font-weight: 600; margin: 0; }
.fp-modal-sub { color: var(--text-muted); margin: 0 0 18px; font-size: 14px; }
.fp-modal-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: none; background: none; font-size: 28px; line-height: 1; color: var(--text-muted); cursor: pointer; }
.fp-modal-x:hover { color: var(--text-dark); }
.fp-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin-top: 6px; }
.fp-modal-actions .btn { flex: 1 1 auto; text-align: center; }
.field-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.5px; color: var(--text-muted); }
.guest-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.guest-btn { min-width: 56px; height: 48px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.2); background: #fff; font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--text-dark); cursor: pointer; }
.guest-btn:hover { border-color: var(--gold); }
.guest-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }
body.fp-modal-open { overflow: hidden; }
.fp-modal-actions .btn-outline-dark { border: 1px solid var(--dark); color: var(--dark); background: transparent; }
.fp-stamp rect { fill: #3a3a3a; } .fp-stamp text { font-size: 12px; font-weight: 700; letter-spacing: .5px; fill: #fff; text-anchor: middle; dominant-baseline: central; }

/* napomena o uplati za rezervaciju */
.deposit-note { border-left: 3px solid var(--gold, #c9a227); padding: 8px 12px; margin: 14px 0 0; font-size: 14px; background: rgba(201,162,39,.08); }
.fp-modal-box .deposit-note { margin: 0 0 18px; }
