/* A cream app panel floating on a peach-pink backdrop, white cards, amber for
   "you are here / do this", and a few soft accent colours for the charts. */

:root {
  --backdrop: linear-gradient(135deg, #f6d5bf 0%, #f2c6c3 50%, #e6c3dd 100%);
  --panel: #fff8ec;
  --panel-side: #fdeec8;
  --card: #ffffff;
  --text: #1f2a3c;
  --text-2: #4f5668;
  --muted: #8b8f9a;
  --line: #f1e9db;
  --field: #fffcf6;
  --field-line: #eadfcd;
  --amber: #ffc23d;
  --amber-dark: #eaa915;
  --amber-soft: #fff0c7;
  --purple: #6c5dd3;
  --purple-soft: #e6e2fa;
  --green: #2e9e6a;
  --green-soft: #dcf1e6;
  --coral: #ef6a4c;
  --coral-soft: #fde2db;
  --blue: #3d8fe0;
  --blue-soft: #dfecfb;
  --teal: #3e6b62;
  --grey-mark: #d6cfc4;
  --danger: #d9473a;
  --ok: #2e9e6a;
  --radius-xl: 32px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(122, 78, 48, 0.16);
  --shadow-soft: 0 6px 18px rgba(122, 88, 48, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--backdrop) fixed;
  color: var(--text);
  font: 15px/1.5 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--text); }
h1 { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.01em; margin: 0.2rem 0 1.1rem; }
h2 { font-size: 1.08rem; font-weight: 600; margin: 0 0 0.8rem; }
h3 { font-size: 0.98rem; font-weight: 600; margin: 1.3rem 0 0.6rem; }

/* App frame: icon sidebar + content, on one rounded panel */
.app {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  max-width: 1440px;
  min-height: calc(100vh - 56px);
  margin: 28px auto;
  background: var(--panel);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.content { padding: 30px 36px 44px 20px; min-width: 0; }
.content-bare { min-height: 100vh; display: grid; place-items: center; padding: 16px; }

.sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 10px;
}
.couple-badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 9px;
  background: var(--amber-soft);
  border-radius: 22px;
  text-decoration: none;
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--text);
  color: var(--amber);
  font-weight: 700;
}
.avatar + .avatar { background: var(--teal); color: #fff; }
.side-nav, .side-bottom { display: flex; flex-direction: column; gap: 4px; }
.side-bottom { margin-top: auto; padding-top: 10px; }
.side-nav a, .side-bottom a, .side-bottom button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 80px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 0.68rem;
  text-decoration: none;
  cursor: pointer;
}
.icon-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  transition: background 0.15s;
}
.side-nav a:hover .icon-box, .side-bottom a:hover .icon-box, .side-bottom button:hover .icon-box { background: var(--amber-soft); }
.side-nav a.active, .side-bottom a.active { color: var(--text); font-weight: 600; }
.side-nav a.active .icon-box, .side-bottom a.active .icon-box { background: var(--amber); }

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* On a phone the sidebar becomes a swipeable row at the top */
@media (max-width: 820px) {
  .app { display: block; margin: 0; border-radius: 0; min-height: 100vh; box-shadow: none; }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    padding: 10px 12px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
  }
  .couple-badge { display: none; }
  .side-nav, .side-bottom { flex-direction: row; }
  .side-bottom { margin: 0; padding: 0; }
  .side-nav a, .side-bottom a, .side-bottom button { width: 64px; }
  .content { padding: 18px 16px 32px; }
}

