body { background: #f5f7fb; color: #1f2937; }
.admin-body {
  background:
    radial-gradient(circle at top left, rgba(255, 207, 33, .16), transparent 34%),
    radial-gradient(circle at top right, rgba(37, 99, 235, .14), transparent 32%),
    #f4f7fb;
}
.admin-navbar {
  background:
    linear-gradient(90deg, #001c12 0%, #003b24 30%, #00653b 68%, #124f9f 100%);
  border-bottom: 3px solid #ffcf21;
  box-shadow: 0 10px 30px rgba(0, 59, 36, .18);
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .02em;
}
.admin-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.3));
}
.admin-navbar .nav-link {
  color: rgba(255,255,255,.78) !important;
  font-weight: 600;
}
.admin-navbar .nav-link:hover {
  color: #ffcf21 !important;
}
.admin-logout {
  border: 1px solid rgba(255,255,255,.34);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.admin-logout:hover {
  background: #ffcf21;
  border-color: #ffcf21;
  color: #003b24;
}
.admin-main {
  max-width: 1320px;
}
.page-actions-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.page-actions-head h1 {
  margin: 0;
}
.public-body {
  background:
    radial-gradient(circle at top left, rgba(255, 207, 33, .18), transparent 31%),
    radial-gradient(circle at top right, rgba(0, 101, 59, .13), transparent 34%),
    #eef2f7;
}
.section, .metric {
  background: rgba(255,255,255,.94);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}
.metric span { display: block; color: #6b7280; font-size: .9rem; }
.metric strong { display: block; font-size: 1.8rem; margin-top: 4px; color: #08203a; }
.metric { border-top: 4px solid #124f9f; }
.metric:nth-child(1), .row > .col-md-3:nth-child(1) .metric { border-top-color: #ffcf21; }
.row > .col-md-3:nth-child(2) .metric { border-top-color: #00653b; }
.row > .col-md-3:nth-child(3) .metric { border-top-color: #124f9f; }
.row > .col-md-3:nth-child(4) .metric { border-top-color: #008758; }
.field-row { background: #fff; transition: border-color .15s ease, box-shadow .15s ease, opacity .15s ease; }
.field-row.dragging { opacity: .55; border-color: #009bff !important; box-shadow: 0 12px 28px rgba(0, 155, 255, .18); }
.drag-handle { cursor: grab; width: 100%; }
.drag-handle:active { cursor: grabbing; }
.cover-preview {
  min-height: 170px;
  border: 1px dashed #9fb3c8;
  border-radius: 10px;
  background-color: #eef4fb;
  background-size: cover;
  background-position: center center;
  display: grid;
  place-items: center;
  color: #64748b;
  font-weight: 700;
  cursor: grab;
  overflow: hidden;
  user-select: none;
}
.cover-preview[style*="background-image"] span,
.cover-preview.has-image span { display: none; }
.cover-preview.dragging-cover { cursor: grabbing; outline: 3px solid rgba(0, 155, 255, .24); }
.logo-preview {
  width: 112px;
  height: 112px;
  border: 1px dashed #9fb3c8;
  border-radius: 14px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  color: #64748b;
  font-size: .82rem;
  font-weight: 700;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  cursor: grab;
  user-select: none;
}
.logo-preview[style*="background-image"] span,
.logo-preview.has-image span { display: none; }
.logo-preview.dragging-logo { cursor: grabbing; outline: 3px solid rgba(0, 155, 255, .24); }
.table { background: #fff; }
.navbar-brand { font-weight: 700; }
.btn-primary {
  --bs-btn-bg: #00653b;
  --bs-btn-border-color: #00653b;
  --bs-btn-hover-bg: #004d2e;
  --bs-btn-hover-border-color: #004d2e;
}
.btn-success {
  --bs-btn-bg: #00bd7a;
  --bs-btn-border-color: #00bd7a;
  --bs-btn-hover-bg: #009b65;
  --bs-btn-hover-border-color: #009b65;
}
.admin-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #003b24, #00653b 56%, #124f9f);
  color: #fff;
  border-radius: 10px;
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 18px 42px rgba(7, 17, 31, .18);
}
.dashboard-filter {
  min-width: min(340px, 100%);
}
.dashboard-filter .form-select {
  border: 1px solid rgba(255,255,255,.26);
  background-color: rgba(255,255,255,.94);
  font-weight: 700;
}
.admin-kicker {
  display: inline-block;
  color: #ffcf21;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.admin-login-wrap {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .65fr);
  align-items: center;
  gap: 34px;
  max-width: 1080px;
  margin: 0 auto;
}
.admin-login-hero {
  color: #123023;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246, 250, 246, .96)),
    linear-gradient(135deg, #003b24, #00653b 58%, #124f9f);
  border-radius: 16px;
  padding: 42px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 26px 64px rgba(0, 59, 36, .16);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 101, 59, .12);
}
.admin-login-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #ffcf21, #00653b 52%, #124f9f);
}
.admin-login-hero::after {
  content: "";
  position: absolute;
  inset: auto -70px -72px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 207, 33, .14);
}
.admin-login-hero img {
  width: min(560px, 98%);
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(0, 59, 36, .12));
  position: relative;
  z-index: 1;
}
.admin-login-copy {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 4px solid #ffcf21;
  position: relative;
  z-index: 1;
}
.admin-login-copy strong {
  display: block;
  color: #00653b;
  font-size: 1.25rem;
  font-weight: 900;
}
.admin-login-hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0 0 8px;
}
.admin-login-hero p {
  max-width: 520px;
  color: #405247;
  font-size: 1.05rem;
  margin: 4px 0 0;
}
.admin-login-card .card {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .14) !important;
}
.admin-login-card .card-body {
  padding: 30px;
}
.admin-login-card .h4 {
  font-weight: 850;
  color: #07111f;
}
.admin-login-card .btn-primary {
  background: linear-gradient(90deg, #ffcf21, #00653b 52%, #124f9f);
  border: 0;
  font-weight: 800;
  padding: 12px;
}
.gateway-help {
  background: #f6f9fc;
  border: 1px solid #dbe7f3;
  border-left: 4px solid #00653b;
  border-radius: 8px;
  padding: 10px 12px;
}
.gateway-help a {
  color: #00653b;
  font-weight: 700;
  text-decoration: none;
}
.gateway-help a:hover {
  text-decoration: underline;
}
.filter-panel {
  padding: 16px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}
.filter-header strong {
  display: block;
  font-size: 1rem;
  color: #07111f;
}
.filter-header span {
  display: block;
  color: #64748b;
  font-size: .88rem;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.filter-grid label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #334155;
  font-size: .84rem;
  font-weight: 800;
}
.filter-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.admin-table-scroll {
  border-radius: 8px;
}
.admin-table-scroll .table,
.table-responsive .table {
  min-width: 760px;
}
.table-actions {
  white-space: nowrap;
}
.public-link-group {
  min-width: 310px;
}
.payment-status-filter:disabled {
  background-color: #eef2f7;
  color: #94a3b8;
}
.public-form-shell { max-width: 860px; margin: 0 auto 48px; }
.public-cover { height: 220px; border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 18px 45px rgba(15, 23, 42, .16); }
.public-cover-fallback { background: linear-gradient(135deg, var(--theme), #0ea5e9); }
.public-form-card { background: #fff; margin: -42px auto 0; max-width: 760px; border-radius: 14px; border: 1px solid #e5e7eb; box-shadow: 0 18px 45px rgba(15, 23, 42, .10); padding: 0 28px 28px; position: relative; overflow: hidden; }
.public-title-band { height: 10px; background: var(--theme); margin: 0 -28px 24px; }
.event-logo-wrap {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
  display: grid;
  place-items: center;
  margin: -4px 0 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
}
.public-form-card h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 10px; }
.payment-note { background: color-mix(in srgb, var(--theme) 12%, white); border-left: 5px solid var(--theme); border-radius: 8px; padding: 14px 16px; margin: 22px 0; }
.public-form-card .form-label { font-weight: 650; }
.public-form-card .form-control, .public-form-card .form-select { border-radius: 8px; padding: 11px 12px; }
.public-submit { background: var(--theme); color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font-weight: 700; }
.public-submit:hover { background: color-mix(in srgb, var(--theme) 82%, black); color: #fff; }
.qr-verify-card { max-width: 900px; margin: 36px auto; }
.qr-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 850;
  margin-bottom: 16px;
}
.qr-status.ok { background: #dcfce7; color: #166534; }
.qr-status.pending { background: #fee2e2; color: #991b1b; }
.checkin-page {
  max-width: 980px;
  margin: 36px auto 54px;
}
.checkin-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 59, 36, .95), rgba(0, 101, 59, .94) 58%, rgba(18, 79, 159, .92)),
    #003b24;
  border-bottom: 5px solid #ffcf21;
  border-radius: 14px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 24px 58px rgba(0, 59, 36, .24);
}
.checkin-kicker {
  display: inline-block;
  color: #ffcf21;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.checkin-hero h1 {
  margin: 0;
  font-weight: 900;
  line-height: 1.05;
}
.checkin-hero p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.78);
}
.checkin-status {
  min-width: 190px;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
}
.checkin-status span {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}
.checkin-status small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
}
.checkin-status.ok span { color: #dcfce7; }
.checkin-status.pending span { color: #fee2e2; }
.checkin-card {
  background: rgba(255,255,255,.96);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-top: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
}
.checkin-participant {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 20px;
}
.checkin-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffcf21, #00653b);
  color: #fff;
  font-weight: 900;
  font-size: 1.45rem;
}
.checkin-participant span,
.checkin-info span,
.checkin-answer span,
.checkin-product span,
.checkin-product small,
.checkin-section-title small {
  display: block;
  color: #64748b;
  font-size: .84rem;
}
.checkin-participant strong {
  display: block;
  color: #07111f;
  font-size: 1.55rem;
  line-height: 1.1;
}
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.checkin-info {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  background: #fbfdff;
}
.checkin-info strong {
  display: block;
  margin-top: 5px;
  color: #07111f;
  overflow-wrap: anywhere;
}
.checkin-section-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-bottom: 14px;
}
.checkin-section-title span {
  color: #003b24;
  font-weight: 900;
  font-size: 1.1rem;
}
.checkin-answer-list {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.checkin-answer {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.checkin-answer:last-child {
  border-bottom: 0;
}
.checkin-answer span {
  color: #07111f;
  font-weight: 850;
  text-transform: uppercase;
}
.checkin-answer strong {
  font-weight: 600;
  color: #1f2937;
  overflow-wrap: anywhere;
}
.checkin-products {
  display: grid;
  gap: 10px;
}
.checkin-product {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  background: #fbfdff;
}
.checkin-product strong {
  color: #07111f;
}
.checkin-product-total {
  min-width: 120px;
  text-align: right;
}
.checkin-product-total strong {
  color: #00653b;
  display: block;
}
.app-footer {
  max-width: 1320px;
  margin: 10px auto 0;
  padding: 18px 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: #4b5563;
  font-size: .92rem;
  border-top: 1px solid rgba(0, 101, 59, .18);
}
.app-footer strong {
  color: #003b24;
}
.app-footer span {
  display: block;
  color: #64748b;
  font-size: .86rem;
}
.app-footer a {
  color: #00653b;
  font-weight: 800;
  text-decoration: none;
}
.app-footer a:hover {
  color: #124f9f;
  text-decoration: underline;
}
.developer-signature {
  text-align: right;
}
.developer-signature strong {
  display: block;
  font-size: .96rem;
}
.public-footer {
  max-width: 960px;
}
@media (max-width: 640px) {
  .admin-navbar {
    padding: 8px 0 10px;
  }
  .admin-navbar .container-fluid {
    align-items: flex-start;
    gap: 8px;
  }
  .admin-brand {
    width: 100%;
  }
  .admin-navbar .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: 0 !important;
  }
  .admin-navbar .nav-link {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .83rem;
    line-height: 1;
  }
  .admin-navbar form {
    margin-left: 0 !important;
  }
  .admin-logout {
    padding: 5px 10px;
    font-size: .82rem;
  }
  .admin-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .admin-page-head {
    display: block;
    padding: 16px;
    border-radius: 8px;
  }
  .admin-page-head h1 {
    margin-bottom: 12px !important;
  }
  .dashboard-filter {
    min-width: 100%;
  }
  .page-actions-head {
    align-items: stretch;
    flex-direction: column;
  }
  .page-actions-head .btn {
    width: 100%;
  }
  .section,
  .metric {
    padding: 14px;
  }
  .metric strong {
    font-size: 1.45rem;
  }
  .filter-header {
    flex-direction: column;
    gap: 10px;
  }
  .filter-header .btn {
    width: 100%;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  .filter-actions {
    justify-content: stretch;
  }
  .filter-actions .btn {
    width: 100%;
  }
  .table-responsive {
    margin-left: -2px;
    margin-right: -2px;
  }
  .table-responsive .table {
    font-size: .86rem;
  }
  .table-responsive .form-control,
  .table-responsive .form-select,
  .table-responsive .btn {
    font-size: .84rem;
  }
  .public-link-group {
    min-width: 270px;
  }
  .public-cover { height: 150px; border-radius: 12px; }
  .public-form-card { margin-top: -24px; padding: 0 18px 22px; }
  .public-title-band { margin-left: -18px; margin-right: -18px; }
  .checkin-page {
    margin: 18px auto 38px;
  }
  .checkin-hero {
    display: block;
    padding: 20px;
    border-radius: 10px;
  }
  .checkin-status {
    min-width: 0;
    margin-top: 16px;
  }
  .checkin-card {
    padding: 18px;
  }
  .checkin-participant {
    align-items: flex-start;
  }
  .checkin-participant strong {
    font-size: 1.24rem;
  }
  .checkin-grid {
    grid-template-columns: 1fr;
  }
  .checkin-section-title,
  .checkin-product {
    display: block;
  }
  .checkin-answer {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .checkin-product-total {
    text-align: left;
    margin-top: 10px;
  }
}
@media (max-width: 900px) {
  .admin-login-wrap {
    grid-template-columns: 1fr;
  }
  .admin-login-hero {
    min-height: auto;
    padding: 28px;
  }
  .admin-brand span {
    display: none;
  }
  .app-footer {
    flex-direction: column;
    align-items: flex-start;
    font-size: .86rem;
  }
  .developer-signature {
    text-align: left;
  }
}

/* Admin refresh */
.admin-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 207, 33, .16), transparent 28%),
    radial-gradient(circle at 100% 4%, rgba(18, 79, 159, .14), transparent 30%),
    linear-gradient(180deg, #f4f8fb 0%, #eef4f8 100%);
  color: #0f172a;
}
.admin-navbar {
  min-height: 66px;
  padding: 0;
}
.admin-navbar .container-fluid {
  max-width: 1360px;
  padding: 0 22px;
}
.admin-brand img {
  width: 42px;
  height: 42px;
}
.admin-brand span {
  font-size: 1rem;
  letter-spacing: 0;
}
.admin-nav-links {
  align-items: center;
  gap: 3px;
}
.admin-navbar .nav-link {
  border-radius: 999px;
  color: rgba(255,255,255,.82) !important;
  font-size: .9rem;
  padding: 8px 11px;
}
.admin-navbar .nav-link.active,
.admin-navbar .nav-link:hover {
  background: rgba(255,255,255,.12);
  color: #ffcf21 !important;
}
.admin-menu-toggle {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  display: none;
  height: 40px;
  padding: 9px;
  width: 44px;
}
.admin-menu-toggle span {
  background: #fff;
  border-radius: 99px;
  display: block;
  height: 2px;
  margin: 4px 0;
}
.admin-main {
  max-width: 1360px;
}
.admin-page-head {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.admin-page-head::after {
  background: linear-gradient(90deg, rgba(255,207,33,.22), rgba(255,255,255,0));
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
}
.admin-page-head > * {
  position: relative;
  z-index: 1;
}
.dashboard-hero p {
  color: rgba(255,255,255,.78);
}
.section,
.metric {
  border: 1px solid #dce7ef;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15,23,42,.07);
}
.metric {
  border-top: 0;
  min-height: 126px;
  overflow: hidden;
  position: relative;
}
.metric::before {
  border-radius: 999px;
  content: "";
  height: 58px;
  opacity: .15;
  position: absolute;
  right: -14px;
  top: -14px;
  width: 58px;
}
.metric span {
  color: #64748b;
  font-weight: 650;
}
.metric strong {
  color: #061a2f;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0;
}
.metric small {
  color: #78909c;
  display: block;
  font-size: .82rem;
  margin-top: 3px;
}
.metric-gold::before { background: #ffcf21; }
.metric-green::before { background: #00653b; }
.metric-blue::before { background: #124f9f; }
.metric-money::before { background: #00a86b; }
.metric-gold { box-shadow: inset 0 4px 0 #ffcf21, 0 18px 38px rgba(15,23,42,.07); }
.metric-green { box-shadow: inset 0 4px 0 #00653b, 0 18px 38px rgba(15,23,42,.07); }
.metric-blue { box-shadow: inset 0 4px 0 #124f9f, 0 18px 38px rgba(15,23,42,.07); }
.metric-money { box-shadow: inset 0 4px 0 #00a86b, 0 18px 38px rgba(15,23,42,.07); }
.dashboard-panel {
  min-height: 100%;
}
.panel-title {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.panel-title span {
  color: #00653b;
  display: block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.panel-title h2 {
  font-size: 1.04rem;
  margin: 2px 0 0;
}
.panel-title a {
  color: #124f9f;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.chart-list {
  display: grid;
  gap: 16px;
}
.chart-row-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.chart-row-head strong {
  font-size: .93rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chart-row-head span {
  color: #00653b;
  font-weight: 850;
}
.chart-track {
  background: #e8eff4;
  border-radius: 999px;
  height: 11px;
  margin-top: 7px;
  overflow: hidden;
}
.chart-bar {
  background: linear-gradient(90deg, #ffcf21, #00653b 54%, #124f9f);
  border-radius: inherit;
  height: 100%;
}
.activity-list,
.payment-feed {
  display: grid;
  gap: 10px;
}
.activity-item,
.payment-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e3ebf1;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  min-height: 58px;
  padding: 11px 12px;
}
.activity-dot {
  background: #00653b;
  border: 5px solid #dff5ea;
  border-radius: 999px;
  height: 24px;
  width: 24px;
}
.activity-item strong,
.payment-item strong {
  display: block;
  line-height: 1.2;
}
.activity-item span,
.payment-item span {
  color: #64748b;
  display: block;
  font-size: .84rem;
  margin-top: 2px;
}
.payment-item {
  justify-content: space-between;
}
.payment-item b {
  color: #00653b;
  white-space: nowrap;
}
.empty-state {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  margin: 0;
  padding: 18px;
  text-align: center;
}
.group-checkin-actions {
  display: grid;
  gap: 10px;
}
.group-checkin-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px;
}
.group-checkin-item strong {
  display: block;
  line-height: 1.2;
}
.group-checkin-item span {
  color: #64748b;
  display: block;
  font-size: .88rem;
  margin-top: 3px;
}
.summary-hero {
  background: linear-gradient(135deg, #003b24, #00653b 56%, #124f9f);
  border-bottom: 4px solid #ffcf21;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(7,17,31,.16);
  color: #fff;
  padding: 24px;
}
.summary-hero span {
  color: #ffcf21;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.summary-hero h1 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  margin: 6px 0;
}
.summary-hero p {
  color: rgba(255,255,255,.82);
  margin: 0;
}
.summary-card {
  border-radius: 14px;
}
.summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.summary-grid div,
.summary-product-item {
  background: #f8fafc;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  padding: 12px;
}
.summary-grid span,
.summary-section-title span,
.summary-product-item span,
.summary-product-item small {
  color: #64748b;
  display: block;
  font-size: .86rem;
}
.summary-grid strong {
  color: #0f172a;
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.summary-section-title {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.summary-section-title h2 {
  font-size: 1rem;
  margin: 0;
}
.group-participant-list,
.summary-products {
  display: grid;
  gap: 10px;
}
.group-participant-summary {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  padding: 11px 12px;
}
.group-number {
  background: #e9f7ef;
  border-radius: 10px;
  color: #00653b;
  font-weight: 850;
  padding: 8px 0;
  text-align: center;
}
.group-person strong,
.group-person span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-person span {
  color: #64748b;
  font-size: .86rem;
}
.status-pill {
  background: #e9f7ef;
  border: 1px solid #c9ecd8;
  border-radius: 999px;
  color: #00653b;
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 9px;
}
.table-responsive {
  border: 1px solid #dce7ef;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(15,23,42,.06);
}
.table {
  margin-bottom: 0;
}
.table > :not(caption) > * > * {
  border-bottom-color: #e8eef3;
  padding: 12px 14px;
}
.table th {
  background: #f7fafc;
  color: #334155;
  font-size: .8rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: #fbfdff;
}
.filter-panel {
  border-radius: 12px;
}
.form-control,
.form-select {
  border-color: #d4e0e8;
  border-radius: 9px;
}
.btn {
  border-radius: 9px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .admin-navbar {
    padding: 10px 0;
  }
  .admin-navbar .container-fluid {
    align-items: center;
    padding: 0 14px;
  }
  .admin-brand {
    flex: 1;
    min-width: 0;
    width: auto;
  }
  .admin-brand span {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .admin-menu-toggle {
    display: block;
  }
  .admin-nav-links {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-left: 0 !important;
    padding-top: 12px;
    width: 100%;
  }
  .admin-nav-links.is-open {
    display: flex;
  }
  .admin-navbar .nav-link,
  .admin-navbar form,
  .admin-logout {
    width: 100%;
  }
  .admin-navbar .nav-link {
    border-radius: 10px;
    padding: 10px 12px;
  }
  .admin-logout {
    margin-left: 0 !important;
  }
  .admin-page-head::after {
    display: none;
  }
  .group-checkin-item {
    align-items: stretch;
    flex-direction: column;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .summary-section-title,
  .group-participant-summary {
    display: block;
  }
  .group-number {
    display: inline-block;
    min-width: 38px;
    margin-bottom: 8px;
  }
  .status-pill {
    display: inline-block;
    margin-top: 8px;
  }
}
