/* Wedding invite — Tuscany-inspired palette, iOS-style modals, mobile tab bar */

:root {
  --bg-deep: #0f1411;
  --bg-card: rgba(28, 36, 31, 0.72);
  --ivory: #f4f1ea;
  --muted: #a8b0a8;
  --gold: #c9a962;
  --gold-dim: rgba(201, 169, 98, 0.35);
  --green: #1e2c24;
  --radius-lg: 1.25rem;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --tabbar-h: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  --admin-mtabbar-h: calc(3.65rem + env(safe-area-inset-bottom, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background: radial-gradient(120% 80% at 50% 0%, #1a2820 0%, var(--bg-deep) 55%);
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

body.overflow-hidden {
  overflow: hidden;
}

.font-serif {
  font-family: var(--font-serif);
}

.text-ivory {
  color: var(--ivory) !important;
}

.text-muted-custom {
  color: var(--muted) !important;
}

.text-gold {
  color: var(--gold) !important;
}

.letter-space-sm {
  letter-spacing: 0.28em;
  font-size: 0.72rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--gold);
}

/* Film grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page-invite main,
.page-invite .invite-header {
  position: relative;
  z-index: 2;
}

/* Κοινό πλάτος στήλης κεφαλίδας / κάρτας αρχικής · ίδιο offset με main στο desktop (sidebar) */
body.page-invite {
  --invite-sidebar-offset: 0px;
  --invite-pad-x: 1rem;
  --invite-hero-col: min(26.5rem, 100%);
}

@media (min-width: 992px) {
  body.page-invite {
    --invite-sidebar-offset: 17.5rem;
    --invite-pad-x: 1.5rem;
  }
}

/* ——— Invite header: ίδιο οριζόντιο inset με το main ώστε να ευθυγραμμίζεται με την κάρτα ——— */
.invite-header {
  text-align: center;
  padding-top: max(clamp(1.25rem, 4vw, 2rem), env(safe-area-inset-top, 0px));
  padding-bottom: 0.75rem;
  /* Ίδιο αριστερό inset με το main (.pb-tabbar): offset sidebar + περιθώριο κειμένου */
  padding-left: max(var(--invite-sidebar-offset), var(--invite-pad-x), env(safe-area-inset-left, 0px));
  padding-right: max(var(--invite-pad-x), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.invite-header__inner {
  max-width: var(--invite-hero-col);
  margin-left: auto;
  margin-right: auto;
}

.invite-header__eyebrow {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  /* letter-spacing αφήνει κενό δεξιά — μικρή αντιστάθμιση για οπτικό κέντρο */
  padding-left: 0.28em;
  padding-right: 0.28em;
}

.invite-header__title {
  font-size: clamp(2rem, 7vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.invite-header__welcome {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: var(--invite-hero-col);
  margin-left: auto;
  margin-right: auto;
}

.invite-header__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 241, 234, 0.88);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.15s ease;
}

.invite-header__logout-icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.invite-header__logout:hover {
  color: var(--ivory);
  border-color: rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.1);
}

.invite-header__logout:active {
  transform: scale(0.98);
}

@media (min-width: 992px) {
  .invite-header__logout {
    display: none;
  }
}

/* Buttons */
.btn-gold {
  --bs-btn-color: #1a1f1a;
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-bg: #d4b56e;
  --bs-btn-hover-border-color: #d4b56e;
  --bs-btn-active-bg: #b8934f;
  --bs-btn-active-border-color: #b8934f;
  font-weight: 500;
}

.btn-outline-gold {
  --bs-btn-color: var(--gold);
  --bs-btn-border-color: var(--gold-dim);
  --bs-btn-hover-bg: rgba(201, 169, 98, 0.12);
  --bs-btn-hover-color: var(--ivory);
  --bs-btn-hover-border-color: var(--gold);
}

.btn-pill {
  border-radius: 999px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Video gate */
.video-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #050705;
  transition: opacity 0.55s ease, visibility 0.55s;
}

.video-gate.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-gate__inner {
  width: min(96vw, 920px);
  padding: 1rem;
}

.video-gate__video {
  width: 100%;
  border-radius: var(--radius-lg);
  max-height: min(72vh, 520px);
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.video-gate__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Αρχική πρόσκληση: ισορροπία & κάρτα hero ——— */
.invite-panel--home {
  min-height: calc(100dvh - var(--tabbar-h) - 9.5rem);
  min-height: calc(100svh - var(--tabbar-h) - 9.5rem);
}

@media (min-width: 992px) {
  .invite-panel--home {
    min-height: calc(100dvh - 8.5rem);
  }
}

/* Hero scroll space (Motion scroll — αρκετό ύψος για το effect, λιγότερο «άδειο» κάτω) */
.hero-scroll-space {
  position: relative;
  min-height: max(calc(100dvh - var(--tabbar-h) - 7.5rem), 118vh);
  padding-top: clamp(1.25rem, 7vmin, 3.5rem);
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .hero-scroll-space {
    min-height: max(calc(100dvh - 6.5rem), 112vh);
    padding-top: clamp(0.75rem, 4vmin, 2.5rem);
  }
}

.hero-sticky {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 0;
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
  will-change: transform, opacity;
}

.invite-home-card {
  width: 100%;
  max-width: var(--invite-hero-col);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: clamp(1.65rem, 4.5vw, 2.35rem) clamp(1.2rem, 4vw, 1.85rem);
  text-align: center;
  background: linear-gradient(160deg, rgba(36, 48, 40, 0.62) 0%, rgba(18, 26, 22, 0.5) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.4rem;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.invite-home-card__eyebrow {
  letter-spacing: 0.22em;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.22em;
  padding-right: 0.22em;
}

.invite-home-card__rule {
  width: 2.75rem;
  height: 1px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.55), transparent);
}

.invite-home-card__title {
  font-size: clamp(1.4rem, 4.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.24;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.invite-home-card__sub {
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.countdown-pill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.65rem 0;
  padding: 1.1rem 0.85rem;
  border-radius: 1.1rem;
  background: rgba(12, 18, 15, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  max-width: 100%;
}

.cd-unit {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 22%;
  min-width: 3.5rem;
  padding: 0.2rem 0.35rem;
}

@media (min-width: 380px) {
  .cd-unit:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
  }
}

.cd-num {
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  font-weight: 600;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.cd-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 0.2rem;
}

.section-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
  .section-card {
    padding: 2rem 1.75rem;
  }
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-time {
  font-weight: 600;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.map-frame iframe {
  filter: grayscale(0.2) contrast(1.05);
}

/* Chat */
.chat-thread {
  max-height: 42vh;
  overflow-y: auto;
  padding: 0.5rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-bubble {
  max-width: 88%;
  padding: 0.65rem 0.9rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
  font-size: 0.95rem;
  white-space: pre-wrap;
}

.chat-bubble.from-guest {
  margin-left: auto;
  background: rgba(201, 169, 98, 0.2);
  border: 1px solid var(--gold-dim);
}

.chat-bubble.from-couple {
  margin-right: auto;
  background: rgba(255, 255, 255, 0.06);
}

.gallery-thumb img {
  display: block;
  cursor: zoom-in;
}

/* Mobile tab bar — dock style */
.pb-tabbar {
  padding-bottom: calc(var(--tabbar-h) + 0.75rem);
  padding-left: max(var(--invite-pad-x), env(safe-area-inset-left, 0px)) !important;
  padding-right: max(var(--invite-pad-x), env(safe-area-inset-right, 0px)) !important;
}

@media (min-width: 992px) {
  .pb-tabbar {
    padding-bottom: 2rem;
    padding-left: max(var(--invite-sidebar-offset), var(--invite-pad-x), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--invite-pad-x), env(safe-area-inset-right, 0px)) !important;
  }
}

/* Must stay viewport-fixed; below Bootstrap modal (1055) */
.mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  background: rgba(15, 20, 17, 0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.tabbar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.12rem;
  min-height: 3.35rem;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.tabbar-btn .nav-icon {
  opacity: 0.88;
  flex-shrink: 0;
}

.tabbar-btn.is-active {
  color: var(--gold);
  background: rgba(201, 169, 98, 0.14);
}

.tabbar-btn.is-active .nav-icon {
  opacity: 1;
  color: var(--gold);
}

.tabbar-btn:active {
  transform: scale(0.96);
}

/* Desktop — πλοήγηση ξεχωριστή από το κινητό (συντακτική στήλη) */
.invite-desktop-nav {
  --invite-nav-w: 17.5rem;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--invite-nav-w);
  z-index: 1030;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  pointer-events: none;
}

.invite-desktop-nav__ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 130% 65% at 0% 18%, rgba(201, 169, 98, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 90% 55% at 100% 95%, rgba(40, 72, 56, 0.35) 0%, transparent 52%),
    linear-gradient(168deg, rgba(11, 16, 13, 0.99) 0%, rgba(8, 12, 10, 0.97) 45%, rgba(5, 9, 7, 0.98) 100%);
  border-right: 1px solid rgba(201, 169, 98, 0.22);
  box-shadow: 16px 0 56px rgba(0, 0, 0, 0.45);
}

.invite-desktop-nav__inner {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 1.65rem 1.15rem 1.25rem;
  padding-top: max(1.65rem, env(safe-area-inset-top, 0px));
}

.invite-desktop-nav__masthead {
  flex-shrink: 0;
  margin-bottom: 1.35rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.invite-desktop-nav__rule {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 1px;
}

.invite-desktop-nav__pretitle {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
  opacity: 0.92;
}

.invite-desktop-nav__couple {
  font-size: clamp(1.1rem, 1.35vw, 1.4rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ivory);
  margin: 0 0 0.4rem;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.invite-desktop-nav__phase {
  font-size: 0.72rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.05em;
}

.invite-desktop-nav__you {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(201, 169, 98, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.invite-desktop-nav__you-label {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(201, 169, 98, 0.75);
}

.invite-desktop-nav__you-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.25;
  text-wrap: balance;
}

.invite-desktop-nav__list {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 0;
  overflow-y: auto;
  padding: 0.2rem 0.1rem 0.25rem 0;
  margin-right: -0.15rem;
  padding-right: 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 98, 0.35) transparent;
}

.invite-desktop-nav__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.72rem 0.6rem 0.72rem 0.72rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.invite-desktop-nav__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #e4c678, var(--gold) 45%, #8a6f3a);
  opacity: 0;
  transform: translateY(-50%);
  transition:
    height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.invite-desktop-nav__item:hover {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(5px);
}

.invite-desktop-nav__item.is-active {
  color: var(--ivory);
  background: linear-gradient(100deg, rgba(201, 169, 98, 0.2) 0%, rgba(201, 169, 98, 0.06) 55%, transparent 100%);
  box-shadow:
    inset 0 0 0 1px rgba(201, 169, 98, 0.22),
    0 6px 20px rgba(0, 0, 0, 0.18);
}

.invite-desktop-nav__item.is-active::before {
  height: 2.35rem;
  opacity: 1;
}

.invite-desktop-nav__idx {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  color: rgba(201, 169, 98, 0.4);
  padding-top: 0.38rem;
  width: 1.4rem;
  transition: color 0.28s ease;
}

.invite-desktop-nav__item.is-active .invite-desktop-nav__idx {
  color: var(--gold);
}

.invite-desktop-nav__body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.invite-desktop-nav__title {
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.invite-desktop-nav__subtitle {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(168, 176, 168, 0.72);
  line-height: 1.35;
}

.invite-desktop-nav__item.is-active .invite-desktop-nav__subtitle {
  color: rgba(244, 241, 234, 0.48);
}

.invite-desktop-nav__foot {
  flex-shrink: 0;
  margin-top: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.invite-desktop-nav__exit-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: rgba(232, 210, 210, 0.95);
  background: rgba(90, 42, 42, 0.22);
  border: 1px solid rgba(200, 100, 100, 0.28);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.15s ease,
    box-shadow 0.22s ease;
  overflow: hidden;
}

.invite-desktop-nav__exit-btn-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 20% 50%, rgba(220, 120, 120, 0.12), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.invite-desktop-nav__exit-btn:hover {
  color: #fde8e8;
  border-color: rgba(232, 160, 160, 0.45);
  background: rgba(110, 48, 48, 0.32);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.invite-desktop-nav__exit-btn:hover .invite-desktop-nav__exit-btn-glow {
  opacity: 1;
}

.invite-desktop-nav__exit-btn:active {
  transform: scale(0.98);
}

.invite-desktop-nav__exit-icon {
  flex-shrink: 0;
  opacity: 0.92;
}

.invite-desktop-nav__exit-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  text-align: left;
}

.invite-desktop-nav__exit-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invite-desktop-nav__exit-sub {
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* Πρώτη επίσκεψη — υπενθύμιση RSVP */
.invite-onboarding-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.14), rgba(201, 169, 98, 0.05));
  border: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.invite-onboarding-bar__text {
  flex: 1 1 12rem;
  max-width: 100%;
}

/* iOS-style modal (rppld-inspired): blur sheet */
.ios-modal .modal-content {
  background: rgba(32, 40, 35, 0.92);
  backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.35rem;
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.3s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.ios-modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.ios-modal .modal-dialog {
  transform: none;
}

.ios-modal .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

/* Success sheet after RSVP save (CodePen rppld / dynamics spring feel, CSS-only) */
.invite-saved-modal-dialog {
  max-width: 22rem;
}

.ios-modal-success .modal-content {
  transform: scale(0.82) translateY(1.25rem);
  transition:
    transform 0.55s cubic-bezier(0.28, 1.35, 0.48, 1),
    opacity 0.38s ease;
}

.ios-modal-success.show .modal-content {
  transform: scale(1) translateY(0);
}

.invite-saved-modal-body {
  color: var(--ivory);
}

.invite-saved-modal-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 169, 98, 0.12);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.65);
}

.invite-saved-modal-dismiss {
  font-size: 1.05rem;
  font-weight: 700;
  background: #f5f0e8;
  color: #1a1f1c;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 0.35rem;
  box-shadow: inset 0 0 0 2px #f5f0e8;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

.invite-saved-modal-dismiss:hover {
  background: transparent;
  color: #f5f0e8;
  box-shadow: inset 0 0 0 2px rgba(245, 240, 232, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .ios-modal-success .modal-content {
    transform: none;
    transition: opacity 0.2s ease;
  }

  .ios-modal-success.show .modal-content {
    transform: none;
  }
}

.modal-backdrop.show {
  opacity: 0.72;
  backdrop-filter: blur(6px);
}

.invite-panel:focus {
  outline: none;
}

.page-landing .landing-hero {
  position: relative;
  z-index: 2;
}

.object-fit-cover {
  object-fit: cover;
}

.form-msg.text-success {
  color: #8fd4a2 !important;
}

.form-msg.text-danger {
  color: #f0a8a8 !important;
}

/* Admin — guest cards */
.guest-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guest-card:hover {
  border-color: rgba(201, 169, 98, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.guest-card__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guest-card__title {
  letter-spacing: 0.02em;
}

.guest-unread-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(220, 90, 90, 0.2);
  color: #f0b4b4;
  border: 1px solid rgba(220, 90, 90, 0.45);
}

.invite-nav-trigger[data-panel="chat"].has-chat-unread {
  position: relative;
}

.invite-nav-trigger[data-panel="chat"].has-chat-unread::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e07070;
  box-shadow: 0 0 0 2px rgba(20, 24, 22, 0.9);
  top: 0.35rem;
  right: 0.5rem;
}

.invite-desktop-nav__item.invite-nav-trigger[data-panel="chat"].has-chat-unread::after {
  top: 0.85rem;
  right: 0.55rem;
}

.guest-card__body {
  flex: 1;
}

.guest-card__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.guest-card__row:last-of-type {
  border-bottom: 0;
}

.guest-card__foot {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guest-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.guest-badge--bride {
  background: rgba(200, 120, 160, 0.22);
  color: #e8b4cc;
}

.guest-badge--groom {
  background: rgba(100, 150, 210, 0.2);
  color: #a8c8f0;
}

.guest-badge--both {
  background: rgba(201, 169, 98, 0.22);
  color: var(--gold);
}

.guest-badge--unknown {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.admin-guest-form-page .form-label {
  font-size: 0.875rem;
}

/* ——— Admin — σελίδα μηνυμάτων (inbox) ——— */
.admin-messages-page {
  --admin-msg-sidebar-w: 320px;
}

.admin-msg-container {
  max-width: 1120px;
}

.admin-msg-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-msg-page-head__title {
  margin: 0;
  letter-spacing: 0.02em;
}

.admin-msg-page-head__sub {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 28rem;
}

.admin-msg-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .admin-msg-layout {
    grid-template-columns: var(--admin-msg-sidebar-w) minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.admin-msg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-msg-sidebar__card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.admin-msg-sidebar__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ivory);
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

/* Λίστα καλεσμένων: σταθερό ύψος + scroll (πολλοί καλεσμένοι) */
.admin-msg-guest-list-wrap {
  max-height: min(32vh, 16rem);
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .admin-msg-guest-list-wrap {
    max-height: min(58vh, 26rem);
  }
}

.admin-msg-guest-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 0.4rem 0.45rem;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 98, 0.4) transparent;
}

.admin-msg-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.admin-msg-guest-row:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--ivory);
}

.admin-msg-guest-row.is-active {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.18), rgba(201, 169, 98, 0.05));
  border-color: rgba(201, 169, 98, 0.35);
  color: var(--ivory);
}

.admin-msg-guest-row__name {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-msg-guest-row__meta {
  flex-shrink: 0;
}

.admin-msg-broadcast {
  background: linear-gradient(160deg, rgba(201, 169, 98, 0.1) 0%, rgba(28, 36, 31, 0.85) 100%);
  border-color: rgba(201, 169, 98, 0.22);
}

.admin-msg-broadcast__hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 1rem;
}

.admin-msg-main {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  min-height: min(70vh, 640px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
}

.admin-msg-thread-head {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.admin-msg-thread-head__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.admin-msg-thread-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-msg-chat-scroll {
  flex: 1 1 auto;
  min-height: 200px;
  max-height: min(52vh, 480px);
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(0, 0, 0, 0.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 98, 0.35) transparent;
}

.admin-msg-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.admin-msg-wrap--out {
  align-items: flex-end;
  align-self: flex-end;
}

.admin-msg-wrap--in {
  align-self: flex-start;
}

.admin-msg-wrap__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(168, 176, 168, 0.85);
  margin-bottom: 0.25rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}

.admin-msg-wrap--out .admin-msg-wrap__label {
  text-align: right;
  width: 100%;
}

.admin-messages-page .admin-msg-chat-scroll .chat-bubble {
  max-width: min(92%, 34rem);
  margin-bottom: 0;
  font-size: 0.92rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  white-space: normal;
}

/* Στο admin: εισερχόμενα από καλεσμένο αριστερά, δικά μας δεξιά */
.admin-messages-page .admin-msg-chat-scroll .chat-bubble.from-guest {
  margin-left: 0;
  margin-right: auto;
  border-radius: 0.35rem 1rem 1rem 1rem;
}

.admin-messages-page .admin-msg-chat-scroll .chat-bubble.from-couple {
  margin-right: 0;
  margin-left: auto;
  border-radius: 1rem 0.35rem 1rem 1rem;
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.08));
  border: 1px solid rgba(201, 169, 98, 0.28);
}

.admin-msg-time {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.admin-msg-wrap--out .admin-msg-time {
  text-align: right;
}

.admin-msg-composer {
  flex-shrink: 0;
  padding: 1rem 1.25rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.admin-msg-composer__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.admin-msg-composer .form-control {
  border-radius: 0.75rem;
  resize: vertical;
  min-height: 5rem;
}

.admin-msg-composer__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.admin-msg-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--muted);
}

.admin-msg-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  opacity: 0.45;
  color: var(--gold);
}

.admin-msg-empty__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ivory);
  margin: 0 0 0.5rem;
}

.admin-msg-empty__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 22rem;
}

