/* ══════════════════════════════════════
   GOLDEN PARK — CLIENT PORTAL CSS
   ══════════════════════════════════════ */

:root {
  --gold:      #c8a96e;
  --gold-light:#e0c98a;
  --black:     #060606;
  --card:      #111111;
  --card2:     #181818;
  --border:    rgba(200,169,110,0.12);
  --white:     #f0ede8;
  --grey:      #888;
  --red:       #e05050;
  --green:     #56b87a;
  --meat:      #e0906a;
  --veg:       #7ace8a;
  --vegan:     #4fb0a5;
  --child:     #6c8fd6;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ── GLOBAL INPUTS ── */
input, textarea, select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 9px;
  padding: 0.78rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(200,169,110,0.45);
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.2); }
textarea { resize: vertical; min-height: 100px; }

/* ── FIELDS ── */
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.45rem;
}

/* ── MESSAGES ── */
.msg {
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.75rem;
}
.msg.error   { color: var(--red);   background: rgba(224,80,80,0.1);  border: 1px solid rgba(224,80,80,0.2); }
.msg.success { color: var(--green); background: rgba(86,184,122,0.1); border: 1px solid rgba(86,184,122,0.2); }

/* ── BUTTONS ── */
.btn-primary {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #060606;
  border: none;
  border-radius: 9px;
  padding: 0.88rem 1.5rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary.small { width: auto; display: inline-block; }

.btn-cancel {
  background: rgba(255,255,255,0.05);
  color: var(--grey);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cancel:hover { background: rgba(255,255,255,0.1); }

.btn-logout {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--grey);
  border-radius: 7px;
  padding: 0.4rem 0.9rem;
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-logout:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

.btn-add {
  background: rgba(200,169,110,0.1);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-add:hover { background: rgba(200,169,110,0.2); }

/* ── LANGUAGE ── */
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
}
.auth-footer.inline { margin-top: 0; justify-content: flex-start; }

.lang-btn {
  background: none;
  border: none;
  color: var(--grey);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.lang-btn:hover { color: var(--gold); }
.lang-sep { color: rgba(255,255,255,0.15); font-size: 0.6rem; }

/* ══════════════════════════════════════
   AUTH SCREEN
   ══════════════════════════════════════ */
#auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(200,169,110,0.1) 0%, transparent 60%),
    var(--black);
}

.auth-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.8rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.auth-logo {
  display: block;
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.auth-sub {
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 2rem;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.8rem;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--grey);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
  margin-bottom: -1px;
}
.auth-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ══════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════ */
.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.portal-logo {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-email {
  font-size: 0.62rem;
  color: var(--grey);
  letter-spacing: 0.05em;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Progress */
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 2rem;
  background: rgba(200,169,110,0.03);
  border-bottom: 1px solid var(--border);
}

.progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-pct {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  min-width: 30px;
  text-align: right;
}

/* Menu tab: chosen dishes list */
.menu-tab-dishes { margin-bottom: 1.3rem; }
.mtd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mtd-row:last-child { border-bottom: none; }
.mtd-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.mtd-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

/* Info / Notes log */
.notes-log {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.3rem;
}
.note-item {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--grey);
  border-radius: 8px;
}
.note-item.admin { border-left-color: var(--gold); }
.note-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}
.note-author {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}
.note-item.admin .note-author { color: var(--gold); }
.note-date {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
}
.note-text {
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.5;
  white-space: pre-wrap;
}

/* Admin change history */
.change-log-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.change-log-item {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid var(--grey);
  border-radius: 8px;
}
.change-log-item.admin { border-left-color: var(--gold); }
.cl-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}
.cl-event {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.cl-date {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
}
.cl-desc {
  font-size: 0.82rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.cl-actor {
  font-size: 0.62rem;
  color: var(--grey);
  letter-spacing: 0.03em;
}

/* Portal nav */
.portal-nav {
  display: flex;
  padding: 0 2rem;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.portal-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--grey);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
  margin-bottom: -1px;
}
.portal-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Tab panels */
.tab-panel {
  padding: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.badge {
  background: var(--gold);
  color: var(--black);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.18rem 0.55rem;
  letter-spacing: 0;
}

/* Save status */
.save-status {
  font-size: 0.62rem;
  color: var(--grey);
  letter-spacing: 0.06em;
  min-height: 1.2em;
  margin-top: 0.25rem;
}

/* ── GUESTS ── */
.guests-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.guests-head h2 { margin-bottom: 0; }

.menu-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.3rem;
}

.pill {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  border: 1px solid;
}
.pill.meat  { color: var(--meat);  border-color: rgba(224,144,106,0.28); background: rgba(224,144,106,0.07); }
.pill.veg   { color: var(--veg);   border-color: rgba(122,206,138,0.28); background: rgba(122,206,138,0.07); }
.pill.vegan { color: var(--vegan); border-color: rgba(79,176,165,0.3);   background: rgba(79,176,165,0.08); }
.pill.child { color: var(--child); border-color: rgba(108,143,214,0.3);  background: rgba(108,143,214,0.08); }

.table-wrap { overflow-x: auto; }

.guest-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.guest-table th {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 0.55rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.guest-table td {
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.guest-table tr:last-child td { border-bottom: none; }
.guest-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* Inline-editable guest row controls */
.gt-name-input {
  min-width: 160px;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
}
.gt-table-input {
  width: 64px !important;
  padding: 0.4rem 0.5rem;
  font-size: 0.8rem;
  text-align: center;
}
.gt-menu-btns {
  display: flex;
  gap: 3px;
}
.gt-menu-btn {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  padding: 0;
}
.gt-menu-btn:disabled { cursor: not-allowed; opacity: 0.5; }
.gt-menu-btn.meat.active  { background: rgba(224,144,106,0.16); border-color: var(--meat); }
.gt-menu-btn.veg.active   { background: rgba(122,206,138,0.16); border-color: var(--veg); }
.gt-menu-btn.vegan.active { background: rgba(79,176,165,0.18);  border-color: var(--vegan); }
.gt-menu-btn.child.active { background: rgba(108,143,214,0.18); border-color: var(--child); }

.menu-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 10px;
}
.menu-tag.meat  { color: var(--meat);  background: rgba(224,144,106,0.12); }
.menu-tag.veg   { color: var(--veg);   background: rgba(122,206,138,0.12); }
.menu-tag.vegan { color: var(--vegan); background: rgba(79,176,165,0.14); }
.menu-tag.child { color: var(--child); background: rgba(108,143,214,0.14); }

.btn-del {
  background: rgba(212,175,55,0.16);
  border: 1px solid rgba(212,175,55,0.55);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  color: var(--gold, #d4af37);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-del:hover { background: rgba(224,82,82,0.2); border-color: var(--red, #e05252); color: var(--red, #e05252); }

.empty-msg {
  text-align: center;
  color: var(--grey);
  font-size: 0.78rem;
  padding: 2.5rem;
}

/* ── SUMMARY ── */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}

.s-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}
.s-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.35rem;
}
.s-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  word-break: break-word;
}
.s-value.gold { color: var(--gold); }
.s-value.sm   { font-size: 0.9rem; }

