:root {
  --primary: #ff4d6d;
  --primary-strong: #f97316;
  --secondary: #ffb347;
  --accent: #8b5cf6;
  --accent-2: #ec4899;
  --bg-color: #fff2f6;
  --bg-soft: #ffe3ee;
  --panel: rgba(255, 255, 255, 0.8);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --stroke: rgba(80, 55, 40, 0.1);
  --text-dark: #37263f;
  --text-light: rgba(55, 38, 63, 0.7);
  --success: #5b8c6f;
  --danger: #c75c5c;
  --warning: #d38d3c;
  --white: #fffdfd;
  --shadow: 0 24px 60px rgba(90, 41, 78, 0.14);
  --shadow-soft: 0 14px 30px rgba(90, 41, 78, 0.08);
  --border-radius: 24px;
  --border-radius-lg: 32px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 77, 109, 0.24), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(249, 115, 22, 0.22), transparent 18%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1), transparent 28%),
    linear-gradient(180deg, #fff7fb 0%, #fff2f6 48%, #fff8ef 100%);
  position: relative;
  overflow-x: hidden;
}

body > * {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  line-height: 1.05;
  letter-spacing: -0.04em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  margin: 1rem;
  padding: 2rem;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 250, 0.92));
  color: var(--text-dark);
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 12ch;
}

.hero p {
  margin-top: 1rem;
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--text-light);
}

.hero strong {
  color: var(--text-dark);
}

.hero-home {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.8fr);
}

.hero-home .hero-copy {
  max-width: 60ch;
  text-transform: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(224, 122, 95, 0.06);
  border: 1px solid rgba(224, 122, 95, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 77, 109, 0.15);
  letter-spacing: 0.04em;
  text-transform: none;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.site-brand-compact {
  max-width: 100%;
}

.site-brand-logo,
.site-footer-logo {
  display: block;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(255, 77, 109, 0.18);
}

.site-brand-logo {
  width: 58px;
  height: 58px;
}

.site-brand-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}

.site-brand-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-brand-copy strong {
  font-size: 0.95rem;
  line-height: 1.2;
  text-wrap: balance;
}

.site-footer {
  margin: 0.7rem auto 0.85rem;
  width: min(100% - 1.5rem, 920px);
  padding: 0.75rem 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-footer-logo {
  width: 42px;
  height: 42px;
}

.site-footer-brand strong,
.site-footer-note {
  color: var(--text-dark);
}

.site-footer-brand p,
.site-footer-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-light);
}

.hero-brand-wrap,
.auth-brand-wrap {
  width: min(100% - 1.5rem, 920px);
  margin: 0.65rem auto 0;
  display: flex;
  justify-content: flex-start;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  max-width: 9ch;
}

.hero-copy {
  font-size: 0.98rem;
  max-width: 34rem;
  color: var(--text-light);
}

.hero-panel {
  background: #fffaf3;
  border: 1px solid rgba(80, 55, 40, 0.08);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: none;
}

.hero-panel h3 {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.hero-panel strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.5rem;
}

.hero-panel p {
  margin-top: 0.45rem;
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.container,
.admin-container {
  width: min(100% - 1.5rem, 920px);
  margin: 0 auto;
  padding: 0.9rem 0 2rem;
}

.container {
  display: grid;
  place-items: center;
  gap: 1rem;
}

.card,
.frost-card,
.auth-card,
.scanner-card,
.table-container,
.scan-result-box,
.stat-card {
  border: 1px solid var(--stroke);
  background: #fffdf9;
  color: var(--text-dark);
  box-shadow: none;
  backdrop-filter: none;
}

.card,
.auth-card,
.scanner-card {
  width: 100%;
  border-radius: var(--border-radius-lg);
  padding: clamp(1rem, 2vw, 1.6rem);
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.card h2,
.auth-card h2,
.scanner-card h3,
.table-header,
.section-title {
  color: var(--text-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(224, 122, 95, 0.08);
  border: 1px solid var(--stroke);
  color: var(--text-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.25rem;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
  border: none;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
}

.btn-primary:hover {
  box-shadow: none;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(242, 204, 143, 0.96), rgba(244, 162, 97, 0.84));
  color: #4a2f1d;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-dark);
  border: 1px solid rgba(80, 55, 40, 0.12);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.94);
}

.btn-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(185, 28, 28, 0.92));
  color: #fff;
}