.admin-msg-thread-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ——— Admin — πίνακας (index) ——— */
.admin-dashboard-page .admin-dash-container {
  max-width: 1120px;
}

.admin-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-dash-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

.admin-dash-title {
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  margin: 0 0 0.35rem;
  letter-spacing: 0.02em;
}

.admin-dash-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 26rem;
  line-height: 1.45;
}

.admin-dash-nav-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  border-radius: 999px;
  background: #c45c5c;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(15, 20, 17, 0.95);
}

.admin-dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .admin-dash-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.admin-dash-stat {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.admin-dash-stat:hover {
  border-color: rgba(201, 169, 98, 0.22);
  transform: translateY(-1px);
}

.admin-dash-stat__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  color: var(--gold);
  background: rgba(201, 169, 98, 0.12);
}

.admin-dash-stat--yes .admin-dash-stat__icon {
  color: #9fd4a8;
  background: rgba(120, 200, 140, 0.12);
}

.admin-dash-stat--pending .admin-dash-stat__icon {
  color: #e8c87a;
  background: rgba(232, 200, 122, 0.12);
}

.admin-dash-stat--news .admin-dash-stat__icon {
  color: #a8c4e8;
  background: rgba(120, 160, 220, 0.12);
}

.admin-dash-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.admin-dash-stat__value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}