/* ── MODAL ── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.modal-box h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.delete-event-msg {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.2rem;
  justify-content: flex-end;
}

.menu-btns {
  display: flex;
  gap: 0.4rem;
}

.menu-btn {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--grey);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.6rem 0.3rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.menu-btn.active {
  background: rgba(200,169,110,0.14);
  border-color: rgba(200,169,110,0.4);
  color: var(--gold);
}

/* ── TWO-COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

/* ══════════════════════════════════════
   SAALPLAN — PREMIUM FLOOR PLAN
   ══════════════════════════════════════ */

/* Outer panel — no card, full width feel */
.fp-panel {
  padding: 1.5rem 1rem;
  max-width: 900px;
}

.fp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}
.fp-header h2 { margin-bottom: 0; font-size: 1.2rem; }

.fp-legend {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}
.fp-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.fp-dot.gold { background: var(--gold); box-shadow: 0 0 6px rgba(200,169,110,0.5); }
.fp-dot.grey { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }

/* ── Venue container ── */
.fp-venue {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border: 1.5px solid rgba(200,169,110,0.2);
  border-radius: 20px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.012) 39px,
      rgba(255,255,255,0.012) 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(255,255,255,0.012) 39px,
      rgba(255,255,255,0.012) 40px
    ),
    radial-gradient(ellipse at 50% 30%, rgba(200,169,110,0.06) 0%, transparent 65%),
    linear-gradient(180deg, #100e09 0%, #0c0b08 50%, #0e0d0a 100%);
  box-shadow:
    inset 0 0 60px rgba(0,0,0,0.4),
    0 8px 40px rgba(0,0,0,0.4);
}