.btn-danger:hover {
  box-shadow: none;
}

.btn-block {
  width: 100%;
}

.btn-compact {
  padding: 0.8rem 1rem;
  min-height: 44px;
  font-size: 0.82rem;
}

.feature-grid,
.stats-grid,
.checkbox-grid,
.form-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid,
.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card,
.stat-card {
  position: relative;
  border-radius: 18px;
  padding: 1rem;
  overflow: hidden;
}

.feature-card::after,
.stat-card::after {
  content: '';
  position: absolute;
  inset: auto -18px -18px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.12) 0%, rgba(224, 122, 95, 0) 68%);
}

.feature-card h3,
.stat-card h3 {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.feature-card p,
.stat-card p {
  margin-top: 0.6rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.feature-card span,
.stat-card span {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-light);
  font-size: 0.78rem;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 1.2rem;
  align-items: start;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  margin-bottom: 1.1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.payment-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.payment-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.payment-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 58px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(80, 55, 40, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.payment-choice i {
  color: var(--primary);
  font-size: 1rem;
}

.payment-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  color: var(--primary);
}

.payment-choice:hover span {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(224, 122, 95, 0.22);
}

.payment-choice input:checked + span {
  background: linear-gradient(135deg, rgba(242, 204, 143, 0.36), rgba(244, 162, 97, 0.22));
  border-color: rgba(224, 122, 95, 0.34);
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.1);
}

.form-control {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(80, 55, 40, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-control::placeholder {
  color: rgba(47, 42, 37, 0.42);
}

.form-control:focus {
  border-color: rgba(224, 122, 95, 0.5);
  box-shadow: 0 0 0 4px rgba(224, 122, 95, 0.12);
  transform: translateY(-1px);
}

.checkbox-container {
  margin-top: 1.2rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(80, 55, 40, 0.08);
}

.checkbox-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(80, 55, 40, 0.08);
  cursor: pointer;
  color: var(--text-dark);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.checkbox-group:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 122, 95, 0.16);
  background: rgba(255, 255, 255, 0.98);
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-note,
.helper-text,
.hero small,
.diet-notes {
  color: var(--text-light);
}

.alert,
.qr-container,
.scan-result-box {
  border-radius: 22px;
}

.alert {
  margin-bottom: 0.8rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid transparent;
  font-weight: 700;
}

.alert-error {
  background: rgba(199, 92, 92, 0.12);
  color: #7d3131;
  border-color: rgba(199, 92, 92, 0.24);
}

.alert-success {
  background: rgba(91, 140, 111, 0.12);
  color: #355745;
  border-color: rgba(91, 140, 111, 0.22);
}

.qr-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1.4rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 40px rgba(90, 63, 39, 0.1);
}

.qr-container img {
  display: block;
  width: min(240px, 100%);
  height: auto;
}

.ticket-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 242, 232, 0.98));
  border: 1px solid rgba(80, 55, 40, 0.08);
  color: var(--text-dark);
}

.ticket-card::before,
.ticket-card::after {
  content: '';
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.ticket-card::before {
  top: -120px;
  right: -90px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.18) 0%, rgba(244, 162, 97, 0) 68%);
}

.ticket-card::after {
  bottom: -110px;
  left: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(129, 178, 154, 0.18) 0%, rgba(129, 178, 154, 0) 68%);
}

/* Admin Layout */
.admin-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(100% - 1.5rem, 920px);
  margin: 0.85rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.admin-navbar h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.admin-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-container {
  display: grid;
  gap: 1rem;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.55fr);
  gap: 0.85rem;
  align-items: stretch;
}

.dashboard-summary {
  padding: 0.95rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(242, 204, 143, 0.22), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(80, 55, 40, 0.08);
}

.stats-grid {
  margin-bottom: 0;
}

.stat-card {
  border-left: 4px solid var(--primary);
}

.stat-card:nth-child(2) {
  border-left-color: var(--success);
}

.stat-card:nth-child(3) {
  border-left-color: var(--warning);
}

.stat-card p {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  line-height: 1;
}

.table-container {
  overflow-x: auto;
  border-radius: 26px;
  max-width: 100%;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(80, 55, 40, 0.08);
  background: linear-gradient(135deg, rgba(242, 204, 143, 0.18), rgba(244, 162, 97, 0.12));
}