/* Building blocks */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px;
  margin-bottom: 18px;
}
.card-head, .page-head, .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.card-head { margin-bottom: 0.6rem; }
.card-head h2 { margin: 0; }
.section-head { margin-bottom: 0.8rem; }
.section-head h2 { margin: 0; }
.page-head { margin-bottom: 0.4rem; }
.page-head h1 { margin-bottom: 0.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 18px; }
.grid-2.wide-left { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) {
  .grid-2.wide-left { grid-template-columns: 1fr; }
}
.eyebrow { display: block; font-size: 0.75rem; color: var(--blue); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: 0.84rem; }
.nowrap { white-space: nowrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.crumbs { margin: 0; font-size: 0.85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.notes { white-space: pre-line; }
.flash {
  background: var(--amber-soft);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  margin: 0 0 1rem;
}
.overdue { color: var(--danger); font-weight: 600; }
.paid { color: var(--ok); font-weight: 600; }
.icon-link { color: var(--text-2); display: inline-flex; }

/* Stat tiles (guests, envelopes, kolači) */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 0.4rem 0 1.2rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  text-decoration: none;
}
.stat-label { color: var(--muted); font-size: 0.8rem; }
.stat-value { font-size: 1.35rem; font-weight: 700; }
.small-value { font-size: 0.95rem; font-weight: 600; }

/* Money: the other currency sits under the main one */
.other { display: block; font-size: 0.75em; font-weight: 400; color: var(--muted); }

.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.list li:first-child { border-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
}
.chip.small { font-size: 0.72rem; padding: 0.05rem 0.5rem; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.6rem 0.65rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { border-top: 0; font-size: 0.75rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
tfoot th { border-top: 2px solid var(--line); }
td a { font-weight: 500; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.dropped td { opacity: 0.45; }
tr.dropped a { text-decoration: line-through; }
tr.over td:nth-child(3) { color: var(--danger); }
.num-input { width: 8rem; text-align: right; }

/* Status badges */
.status {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  background: #f1ede6;
  color: #5c564f;
}
.status-kontaktirano { background: var(--blue-soft); color: #245f9c; }
.status-ponuda { background: var(--purple-soft); color: #4a3da6; }
.status-rezervirano { background: var(--amber-soft); color: #8a5a00; }
.status-kapara { background: #ffe2c4; color: #93480f; }
.status-potvrdeno { background: var(--green-soft); color: #23704c; }
.status-placeno { background: var(--green); color: #fff; }
.status-odustali { background: var(--coral-soft); color: #a63a24; }
.rsvp-ceka { background: #f1ede6; color: #5c564f; }
.rsvp-dolazi { background: var(--green-soft); color: #23704c; }
.rsvp-ne_dolazi { background: var(--coral-soft); color: #a63a24; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.1rem; margin: 0 0 0.8rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* Checklist */
.tasks, .mini-tasks { list-style: none; margin: 0; padding: 0; }
.tasks li, .mini-tasks li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.tasks li:first-child, .mini-tasks li:first-child { border-top: 0; }
.task-body { flex: 1 1 auto; }
.task-meta { text-align: right; white-space: nowrap; font-size: 0.86rem; }
.tasks li.done .task-body a { color: var(--muted); text-decoration: line-through; }
.tick {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 2px solid var(--amber-dark);
  border-radius: 8px;
  background: var(--card);
  color: transparent;
  font-weight: 700;
  cursor: pointer;
}
.tick .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.tick:hover { background: var(--amber-soft); color: var(--amber-dark); }
.tasks li.done .tick { background: var(--amber); color: var(--text); }
.tabs { display: flex; gap: 0.3rem; }
.tabs a {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  text-decoration: none;
  font-size: 0.86rem;
}
.tabs a.active { background: var(--amber); }

/* Forms */
label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.84rem; color: var(--text-2); margin-bottom: 0.85rem; }
label.check { flex-direction: row; align-items: center; gap: 0.5rem; align-self: end; color: var(--text); }
input, select, textarea, button { font: inherit; }
input, select, textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--amber-dark); }
textarea { resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: 0 0 0.85rem; padding: 0.6rem 1rem 0.2rem; }
legend { font-size: 0.84rem; color: var(--text-2); padding: 0 0.3rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 1rem; }
.stack { display: flex; flex-direction: column; }
.inline { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.85rem; }
.inline input, .inline select { width: auto; flex: 1 1 12rem; }
.inline-form { display: inline; }
.amount-input { display: flex; gap: 0.4rem; }
.amount-input select { width: auto; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.push-right { margin-left: auto; }
.filters { padding: 14px 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--amber);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(234, 169, 21, 0.28);
}
.btn .icon { width: 17px; height: 17px; }
.btn:hover { background: var(--amber-dark); }
.btn-secondary { background: var(--amber-soft); box-shadow: none; }
.btn-secondary:hover { background: #ffe5a3; }
.btn-danger { background: var(--danger); color: #fff; box-shadow: none; }
.btn-danger:hover { background: #b93a2f; }
.btn-ok { background: var(--green); color: #fff; box-shadow: none; }
.btn-ok:hover { background: #237e54; }
.btn-light { background: rgba(255, 255, 255, 0.92); box-shadow: none; }
.btn-light:hover { background: #fff; }
.btn-small { padding: 0.28rem 0.7rem; font-size: 0.8rem; }
button.link { background: none; border: 0; padding: 0; color: var(--text); cursor: pointer; text-decoration: underline; }
button.link.danger { color: var(--danger); text-decoration: none; font-weight: 700; }

/* ---------- Pregled (dashboard) ---------- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1150px) {
  .dash { grid-template-columns: 1fr; }
}
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1.3rem; }
.dash-head h1 { margin: 0; font-size: 2rem; }
.head-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  color: var(--text-2);
  font-size: 0.84rem;
  text-decoration: none;
}
.pill .icon { width: 17px; height: 17px; }

/* Progress rings: one hue each, its light step as the track */
.rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 26px; }
.ring-stat { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.ring {
  position: relative;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--t) 0);
}
.ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--panel); }
.ring-text { display: flex; flex-direction: column; }
.ring-label { font-size: 0.8rem; color: var(--muted); }
.ring-value { font-size: 1.3rem; font-weight: 700; line-height: 1.2; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 22px; margin-bottom: 8px; }
.due { font-size: 0.82rem; white-space: nowrap; color: var(--text-2); }

.teal-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}
.teal-card .eyebrow { color: #bfe3d7; }
.teal-card h2 { margin: 0; font-size: 1.25rem; }
.teal-card h2 a { color: #fff; text-decoration: none; }
.teal-card .tag { padding: 0.15rem 0.7rem; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 0.78rem; }
.teal-amount { font-size: 1.6rem; font-weight: 700; margin-top: 0.3rem; }
.teal-amount .other { color: #cfe5de; }
.teal-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.82rem; color: #e4f1ec; margin-bottom: 0.4rem; }
.teal-meta span, .teal-meta a { display: inline-flex; align-items: center; gap: 0.35rem; color: inherit; }
.teal-meta .icon { width: 16px; height: 16px; }
.teal-note { margin: 0; color: #d7ebe4; font-size: 0.88rem; }
.overdue-light { color: #ffd7cc !important; font-weight: 600; }

.row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: background 0.15s;
}
.row-item:hover { background: var(--amber-soft); }
.row-item .grow { display: flex; flex-direction: column; }
.bubble {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber-soft);
  font-weight: 700;
}
.row-action {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--amber);
}
.row-action .icon { width: 16px; height: 16px; }

/* Bar chart: thin columns from one baseline, a 2px gap between stacked parts */
.keys { display: flex; gap: 0.9rem; font-size: 0.78rem; color: var(--text-2); }
.key { display: inline-flex; align-items: center; gap: 0.35rem; }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; flex: none; }
.swatch-paid { background: var(--grey-mark); }
.swatch-due { background: var(--purple); }
.bar-chart { display: flex; gap: 8px; margin-top: 0.4rem; }
.bar-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 160px;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
  transform: translateY(-0.45em);
}
.bar-plot { position: relative; flex: 1; display: flex; gap: 2px; min-width: 0; }
.bar-grid { position: absolute; top: 0; left: 0; right: 0; height: 160px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.bar-grid i { display: block; height: 1px; background: var(--line); }
.bar-col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.bar-area { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 160px; }
.bar-stack { display: flex; flex-direction: column; gap: 2px; width: min(18px, 70%); }
.bar-seg { flex-basis: 0; min-height: 3px; }
.bar-seg:first-child { border-radius: 4px 4px 0 0; }
.bar-seg.due { background: var(--purple); }
.bar-seg.paid { background: var(--grey-mark); }
.bar-label { height: 1.5rem; padding-top: 0.3rem; font-size: 0.68rem; color: var(--muted); }
.bar-label.current { color: var(--text); font-weight: 600; }

/* Right column */
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  background: var(--panel-side);
  border-radius: 28px;
}
.dash-side .card { margin: 0; }
.couple-card { text-align: center; }
.couple-card .card-head { margin-bottom: 0; }
.couple-progress { margin: 0 0 0.6rem; text-align: left; font-size: 0.9rem; }
.avatar-ring {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0.4rem auto 0.8rem;
  border-radius: 50%;
  background: conic-gradient(var(--amber) calc(var(--p) * 1%), var(--amber-soft) 0);
  display: grid;
  place-items: center;
}
.avatar-big {
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--purple-soft);
  border: 5px solid var(--card);
  font-size: 1.35rem;
  font-weight: 700;
}
.couple-card h3 { margin: 0.2rem 0 0.1rem; font-size: 1.05rem; }
.couple-card p { margin: 0; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.cal-nav {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel);
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px 2px; text-align: center; }
.cal-weekday { font-size: 0.62rem; color: var(--muted); text-transform: uppercase; padding-bottom: 0.2rem; }
.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}
.cal-day.other { color: #c9c4bb; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--amber-dark); font-weight: 600; }
.cal-day.wedding { background: var(--blue); color: #fff; font-weight: 700; }
.cal-day.has-events::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}
.cal-day.wedding.has-events::after { background: #fff; }
.cal-legend { margin: 0.7rem 0 0; display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.dot-wedding { width: 9px; height: 9px; border-radius: 3px; background: var(--blue); }

.donut-wrap { position: relative; width: 170px; margin: 0.2rem auto 0.9rem; }
.donut { display: block; width: 170px; height: 170px; transform: rotate(0deg); }
.donut circle { transition: opacity 0.15s; }
.donut circle:hover { opacity: 0.8; }
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.donut-center b { font-size: 1.15rem; }
.donut-center span { font-size: 0.7rem; color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: 0.6rem; padding: 0.3rem 0; font-size: 0.84rem; }
.legend-value { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ---------- Other pages ---------- */

/* Termini */
.free { color: var(--ok); font-weight: 700; }
.busy { color: var(--danger); font-weight: 700; }
.list li.past { opacity: 0.5; }
.matrix th, .matrix td { text-align: center; }
.matrix .sticky { position: sticky; left: 0; background: var(--card); text-align: left; white-space: nowrap; z-index: 1; }
.matrix .group-head { border-bottom: 1px solid var(--line); color: var(--text); }
.matrix .vendor-head { font-weight: 400; white-space: normal; min-width: 5.5rem; }
.matrix .cell { font-size: 1.15rem; }
.matrix tr.works td, .matrix tr.works .sticky { background: var(--green-soft); }
.matrix tr.chosen .sticky { box-shadow: inset 4px 0 0 var(--blue); }

/* Gosti */
.guests tr.household th { background: var(--panel); border-top: 2px solid var(--line); }
.household-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
.quick { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.guests tr.declined td { opacity: 0.5; }

/* Raspored */
.seating { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 18px; align-items: start; }
@media (max-width: 900px) {
  .seating { grid-template-columns: 1fr; }
}
.unseated { max-height: 80vh; overflow-y: auto; }
.seat-form { border-top: 1px solid var(--line); padding: 0.7rem 0; }
.seat-form:first-of-type { border-top: 0; }
.seat-members label { margin-bottom: 0.2rem; }
.seat-form .inline { margin: 0.45rem 0 0; }
.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0 18px; }
.table-card.full { box-shadow: inset 0 0 0 2px var(--danger), var(--shadow-soft); }
.seated { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.seated li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.15rem 0; }

/* Satnica */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline .time {
  flex: 0 0 4rem;
  align-self: flex-start;
  padding: 0.15rem 0;
  border-radius: 8px;
  background: var(--amber-soft);
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Kuverte */
.tick-small {
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: 2px solid var(--amber-dark);
  border-radius: 7px;
  background: var(--card);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.tick-small.on { background: var(--ok); border-color: var(--ok); }

/* Login */
.login { width: min(380px, 100%); margin: 0; padding: 32px 30px; box-shadow: var(--shadow); }
.login h1 { text-align: center; font-size: 1.5rem; }
.login-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 0.6rem;
  border-radius: 16px;
  background: var(--amber);
}

/* Printing the satnica, kolači or any list: just the content */
@media print {
  .sidebar, .no-print, .flash { display: none !important; }
  body { background: #fff; }
  .app { display: block; margin: 0; box-shadow: none; background: #fff; }
  .content { padding: 0; }
  .card { box-shadow: none; padding: 0; }
  a { color: inherit; text-decoration: none; }
}