/* Stage bar */
.fp-tent-top { width: 100%; }
.fp-stage-bar {
  width: 100%;
  padding: 0.65rem 1rem;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200,169,110,0.08) 20%,
    rgba(200,169,110,0.12) 50%,
    rgba(200,169,110,0.08) 80%,
    transparent 100%);
  border-bottom: 1px solid rgba(200,169,110,0.15);
  text-align: center;
}
.fp-stage-bar span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.55);
}

/* Floor area with dance floor + tables */
.fp-floor {
  position: relative;
  width: 100%;
  min-height: 660px;
}

/* Dance floor */
.fp-dancefloor {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 20%;
  border: 1px dashed rgba(200,169,110,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,169,110,0.03);
}
.fp-dancefloor span {
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.25);
  text-align: center;
  padding: 0 4px;
}

/* Tables container (absolute positioned) */
#fp-tables {
  position: absolute;
  inset: 0;
}

/* Individual table */
.fp-tbl {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 2;
}
.fp-tbl:hover { transform: translate(-50%, -50%) scale(1.12); }

/* Chair ring (decorative) */
.fp-tbl-ring {
  position: relative;
  width: 58px;
  height: 58px;
}

/* 8 chair dots around the circle */
.fp-tbl-ring::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50%  0%,   rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 100% 50%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 50%  100%, rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 0%   50%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 85%  15%,  rgba(255,255,255,0.16) 2.5px, transparent 3.5px),
    radial-gradient(circle at 85%  85%,  rgba(255,255,255,0.16) 2.5px, transparent 3.5px),
    radial-gradient(circle at 15%  15%,  rgba(255,255,255,0.16) 2.5px, transparent 3.5px),
    radial-gradient(circle at 15%  85%,  rgba(255,255,255,0.16) 2.5px, transparent 3.5px);
}

.fp-tbl.occupied .fp-tbl-ring::before {
  background:
    radial-gradient(circle at 50%  0%,   rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 100% 50%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 50%  100%, rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 0%   50%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 85%  15%,  rgba(200,169,110,0.4)  2.5px, transparent 3.5px),
    radial-gradient(circle at 85%  85%,  rgba(200,169,110,0.4)  2.5px, transparent 3.5px),
    radial-gradient(circle at 15%  15%,  rgba(200,169,110,0.4)  2.5px, transparent 3.5px),
    radial-gradient(circle at 15%  85%,  rgba(200,169,110,0.4)  2.5px, transparent 3.5px);
}

/* Table circle */
.fp-tbl-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(20,16,10,0.9);
  border: 2px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(4px);
}

.fp-tbl.occupied .fp-tbl-circle {
  background: rgba(200,169,110,0.14);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(200,169,110,0.15),
    0 0 22px rgba(200,169,110,0.2),
    inset 0 0 12px rgba(200,169,110,0.08);
}