.table-header strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-header span,
.table-header-meta,
.pagination-info {
  color: var(--text-light);
  font-size: 0.72rem;
}

.table-header span {
  display: block;
  margin-top: 0.15rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(80, 55, 40, 0.06);
  vertical-align: top;
}

th {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
}

tr:hover {
  background: rgba(242, 204, 143, 0.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.badge-paid {
  background: rgba(91, 140, 111, 0.14);
  color: #355745;
  border: 1px solid rgba(91, 140, 111, 0.22);
}

.badge-unpaid {
  background: rgba(199, 92, 92, 0.12);
  color: #7d3131;
  border: 1px solid rgba(199, 92, 92, 0.22);
}

.badge-neutral {
  background: rgba(244, 162, 97, 0.14);
  color: #8b4f26;
  border: 1px solid rgba(244, 162, 97, 0.22);
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.row-actions .btn-compact {
  padding: 0.45rem 0.7rem;
  font-size: 0.68rem;
}

.compact-cell {
  font-size: 0.78rem;
  opacity: 0.9;
}

.compact-name {
  font-weight: 800;
  font-size: 0.8rem;
}

.row-actions form {
  margin: 0;
}

.diet-info {
  font-size: 0.76rem;
  font-weight: 700;
}

.diet-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

.diet-chip strong {
  font-size: 0.95rem;
}

.diet-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.diet-notes {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  font-style: italic;
}

.compact-empty {
  padding: 2rem !important;
  opacity: 0.6;
  font-size: 0.84rem;
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-top: 1px solid rgba(80, 55, 40, 0.08);
  background: rgba(255, 255, 255, 0.54);
}

.pagination-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-bar .is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.scanner-stage {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.scan-camera {
  width: min(100%, 430px);
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  background: rgba(0, 0, 0, 0.24);
}

.scan-result-box {
  width: 100%;
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scan-confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 60;
}

.scan-confirm-modal.is-open {
  display: flex;
}

.scan-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 28, 0.56);
  backdrop-filter: blur(5px);
}

.scan-confirm-card {
  position: relative;
  width: min(100%, 420px);
  padding: 1.1rem 1.1rem 0.95rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(80, 55, 40, 0.1);
  box-shadow: var(--shadow);
}

.scan-confirm-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.scan-confirm-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.scan-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1rem;
}

.result-success {
  border-color: rgba(45, 212, 191, 0.35);
}

.result-error {
  border-color: rgba(255, 107, 107, 0.35);
}

.setup-banner {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 204, 143, 0.24), rgba(244, 162, 97, 0.16));
  border: 1px solid rgba(80, 55, 40, 0.08);
  color: var(--text-dark);
}

.auth-shell {
  width: min(560px, calc(100% - 2rem));
  margin: 6vh auto 2rem;
}

.auth-card {
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.9), rgba(0, 187, 249, 0.85), rgba(138, 201, 38, 0.8));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.auth-card .form-control {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-dark);
}

.auth-card .form-control::placeholder {
  color: rgba(47, 42, 37, 0.5);
}

.feature-shell,
.dashboard-shell,
.scanner-shell,
.landing-shell {
  display: grid;
  gap: 1.25rem;
}

.landing-shell {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: start;
}

.summary-list {
  display: grid;
  gap: 0.65rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(80, 55, 40, 0.08);
}

.summary-item span {
  color: var(--text-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.summary-item strong {
  color: var(--text-dark);
  font-size: 0.82rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .hero-home,
  .landing-shell,
  .form-shell,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .hero,
  .admin-navbar,
  .container,
  .admin-container {
    margin: 0.65rem auto 0;
    width: min(100% - 1rem, 100%);
  }

  .hero {
    padding: 1.1rem;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(1.85rem, 11vw, 2.9rem);
  }

  .hero-home,
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .card,
  .auth-card,
  .scanner-card,
  .table-container {
    border-radius: 18px;
  }

  .form-grid,
  .checkbox-grid,
  .stats-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .admin-navbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer,
  .hero-brand-wrap,
  .auth-brand-wrap {
    width: min(100% - 1rem, 100%);
  }

  th,
  td {
    padding: 0.6rem 0.55rem;
  }

  .table-header,
  .pagination-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