.admin-dash-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.3;
}

.admin-dash-meta-line {
  margin-top: -0.25rem;
}

.admin-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (min-width: 992px) {
  .admin-dash-grid {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.admin-dash-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.admin-dash-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-dash-card__title {
  font-size: 1.2rem;
  color: var(--ivory);
  letter-spacing: 0.02em;
}

.admin-dash-quick > .admin-dash-card__title {
  margin-bottom: 1rem;
}

.admin-dash-quick__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-dash-quick__link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-dash-quick__link:hover {
  background: rgba(201, 169, 98, 0.1);
  border-color: rgba(201, 169, 98, 0.25);
}

.admin-dash-quick__link-title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ivory);
  margin-bottom: 0.2rem;
}

.admin-dash-quick__link-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.admin-dash-rsvp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: min(55vh, 28rem);
  overflow-y: auto;
  margin: 0 -0.35rem;
  padding: 0 0.35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 98, 0.35) transparent;
}

.admin-dash-rsvp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-dash-rsvp-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-dash-rsvp-row__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  min-width: 0;
}

.admin-dash-rsvp-row__name {
  font-weight: 500;
  color: var(--ivory);
  font-size: 0.92rem;
}

.admin-dash-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.admin-dash-pill--yes {
  background: rgba(130, 200, 150, 0.2);
  color: #b8e6c4;
}