.fp-tbl-num {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.fp-tbl-cnt {
  font-size: 0.42rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.05em;
}
.fp-tbl-label {
  font-size: 0.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}
.fp-tbl.occupied .fp-tbl-label { color: rgba(200,169,110,0.6); }

/* ── BULCHENSKÁ MASA (Head / Bridal Table) ── */
.fp-brauchtisch {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 54%;
  padding: 0.55rem 1.4rem;
  background: rgba(200,169,110,0.07);
  border: 1px solid rgba(200,169,110,0.32);
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.fp-brauchtisch:hover {
  background: rgba(200,169,110,0.14);
  border-color: rgba(200,169,110,0.6);
}
.fp-brauchtisch.occupied {
  background: rgba(200,169,110,0.11);
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(200,169,110,0.15);
}
.fp-bt-label {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,169,110,0.7);
}
.fp-bt-cnt {
  font-size: 0.44rem;
  color: rgba(200,169,110,0.45);
  letter-spacing: 0.04em;
}

/* ── SQUARE TABLE VARIANT ── */
.fp-tbl.square .fp-tbl-circle {
  border-radius: 7px;
}
.fp-tbl.square .fp-tbl-ring::before {
  border-radius: 4px;
  background:
    /* top row */
    radial-gradient(circle at 25%   0%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 50%   0%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 75%   0%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    /* bottom row */
    radial-gradient(circle at 25% 100%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 50% 100%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 75% 100%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    /* sides */
    radial-gradient(circle at  0%  50%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px),
    radial-gradient(circle at 100% 50%,  rgba(255,255,255,0.22) 2.5px, transparent 3.5px);
}
.fp-tbl.occupied.square .fp-tbl-ring::before {
  border-radius: 4px;
  background:
    radial-gradient(circle at 25%   0%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 50%   0%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 75%   0%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 25% 100%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 50% 100%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 75% 100%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at  0%  50%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px),
    radial-gradient(circle at 100% 50%,  rgba(200,169,110,0.55) 2.5px, transparent 3.5px);
}

/* ── SHAPE TOGGLE (in table modal) ── */
.shape-toggle-wrap {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.shape-toggle-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.55rem;
}
.shape-toggle {
  display: flex;
  gap: 0.5rem;
}
.shape-btn {
  flex: 1;
  padding: 0.5rem 0.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--grey);
  font-family: inherit;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.18s;
}
.shape-btn:hover { border-color: rgba(200,169,110,0.35); color: var(--white); }
.shape-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,110,0.09);
}

/* Entrance */
.fp-entrance-bar {
  width: 100%;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200,169,110,0.06) 20%,
    rgba(200,169,110,0.09) 50%,
    rgba(200,169,110,0.06) 80%,
    transparent 100%);
  border-top: 1px solid rgba(200,169,110,0.12);
  text-align: center;
}
.fp-entrance-bar span {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(200,169,110,0.35);
}

/* Hint */
.fp-hint {
  font-size: 0.6rem;
  color: var(--grey);
  text-align: center;
  margin-top: 0.8rem;
  letter-spacing: 0.06em;
}

.fp-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.75rem;
  text-align: center;
  padding: 2rem;
}

/* ── TABLE MODAL GUEST LIST ── */
.table-guest-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
}
.tgl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
}
.tgl-empty {
  color: var(--grey);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}

/* ── BRIDAL TABLE TOGGLE (in Add Guest modal) ── */
.bridal-table-toggle {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.48rem 0.75rem;
  background: transparent;
  border: 1px dashed rgba(200,169,110,0.3);
  border-radius: 7px;
  color: rgba(200,169,110,0.55);
  font-family: inherit;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.bridal-table-toggle:hover {
  border-color: rgba(200,169,110,0.6);
  color: var(--gold);
}
.bridal-table-toggle.active {
  background: rgba(200,169,110,0.1);
  border-style: solid;
  border-color: var(--gold);
  color: var(--gold);
}

/* ── DOWNLOAD BUTTON ── */
.btn-download {
  background: rgba(200,169,110,0.1);
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.35);
  border-radius: 9px;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-download:hover { background: rgba(200,169,110,0.2); }

/* Summary head (title + download button) */
.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.summary-head h2 { margin-bottom: 0; }

/* Admin download bar */
.admin-download-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
}

/* ── LOCK BANNER ── */
.lock-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(224,80,80,0.08);
  border-bottom: 1px solid rgba(224,80,80,0.2);
  padding: 0.65rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e07070;
  letter-spacing: 0.03em;
}

/* ── ADMIN BACK BUTTON ── */
.btn-admin-back {
  background: rgba(200,169,110,0.12);
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-admin-back:hover { background: rgba(200,169,110,0.22); }

/* ── ADMIN BADGE ── */
.admin-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 5px;
  padding: 0.25rem 0.6rem;
}

/* ── ADMIN SCREEN ── */
#admin-screen { min-height: 100vh; }

.admin-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.admin-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.admin-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.admin-event-card:hover { border-color: rgba(200,169,110,0.25); }

.aec-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-danger {
  background: rgba(224,80,80,0.08);
  color: var(--red);
  border: 1px solid rgba(224,80,80,0.3);
  border-radius: 9px;
  padding: 0.55rem 1rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-danger:hover { background: rgba(224,80,80,0.18); }

.aec-info { flex: 1; min-width: 0; }

.aec-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aec-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.7rem;
  color: var(--grey);
}

.aec-lock {
  color: #e07070;
  font-weight: 700;
}

.aec-noclient {
  color: rgba(255,255,255,0.28);
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .tab-panel { padding: 1rem; }
  .card { padding: 1.25rem; }
  .portal-header { padding: 0.75rem 1rem; }
  .user-email { display: none; }
  .portal-nav { padding: 0 0.5rem; }
  .portal-tab { padding: 0.75rem 0.85rem; font-size: 0.62rem; }
  .two-col { grid-template-columns: 1fr; }
  .fp-tbl-ring { width: 46px; height: 46px; }
  .fp-floor { min-height: 520px; }
}

/* ══════════════════════════════════════
   ONBOARDING WIZARD
   ══════════════════════════════════════ */
#onboarding-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--black);
}

.ob-wrap {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.ob-logo {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
}

.ob-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: -1rem;
}

/* Step progress */
.ob-steps {
  display: flex;
  align-items: center;
}

.ob-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background 0.35s;
}
.ob-dot.active { background: var(--gold); }

.ob-line {
  width: 44px;
  height: 1px;
  background: rgba(255,255,255,0.09);
}

/* Card */
.ob-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.4rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
}

.ob-icon {
  font-size: 1.6rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.6rem;
}

.ob-title {
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.4rem;
}

.ob-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}

.ob-card .field { margin-bottom: 1rem; }
.ob-card .two-col { margin-bottom: 0; }
.ob-card .btn-primary { margin-top: 1.4rem; }

/* Guest row */
.ob-guest-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.8rem;
}
.ob-guest-row input[type="text"] { flex: 1; min-width: 0; }
.ob-num-input { width: 72px !important; flex-shrink: 0; }

.ob-menu-btns {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.ob-menu-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.ob-menu-btn.active {
  border-color: var(--gold);
  background: rgba(200,169,110,0.14);
}

.ob-add-btn {
  flex-shrink: 0;
  padding: 0 1rem;
  height: 38px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.ob-add-btn:hover { background: var(--gold-light); }

/* Guest list */
.ob-guest-list {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 0.5rem;
}
.ob-guest-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.8rem;
}
.ob-guest-item .ob-name { flex: 1; }
.ob-tbl-tag {
  font-size: 0.65rem;
  color: var(--gold);
  background: rgba(200,169,110,0.1);
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Actions */
.ob-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
}
.btn-skip {
  background: none;
  border: none;
  color: rgba(255,255,255,0.32);
  font-size: 0.76rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0.4rem 0;
}
.btn-skip:hover { color: rgba(255,255,255,0.6); }

/* Done card */
.ob-done-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}
.ob-stat {
  text-align: center;
}
.ob-stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.ob-stat-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .ob-card { padding: 1.8rem 1.4rem 1.5rem; }
  .ob-guest-row { flex-wrap: wrap; }
  .ob-guest-row input[type="text"] { flex: 1 1 100%; }
}