.admin-dash-pill--no {
  background: rgba(200, 120, 120, 0.2);
  color: #e8b0b0;
}

.admin-dash-pill--maybe {
  background: rgba(200, 180, 100, 0.18);
  color: #e8d898;
}

.admin-dash-pill--pending {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.admin-dash-rsvp-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-dash-rsvp-row__party {
  font-variant-numeric: tabular-nums;
}

.admin-dash-rsvp-row__time {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.admin-dash-empty {
  padding: 1rem 0;
}

/* ——— Admin — κινητή κάτω μπάρα πλοήγησης ——— */
@media (max-width: 991.98px) {
  .admin-has-mtabbar > .container,
  .admin-has-mtabbar > .container-fluid {
    padding-bottom: calc(var(--admin-mtabbar-h) + 1rem);
  }
}

.admin-mtabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.3rem 0.35rem calc(0.3rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(0.35rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.35rem, env(safe-area-inset-right, 0px));
  background: rgba(12, 16, 13, 0.94);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.admin-mtabbar__btn {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  padding: 0.35rem 0.1rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.15;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.admin-mtabbar__btn:active {
  transform: scale(0.96);
}

.admin-mtabbar__btn.is-active {
  color: var(--gold);
  background: rgba(201, 169, 98, 0.14);
}

.admin-mtabbar__btn.is-active .admin-mtabbar__icon {
  color: var(--gold);
}

.admin-mtabbar__icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.admin-mtabbar__btn--logout {
  color: rgba(180, 150, 150, 0.95);
}

.admin-mtabbar__btn--logout.is-active,
.admin-mtabbar__btn--logout:active {
  color: #e8a8a8;
}

.admin-mtabbar__btn--messages .admin-mtabbar__icon {
  margin-top: 0;
}

.admin-mtabbar--six .admin-mtabbar__btn {
  font-size: 0.5rem;
  padding: 0.28rem 0.06rem;
  gap: 0.1rem;
}

.admin-mtabbar--six .admin-mtabbar__icon {
  width: 20px;
  height: 20px;
}

.admin-checkin-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.admin-checkin-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-checkin-row--done {
  border-color: rgba(80, 160, 120, 0.35);
  background: rgba(80, 160, 120, 0.08);
}

.admin-checkin-row__main {
  flex: 1 1 200px;
  min-width: 0;
}

.admin-checkin-row__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.25rem;
}

.admin-checkin-row__title .guest-badge {
  font-size: 0.6rem;
}

.admin-checkin-row__meta {
  margin-bottom: 0.15rem;
}

.admin-checkin-row__notes {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-checkin-row__action {
  flex-shrink: 0;
}

.admin-checkin-row__action .btn {
  min-width: 5.5rem;
}

.invite-checkin-qr img,
.invite-checkin-qr canvas,
.admin-guest-checkin-qr img,
.admin-guest-checkin-qr canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

.admin-mtabbar__badge {
  position: absolute;
  top: 0.1rem;
  left: 50%;
  transform: translateX(calc(-50% + 0.65rem));
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  border-radius: 999px;
  background: #c45c5c;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(12, 16, 13, 0.95);
  pointer-events: none;
}