/* ── ONBOARDING: MENU DISH PICKER ── */
.ob-menu-cat { margin-bottom: 1.1rem; }
.ob-menu-cat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.ob-menu-cat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.ob-dish-btn {
  padding: 0.5rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  color: rgba(255,255,255,0.75);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.ob-dish-btn:hover { border-color: rgba(200,169,110,0.35); }
.ob-dish-btn.active {
  background: rgba(200,169,110,0.14);
  border-color: var(--gold);
  color: var(--gold);
}
.ob-mpc-note {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
  line-height: 1.6;
  margin: 0.6rem 0 0.4rem;
}


/* ══════════════════════════════════════
   FLOORPLAN DRAG & DROP
   ══════════════════════════════════════ */
.fp-tbl[data-draggable] { cursor: grab; }
.fp-tbl[data-draggable]:hover { cursor: grab; }

.fp-tbl.is-dragging {
  transform: translate(-50%, -50%) scale(1.18) !important;
  transition: none !important;
  z-index: 20 !important;
  cursor: grabbing !important;
  filter: drop-shadow(0 6px 20px rgba(200,169,110,0.45));
}

.fp-floor.drag-active { cursor: grabbing; user-select: none; }

.fp-drag-hint {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-top: 0.6rem;
}

/* ── Merged tables (Обедини маси) ── */
.fp-merge-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:2px 0 14px; }
.fp-merge-bar button {
  font-family:inherit; font-size:13px; font-weight:600; cursor:pointer;
  padding:9px 18px; border-radius:9px; border:1px solid var(--gold, #d4af37);
  background:none; color:var(--gold, #d4af37); transition:all .15s ease;
}
.fp-merge-bar button:hover { background:rgba(212,175,55,0.12); }
.fp-merge-bar #btn-merge-mode.active { background:var(--gold, #d4af37); color:#141414; }
.fp-merge-bar #btn-merge-apply { background:var(--gold, #d4af37); color:#141414; }
.fp-merge-bar #btn-merge-split { border-style:dashed; }
#merge-hint { font-size:12px; color:#9aa3b2; }
.fp-tbl.merged .fp-tbl-circle { border-radius:34px; min-width:96px; width:auto; padding:0 14px; }
.fp-tbl.merged .fp-tbl-num { font-size:15px; color:var(--gold, #d4af37); }
.fp-tbl.msel .fp-tbl-circle { border-color:var(--gold, #d4af37) !important; box-shadow:0 0 0 4px rgba(212,175,55,0.25); }

/* Split mode: merged tables highlighted */
#btn-split-mode.active { background: var(--gold, #d4af37); color: #141414; }
.fp-tbl.splittable .fp-tbl-circle {
  border-color: var(--gold, #d4af37) !important;
  animation: fpSplitPulse 1.2s ease-in-out infinite;
  cursor: pointer;
}
@keyframes fpSplitPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
  50%      { box-shadow: 0 0 0 8px rgba(212,175,55,0.35); }
}

/* ══════════════════════════════════════════════
   MOBILE — Admin-Nur-Lese-Ansicht + Kunden-Hinweis
   ══════════════════════════════════════════════ */
#mobile-admin-screen, #mobile-notice-screen { min-height: 100vh; }

.mob-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: rgba(12,14,18,0.96);
  border-bottom: 1px solid rgba(212,175,55,0.22); backdrop-filter: blur(8px);
}
.mob-logo { font-weight: 800; font-size: 14px; letter-spacing: 0.16em; color: #d4af37; }
.mob-head-right { display: flex; align-items: center; gap: 10px; }
.mob-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #d4af37; background: rgba(212,175,55,0.14); border: 1px solid rgba(212,175,55,0.4);
  padding: 4px 9px; border-radius: 100px;
}
.mob-logout {
  background: none; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
  font-family: inherit; font-size: 11px; padding: 6px 12px; border-radius: 100px; cursor: pointer;
}

.mob-title { padding: 22px 18px 2px; font-size: 20px; font-weight: 700; color: #e9e6da; }
.mob-sub { padding: 0 18px 14px; font-size: 12px; color: #8a93a5; line-height: 1.5; }

.mob-events { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 30px; }
.mob-ev {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; cursor: pointer;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px; padding: 15px 14px; font-family: inherit;
  transition: background .15s ease;
}
.mob-ev:active { background: rgba(212,175,55,0.1); }
.mob-ev-name { font-size: 15px; font-weight: 600; color: #e9e6da; line-height: 1.3; }
.mob-ev-meta { font-size: 11.5px; color: #8a93a5; margin-top: 4px; word-break: break-word; }
.mob-ev-right { display: flex; align-items: center; gap: 8px; flex: none; }
.mob-chev { color: #d4af37; font-size: 20px; line-height: 1; }
.mob-badge-i {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em;
  padding: 4px 8px; border-radius: 100px; white-space: nowrap;
}
.mob-badge-i.soon  { color: #d4af37; background: rgba(212,175,55,0.14); }
.mob-badge-i.today { color: #141414; background: #d4af37; }
.mob-badge-i.past  { color: #8a93a5; background: rgba(255,255,255,0.07); }

.mob-back {
  display: block; margin: 16px 14px 4px; background: none; border: none; cursor: pointer;
  color: #d4af37; font-family: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 0;
}
.mob-detail { padding: 6px 14px 40px; display: flex; flex-direction: column; gap: 12px; }

.mob-card {
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px; padding: 16px 15px;
}
.mob-card-h {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #d4af37; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.mob-ev-title { font-size: 21px; font-weight: 700; color: #e9e6da; line-height: 1.25; }
.mob-ev-date { font-size: 14px; color: #d4af37; margin-top: 6px; }
.mob-ev-client { font-size: 12px; color: #8a93a5; margin-top: 8px; word-break: break-word; }

.mob-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mob-stat {
  background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px; padding: 12px 13px;
}
.mob-stat-l { font-size: 10.5px; letter-spacing: 0.06em; color: #8a93a5; text-transform: uppercase; }
.mob-stat-v { font-size: 20px; font-weight: 700; color: #e9e6da; margin-top: 4px; }
.mob-stat-v.gold { color: #d4af37; }

.mob-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mob-row:last-child { border-bottom: none; }
.mob-row-l { font-size: 12.5px; color: #8a93a5; flex: none; }
.mob-row-v { font-size: 13.5px; color: #e9e6da; text-align: right; line-height: 1.45; }
.mob-sub-h {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #d4af37; margin: 14px 0 6px;
}
.mob-note {
  font-size: 13px; color: #cfd3da; line-height: 1.6; white-space: pre-wrap;
  background: rgba(0,0,0,0.22); border-radius: 10px; padding: 10px 12px; margin-top: 4px;
}

.mob-tbl { margin-bottom: 14px; }
.mob-tbl:last-child { margin-bottom: 0; }
.mob-tbl-h {
  font-size: 12.5px; font-weight: 700; color: #d4af37;
  padding-bottom: 7px; border-bottom: 1px solid rgba(212,175,55,0.25);
  display: flex; align-items: center; gap: 8px;
}
.mob-tbl-n {
  font-size: 10.5px; font-weight: 700; color: #141414; background: #d4af37;
  padding: 2px 8px; border-radius: 100px;
}
.mob-guest {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #e9e6da; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mob-guest:last-child { border-bottom: none; }
.mob-tag { font-size: 13px; flex: none; }

.mob-empty { font-size: 13px; color: #8a93a5; text-align: center; padding: 20px 0; }
.mob-readonly {
  font-size: 11.5px; color: #8a93a5; text-align: center; line-height: 1.6;
  padding: 6px 10px 0;
}

/* Kunden-Hinweis */
#mobile-notice-screen {
  display: flex; align-items: center; justify-content: center; padding: 26px 20px;
}
#mobile-notice-screen.hidden { display: none; }
.mob-notice-box {
  max-width: 380px; text-align: center;
  background: rgba(255,255,255,0.035); border: 1px solid rgba(212,175,55,0.28);
  border-radius: 20px; padding: 34px 26px 28px;
}
.mob-notice-logo { font-weight: 800; font-size: 14px; letter-spacing: 0.18em; color: #d4af37; }
.mob-notice-icon { font-size: 46px; margin: 22px 0 14px; }
.mob-notice-box h2 { font-size: 20px; font-weight: 700; color: #e9e6da; line-height: 1.3; }
.mob-notice-box p { font-size: 13.5px; color: #a9b0bd; line-height: 1.7; margin-top: 14px; }
.mob-notice-box p b { color: #d4af37; font-weight: 600; }
.mob-notice-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 24px; }
.mob-notice-btn {
  display: block; text-decoration: none; text-align: center; cursor: pointer;
  background: #d4af37; color: #141414; border: none;
  font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 14px 20px; border-radius: 100px;
}
.mob-notice-btn.ghost { background: none; border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75); }
.mob-notice-lang { margin-top: 20px; }

/* Mobile: Tischplan (nur Ansicht) */
.mfp-venue {
  position: relative; width: 100%; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(0,0,0,0.25));
  border: 1px solid rgba(255,255,255,0.09);
}
.mfp-stage {
  position: absolute; top: 7px; left: 0; right: 0; text-align: center;
  font-size: 8px; letter-spacing: 0.2em; color: rgba(212,175,55,0.75);
}
.mfp-bridal {
  position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
  padding: 5px 12px; border-radius: 7px; white-space: nowrap;
  font-size: 9px; letter-spacing: 0.06em; color: #d4af37;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.4);
}
.mfp-bridal.busy { background: rgba(212,175,55,0.26); color: #f0e0a8; }
.mfp-dance {
  position: absolute; top: 22%; left: 50%; transform: translate(-50%,-50%);
  width: 36%; height: 15%; border: 1px dashed rgba(212,175,55,0.45); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 7px; letter-spacing: 0.1em; color: rgba(212,175,55,0.65);
}
.mfp-t {
  position: absolute; transform: translate(-50%,-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.mfp-t.square { border-radius: 7px; }
.mfp-t.busy { background: rgba(212,175,55,0.2); border-color: rgba(212,175,55,0.75); }
.mfp-t.merged {
  width: auto; min-width: 46px; padding: 0 8px; border-radius: 16px;
  border-color: #d4af37; background: rgba(212,175,55,0.16);
}
.mfp-n { font-size: 10px; font-weight: 700; color: #e9e6da; }
.mfp-t.busy .mfp-n, .mfp-t.merged .mfp-n { color: #f0e0a8; }
.mfp-c { font-size: 7.5px; color: #d4af37; margin-top: 1px; }
.mfp-entry {
  position: absolute; bottom: 6px; left: 0; right: 0; text-align: center;
  font-size: 8px; letter-spacing: 0.18em; color: rgba(212,175,55,0.6);
}
.mfp-legend {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 10px; font-size: 10.5px; color: #8a93a5;
}
.mfp-legend span { display: flex; align-items: center; gap: 5px; }
.mfp-dot {
  width: 9px; height: 9px; border-radius: 50%; display: inline-block;
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.2);
}
.mfp-dot.busy { background: rgba(212,175,55,0.2); border-color: rgba(212,175,55,0.75); }
.mfp-dot.merged { border-radius: 4px; width: 14px; border-color: #d4af37; background: rgba(212,175,55,0.16); }

/* Mobile: Tischplan-Vollbild mit Zoom */
.mfp-expand {
  margin-left: auto; background: rgba(212,175,55,0.14); border: 1px solid rgba(212,175,55,0.45);
  color: #d4af37; font-family: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 100px; cursor: pointer;
}
.mfp-venue { cursor: zoom-in; }

.mfp-ov {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: #0b0d12; flex-direction: column;
}
.mfp-ov.open { display: flex; }
.mfp-ov-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid rgba(212,175,55,0.22); flex: none;
}
.mfp-ov-title { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #d4af37; }
.mfp-ov-close {
  background: none; border: 1px solid rgba(255,255,255,0.25); color: #e9e6da;
  font-size: 15px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; line-height: 1;
}
.mfp-ov-scroll {
  flex: 1; overflow: auto; -webkit-overflow-scrolling: touch;
  display: flex; align-items: flex-start; justify-content: flex-start; padding: 16px;
}
.mfp-ov-stage { transform-origin: top left; transition: transform .15s ease; }
.mfp-ov-stage .mfp-venue { cursor: default; }
.mfp-ov-stage .mfp-t { width: 44px; height: 44px; }
.mfp-ov-stage .mfp-t.merged { min-width: 64px; }
.mfp-ov-stage .mfp-n { font-size: 13px; }
.mfp-ov-stage .mfp-c { font-size: 10px; }
.mfp-ov-stage .mfp-bridal { font-size: 12px; padding: 7px 16px; }
.mfp-ov-stage .mfp-stage, .mfp-ov-stage .mfp-entry { font-size: 10px; }
.mfp-ov-stage .mfp-dance { font-size: 9px; }
.mfp-ov-zoom {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,0.09);
}
.mfp-ov-zoom button {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(212,175,55,0.14); border: 1px solid rgba(212,175,55,0.5);
  color: #d4af37; font-size: 22px; font-weight: 700; line-height: 1;
}
.mfp-ov-zoom span { font-size: 13px; color: #8a93a5; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }

/* Mobile: Notizen-Verlauf */
.mob-nlog {
  border-left: 2px solid rgba(255,255,255,0.14);
  padding: 10px 0 10px 12px; margin-bottom: 10px;
}
.mob-nlog:last-child { margin-bottom: 0; }
.mob-nlog.admin { border-left-color: #d4af37; }
.mob-nlog-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mob-nlog-who {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a93a5;
}
.mob-nlog.admin .mob-nlog-who { color: #d4af37; }
.mob-nlog-when { font-size: 10px; color: #6f7787; }
.mob-nlog-text { font-size: 13.5px; color: #e9e6da; line-height: 1.55; margin-top: 6px; white-space: pre-wrap; }
