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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #0f1117;
  color: #e2e8f0;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(108, 99, 255, 0.2), transparent 38%),
    #0f1117;
}

.auth-card {
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.auth-logo { font-size: 38px; }
.auth-card h1 { margin: 12px 0 6px; color: #fff; font-size: 25px; }
.auth-card > p { margin: 0 0 24px; color: #94a3b8; line-height: 1.6; }
.auth-submit { width: 100%; margin-top: 4px; }
.compact-button { min-height: 34px; padding: 7px 10px; white-space: nowrap; }
.staff-table { min-width: 820px; }
.staff-actions { display: grid; grid-template-columns: repeat(2, minmax(76px, 1fr)); gap: 6px; min-width: 174px; }
.public-register-link { display: block; margin-top: 20px; color: #60a5fa; text-align: center; text-decoration: none; }

.public-shell { min-height: 100vh; }
.public-topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(20px, calc((100vw - 1080px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 23, 0.9);
}
.public-topbar div { display: flex; flex-direction: column; gap: 2px; }
.public-topbar span { color: #64748b; font-size: 11px; }
.public-topbar a { color: #60a5fa; font-size: 13px; text-decoration: none; }
.public-content { width: min(100%, 1080px); margin: 0 auto; padding: 24px; }
.public-content .registration-card { margin: 0 auto; }

.sidebar-user-meta { min-width: 0; flex: 1; }
.logout-button {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  cursor: pointer;
}
.logout-button:hover { color: #fff; background: rgba(239, 68, 68, 0.16); }

.request-table { min-width: 1180px; }
.request-actions { display: grid; gap: 6px; min-width: 92px; }

@media (max-width: 620px) {
  .auth-card { padding: 22px; }
  .public-topbar { align-items: flex-start; }
  .public-content { padding: 18px 14px; }
}

button,
input,
select,
textarea {
  font: inherit;
}

.hidden {
  display: none !important;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  width: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-mark {
  font-size: 28px;
}

.sidebar-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.sidebar-sub {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.nav-section + .nav-section {
  margin-top: 10px;
}

.nav-section-label {
  padding: 12px 8px 6px;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-item:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.3), rgba(168, 85, 247, 0.18));
  border-color: rgba(108, 99, 255, 0.3);
}

.nav-icon {
  width: 20px;
  text-align: center;
}

/* ==========================================================================
   SIDEBAR COLLAPSIBLE SUB-MENU STYLES
   ========================================================================== */
.nav-item-group {
  display: flex;
  flex-direction: column;
}

.nav-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s;
}

.nav-group-header:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-group-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-chevron {
  font-size: 14px;
  color: #94a3b8;
  transition: transform 0.25s ease;
  transform: rotate(180deg);
}

.nav-item-group.expanded .nav-chevron {
  transform: rotate(0deg);
}

.nav-sub-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 36px;
  padding-top: 4px;
  padding-bottom: 6px;
}

.nav-item-group.expanded .nav-sub-menu {
  display: flex;
}

.nav-sub-item {
  display: block;
  padding: 8px 12px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.nav-sub-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-sub-item.active {
  color: #fbbf24;
  font-weight: 700;
  background: rgba(251, 191, 36, 0.12);
}

.active-type-badge-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.4);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  width: fit-content;
  margin-top: 6px;
}

/* ==========================================================================
   KIOSK STORE PACKAGE CATALOG STYLES
   ========================================================================== */
.kiosk-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.kiosk-package-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.kiosk-package-card:hover {
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.kiosk-package-card .package-category-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.kiosk-package-card .package-title {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
}

.kiosk-package-card .package-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.kiosk-package-card .package-price-box {
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.kiosk-package-card .package-price {
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
}

.kiosk-package-card .package-period {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.4);
}

.sidebar-wallet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.sidebar-wallet-card:hover {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.04);
}

.wallet-info-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wallet-icon-sm {
  font-size: 16px;
  flex-shrink: 0;
}

.wallet-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wallet-label-sm {
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-balance-val {
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-topup-sidebar {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-topup-sidebar:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #6c63ff, #a855f7);
  font-size: 14px;
  font-weight: 700;
}

.user-name {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
}

.user-role {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

.main-content {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  margin-left: 260px;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: rgba(15, 17, 23, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.page-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

.current-date {
  color: #64748b;
  font-size: 13px;
}

.connection-badge {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fb923c;
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.25);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.connection-badge.ready {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.25);
}

.page-content {
  min-width: 0;
  max-width: 100%;
  padding: 24px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.page-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.page-header p {
  max-width: 720px;
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.notice strong {
  color: #ffffff;
}

.notice span {
  color: #cbd5e1;
}

.notice code {
  color: #ffffff;
}

.notice.warning {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.24);
}

.notice.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.24);
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 24px;
}

.stats-grid .stat-card {
  flex: 1 1 220px;
}

.stats-grid .stat-card-fluid {
  flex: 1.6 1 max-content;
  min-width: min(100%, 280px);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-card > div:last-child {
  min-width: 0;
}

.tone-blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05)); }
.tone-purple { background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05)); }
.tone-orange { background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.05)); }
.tone-red { background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.05)); }
.tone-green { background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05)); }
.tone-teal { background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.05)); }

.stat-icon {
  font-size: 30px;
}

.stat-number {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.stat-card-fluid .stat-number {
  white-space: nowrap;
}

.stat-label {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 12px;
}

.dashboard-grid,
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dash-card,
.admin-card,
.form-card,
.table-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.dash-card,
.admin-card,
.form-card {
  padding: 20px;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-card-header h3,
.admin-card h3 {
  margin: 0 0 16px;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 700;
}

.dash-card-header h3 {
  margin: 0;
}

.chart-container {
  position: relative;
  min-height: 220px;
}

.revenue-chart-card {
  display: flex;
  flex-direction: column;
}

.revenue-chart-card .chart-container {
  flex: 1;
  min-height: 320px;
}

.chart-container.small {
  min-height: 180px;
}

.chart-container canvas {
  display: block;
  width: 100%;
}

.expiring-list,
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expiring-list {
  max-height: 372px;
  overflow-y: auto;
  padding-right: 4px;
}

.expiring-item,
.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.expiring-name {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

.expiring-date {
  margin-top: 2px;
  color: #94a3b8;
  font-size: 12px;
}

.expiring-days {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.days-warning {
  color: #fb923c;
  background: rgba(249, 115, 22, 0.2);
}

.days-danger {
  color: #f87171;
  background: rgba(239, 68, 68, 0.2);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-control,
.filter-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
}

select option,
.form-control option,
.filter-select option {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  padding: 10px;
}

select option:checked,
.form-control option:checked,
.filter-select option:checked {
  background-color: #2563eb !important;
  color: #ffffff !important;
}

.toolbar .form-control {
  flex: 1 1 280px;
}

.filter-select {
  width: auto;
  min-width: 180px;
}

.form-control:disabled,
.filter-select:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
}

.form-group .field-optional {
  display: inline-block;
  margin-left: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  gap: 16px;
}

.form-row > * {
  min-width: 0;
}

.registration-card {
  width: 100%;
  min-width: 0;
  max-width: 980px;
}

.registration-card form,
.registration-panel,
.registration-stepper,
.registration-step {
  min-width: 0;
  max-width: 100%;
}

.registration-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.registration-months-field {
  max-width: calc(50% - 8px);
}

.registration-step {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #64748b;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.registration-step span {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.registration-step strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.registration-step.active {
  color: #ffffff;
  border-color: rgba(108, 99, 255, 0.45);
  background: rgba(108, 99, 255, 0.12);
}

.registration-step.active span,
.registration-step.completed span {
  color: #ffffff;
  background: #6c63ff;
}

.registration-step.completed {
  color: #cbd5e1;
}

.registration-panel {
  min-height: 300px;
}

.registration-summary {
  margin-top: 4px;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.vietqr-payment-card {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.vietqr-payment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.vietqr-payment-header h3 {
  margin: 0;
  color: #e2e8f0;
  font-size: 15px;
  font-weight: 700;
}

.vietqr-payment-grid {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 16px;
  align-items: start;
}

.vietqr-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 236px;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
}

.vietqr-image-frame img {
  display: block;
  width: 100%;
  max-width: 220px;
  border-radius: 8px;
}

.vietqr-payment-card .link-button {
  width: max-content;
  margin-top: 4px;
}

.registration-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.registration-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.registration-success {
  max-width: 620px;
}

.btn-primary {
  min-height: 40px;
  padding: 10px 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #6c63ff, #a855f7);
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.payments-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.table-card {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.data-table thead {
  background: rgba(255, 255, 255, 0.05);
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table td {
  color: #cbd5e1;
  font-size: 13px;
  vertical-align: top;
}

.payments-table {
  width: 100%;
  min-width: 1300px;
  table-layout: fixed;
}

.payments-table-card {
  overflow-x: auto;
}

.payments-table th,
.payments-table td {
  padding: 10px 9px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.payments-table th:nth-child(1),
.payments-table td:nth-child(1) {
  width: 42px;
}

.payments-table th:nth-child(2),
.payments-table td:nth-child(2),
.payments-table th:nth-child(3),
.payments-table td:nth-child(3),
.payments-table th:nth-child(4),
.payments-table td:nth-child(4) {
  width: 136px;
}

.payments-table th:nth-child(5),
.payments-table td:nth-child(5) {
  width: 68px;
}

.payments-table th:nth-child(6),
.payments-table td:nth-child(6),
.payments-table th:nth-child(7),
.payments-table td:nth-child(7),
.payments-table th:nth-child(8),
.payments-table td:nth-child(8) {
  width: 108px;
}

.payments-table th:nth-child(9),
.payments-table td:nth-child(9) {
  width: 112px;
}

.payments-table th:nth-child(10),
.payments-table td:nth-child(10),
.payments-table th:nth-child(11),
.payments-table td:nth-child(11),
.payments-table th:nth-child(12),
.payments-table td:nth-child(12) {
  width: 116px;
}

.payment-approval-actions {
  display: grid;
  gap: 6px;
}

.table-approve-button,
.table-cancel-button {
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.table-approve-button {
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.34);
}

.table-approve-button:hover {
  color: #ffffff;
  background: rgba(34, 197, 94, 0.24);
}

.table-cancel-button {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.table-cancel-button:hover {
  color: #ffffff;
  background: rgba(239, 68, 68, 0.22);
}

.table-approve-button:disabled,
.table-cancel-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.approval-state {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.approval-state.approved {
  color: #4ade80;
}

.approval-state.rejected,
.approval-state.cancelled {
  color: #94a3b8;
}

.approval-message p {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}

.approval-message strong {
  color: #ffffff;
}

.logs-table {
  min-width: 1040px;
}

.log-detail-cell {
  min-width: 220px;
}

.log-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  color: #94a3b8;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.log-detail strong {
  color: #e2e8f0;
  font-weight: 700;
}

.muted-text {
  color: #64748b;
}

.log-meta-grid {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.log-json-section + .log-json-section {
  margin-top: 16px;
}

.log-json-section h4 {
  margin: 0 0 10px;
  color: #e2e8f0;
  font-size: 13px;
}

.json-block {
  max-height: 360px;
  margin: 0;
  overflow: auto;
  padding: 14px;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.log-diff-card {
  max-height: 420px;
  overflow: auto;
}

.log-diff-table {
  min-width: 760px;
}

.log-diff-table td {
  max-width: 280px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.old-value {
  color: #fecaca;
}

.new-value {
  color: #bbf7d0;
}

.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.report-tab {
  min-height: 38px;
  padding: 8px 14px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.report-tab:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
}

.report-tab.active {
  color: #ffffff;
  background: rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.45);
}

.report-stats {
  margin-bottom: 18px;
}

.report-total-block {
  margin-top: 16px;
  margin-bottom: 0;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.report-grid.single {
  grid-template-columns: 1fr;
}

.report-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.report-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.report-table {
  min-width: 680px;
}

.report-table td {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.compact-date {
  width: auto;
  min-width: 168px;
  flex: 0 0 168px;
}

.strong-cell {
  color: #ffffff;
  font-weight: 700;
}

.table-link {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.table-link:hover {
  text-decoration: underline;
}

.inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.table-action-button {
  padding: 0;
  color: #cbd5e1;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.table-action-button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.table-action-button.danger-action {
  color: #f87171;
}

.table-action-button.danger-action:hover {
  color: #fecaca;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.detail-section {
  margin-top: 16px;
}

.detail-row {
  align-items: flex-start;
}

.detail-value {
  max-width: min(420px, 60%);
  text-align: right;
  overflow-wrap: anywhere;
}

.detail-note {
  min-height: 44px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.sort-icon {
  width: 10px;
  color: #94a3b8;
  font-size: 10px;
}

.sort-button.active[data-direction="asc"] .sort-icon::after {
  content: "▲";
}

.sort-button.active[data-direction="desc"] .sort-icon::after {
  content: "▼";
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-active,
.badge-completed,
.badge-insert,
.badge-confirmpayment {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
}

.badge-inactive,
.badge-cancelled {
  color: #94a3b8;
  background: rgba(100, 116, 139, 0.18);
}

.badge-potential {
  color: #facc15;
  background: rgba(234, 179, 8, 0.15);
}

.badge-warning,
.badge-pending,
.badge-update {
  color: #fb923c;
  background: rgba(249, 115, 22, 0.15);
}

.badge-suspended,
.badge-expired,
.badge-rejected,
.badge-delete {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.pagination-summary {
  color: #64748b;
  font-size: 13px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-select.compact {
  min-width: 118px;
}

.btn-secondary {
  min-height: 40px;
  padding: 9px 14px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-danger {
  min-height: 40px;
  padding: 9px 14px;
  color: #ffffff;
  background: #dc2626;
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn-danger:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.empty-state {
  width: 100%;
  padding: 42px 24px;
  text-align: center;
}

.empty-state-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #64748b;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.empty-state-title {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
}

.empty-state-message {
  max-width: 520px;
  margin: 6px auto 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.kiosk-grid,
.cat-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.kiosk-card {
  display: flex;
  flex-direction: column;
  min-height: 304px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.kiosk-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.kiosk-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.kiosk-name {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.kiosk-category {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 12px;
}

.kiosk-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.kiosk-detail {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #94a3b8;
  font-size: 12px;
}

.kiosk-detail-label {
  flex: 0 0 auto;
  color: #64748b;
  font-weight: 700;
}

.kiosk-detail-value {
  color: #cbd5e1;
  text-align: right;
  overflow-wrap: anywhere;
}

.kiosk-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kiosk-id {
  color: #475569;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kiosk-grid .empty-state,
.cat-summary .empty-state {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-name {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
}

.setting-value {
  color: #94a3b8;
  font-size: 13px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal {
  width: min(520px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #1a1d2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.modal-wide {
  width: min(920px, 100%);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.modal-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}

.modal-close:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.modal-form {
  display: flex;
  flex-direction: column;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 18px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

.checkbox-field input {
  width: 16px;
  height: 16px;
  accent-color: #6c63ff;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.delete-message {
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.6;
}

.delete-message p {
  margin: 0 0 8px;
}

.delete-message strong {
  color: #ffffff;
}

.renew-summary,
.renew-calculation {
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.renew-calculation {
  margin-top: 4px;
}

.form-error {
  margin-bottom: 16px;
  padding: 10px 12px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  min-width: 240px;
  max-width: 360px;
  padding: 14px 18px;
  color: #e2e8f0;
  background: rgba(30, 33, 48, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.25s ease;
}

.toast.leaving {
  animation: toast-out 0.2s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

@media (max-width: 1100px) {
  .dashboard-grid,
  .admin-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .payments-summary {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .icon-button {
    display: grid;
    place-items: center;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding: 0 16px;
  }

  .top-bar-right {
    display: none;
  }

  .page-content {
    width: 100%;
    max-width: 100vw;
    padding: 16px;
    overflow-x: hidden;
  }

  .page-header,
  .form-row {
    grid-template-columns: 1fr;
  }

  .page-header {
    display: block;
  }

  .page-actions {
    justify-content: stretch;
    margin-top: 14px;
  }

  .page-actions .btn-primary,
  .payments-summary {
    width: 100%;
  }

  .pagination-bar,
  .pagination-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-controls .filter-select,
  .pagination-controls .btn-secondary {
    width: 100%;
  }

  .detail-row {
    display: block;
  }

  .detail-value {
    display: block;
    max-width: 100%;
    margin-top: 6px;
    text-align: left;
  }

  .payments-summary {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat-card {
    flex-basis: 100%;
  }

  .stat-card-fluid .stat-number {
    white-space: normal;
  }

  .registration-stepper,
  .registration-review-grid,
  .vietqr-payment-grid {
    grid-template-columns: 1fr;
  }

  .registration-card {
    padding: 16px;
  }

  .registration-step {
    width: 100%;
  }

  .registration-months-field {
    max-width: none;
  }

  .vietqr-payment-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vietqr-payment-card .link-button {
    width: 100%;
  }

  .vietqr-image-frame img {
    max-width: 260px;
  }

  .registration-actions {
    flex-direction: column;
  }

  .registration-actions .btn-primary,
  .registration-actions .btn-secondary {
    width: 100%;
  }

  .report-tab,
  .compact-date {
    width: 100%;
    flex-basis: 100%;
  }
}

/* ==========================================================================
   PayOS & Virtual Wallet System Styles
   ========================================================================== */
.payos-modal-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.payos-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.payos-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
}

.payos-step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-weight: 700;
}

.payos-step.active {
  color: #fbbf24;
}

.payos-step.active span {
  color: #0f172a;
  background: #fbbf24;
}

.payos-step.completed {
  color: #4ade80;
}

.payos-step.completed span {
  color: #0f172a;
  background: #4ade80;
}

.payos-step-line {
  flex: 1;
  height: 2px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.1);
}

.payos-step-line.active {
  background: #fbbf24;
}

.payos-summary-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.payos-wallet-option {
  padding: 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
}

.payos-wallet-option.available {
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(34, 197, 94, 0.08);
}

.wallet-option-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.wallet-icon {
  font-size: 24px;
}

.modal-payos {
  width: min(680px, 94vw) !important;
  max-width: 680px !important;
}

.payos-qr-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.payos-qr-box {
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.payos-qr-image {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.payos-qr-badge {
  margin-top: 10px;
  padding: 4px 10px;
  color: #0369a1;
  background: #e0f2fe;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.payos-transfer-details {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-val-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  word-break: break-all;
}

.btn-copy {
  padding: 3px 8px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.2);
}

.code-text {
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #38bdf8;
}

.payos-polling-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px dashed rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.status-result-box {
  padding: 24px;
  text-align: center;
  border-radius: 14px;
}

.status-result-box.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-result-box.warning {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.status-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.status-desc {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

.payos-loading-spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border: 4px solid rgba(251, 191, 36, 0.25);
  border-top-color: #fbbf24;
  border-radius: 50%;
  animation: payos-spin 0.8s linear infinite;
}

.spinner-small {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  border: 2px solid rgba(148, 163, 184, 0.35);
  border-top-color: #94a3b8;
  border-radius: 50%;
  animation: payos-spin 0.8s linear infinite;
}

@keyframes payos-spin {
  to { transform: rotate(360deg); }
}

/* Virtual Wallet Component */
.wallet-card {
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.wallet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wallet-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-subtitle {
  font-size: 12px;
  color: #94a3b8;
}

.wallet-balances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.balance-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.balance-label {
  font-size: 12px;
  color: #94a3b8;
}

.balance-value {
  font-size: 18px;
  font-weight: 800;
}

.text-gold {
  color: #fbbf24;
}

.text-bonus {
  color: #a855f7;
}

.topup-tiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.topup-tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: rgba(30, 41, 59, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topup-tier-card:hover {
  border-color: rgba(251, 191, 36, 0.5);
  transform: translateY(-2px);
}

.topup-tier-card.selected {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
}

.tier-ribbon {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 2px 8px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  text-transform: uppercase;
}

.tier-amount {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.tier-badge {
  display: inline-block;
  color: #c084fc;
  font-size: 12px;
  font-weight: 700;
}

.tier-total {
  font-size: 12px;
  color: #94a3b8;
}

.topup-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.status-dot.green { color: #4ade80; }
.status-dot.yellow { color: #facc15; }
.status-dot.red { color: #f87171; }

/* ==========================================================================
   Facebook Cross-Interaction Tasks Styles
   ========================================================================== */
.tasks-page-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tasks-banner-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  width: 100%;
}

.tasks-wallet-mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tasks-wallet-mini-card:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.15);
}

.mini-card-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.mini-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.4;
}

.mini-card-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 3px;
}

.task-tabs-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.task-tab {
  padding: 10px 18px;
  color: #94a3b8;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.task-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.task-tab.active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

.marketplace-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.filter-label {
  font-size: 13px;
  color: #94a3b8;
}

.filter-chip {
  padding: 6px 12px;
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.filter-chip.active {
  color: #ffffff;
  background: #3b82f6;
  border-color: #3b82f6;
}

.tasks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.task-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.task-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.task-type-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #ffffff;
}

.task-reward-tag {
  padding: 4px 10px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

.task-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.task-url-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.url-label {
  font-size: 11px;
  color: #94a3b8;
}

.task-url-link {
  color: #38bdf8;
  font-size: 12px;
  word-break: break-all;
  text-decoration: none;
}

.task-url-link:hover {
  text-decoration: underline;
}

.task-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #fbbf24;
  border-radius: 3px;
}

.task-meta-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
}

.task-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.create-task-card {
  max-width: 720px;
}

.task-type-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.task-type-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.task-type-option input {
  display: none;
}

.task-type-option.selected {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #ffffff;
}

.create-task-cost-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin: 16px 0;
}

.wallet-insufficient-notice {
  padding: 10px 12px;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* Facebook Profile Verification Styles */
.fb-verify-modal-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-verify-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
}

.fb-oauth-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.btn-facebook-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #1877f2;
  border-color: #1877f2;
}

.btn-facebook-login:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fb-oauth-hint {
  font-size: 12px;
  line-height: 1.4;
}

.fb-verify-divider {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 16px 0 4px;
  color: var(--text-muted, #94a3b8);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fb-verify-divider::before,
.fb-verify-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.3);
}

.fb-logo-icon {
  font-size: 28px;
}

.fb-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}

.criteria-item .check-icon {
  color: #4ade80;
  font-weight: 800;
}

.criteria-item .sub-text {
  font-size: 11px;
  color: #94a3b8;
}

.fb-verify-step-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
}

.fb-verify-status-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.fb-verified-success-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  width: 100%;
}

.fb-verified-mini-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.fb-verified-mini-banner .banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.fb-verified-mini-banner.warning {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(161, 98, 7, 0.16));
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fef08a;
}

.fb-verified-mini-banner.warning .banner-icon {
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.fb-verified-mini-banner.warning strong {
  color: #facc15;
}

.fb-verified-mini-banner.warning .sub-text {
  font-size: 12.5px;
  color: #fde047;
  opacity: 0.9;
  margin-top: 3px;
}

.fb-verified-mini-banner.success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(21, 128, 61, 0.16));
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.fb-verified-mini-banner.success .banner-icon {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.fb-verified-mini-banner.success strong {
  color: #4ade80;
}

.card-action-bar {
  margin-top: 12px;
}

/* ==========================================================================
   ACCOUNT PAGE & FACEBOOK VERIFICATION TAB STYLES
   ========================================================================== */
.account-page-container {
  width: 100%;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  align-items: start;
}

.account-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar-large {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.account-user-name {
  margin: 0 0 6px 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.account-user-role-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-role {
  padding: 3px 10px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-status.active {
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
}

.account-details-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  font-size: 13.5px;
}

.detail-item .detail-label {
  color: #94a3b8;
}

.detail-item .detail-val {
  color: #f1f5f9;
}

.badge-verified-success {
  color: #4ade80;
  font-weight: 600;
}

.badge-verified-warning {
  color: #facc15;
  font-weight: 600;
}

.account-wallet-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.wallet-banner-content .wallet-icon {
  font-size: 28px;
}

.wallet-banner-title {
  font-size: 13px;
  color: #94a3b8;
}

.wallet-banner-amount {
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
  margin: 2px 0;
}

.wallet-banner-sub {
  font-size: 12px;
  color: #cbd5e1;
}

.card-title-bar {
  margin-bottom: 18px;
}

.card-title-bar h3 {
  margin: 0 0 4px 0;
  font-size: 17px;
  color: #ffffff;
}

.card-sub-title {
  font-size: 12.5px;
  color: #94a3b8;
}

.fb-verified-box {
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}

.fb-verified-box.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.fb-verified-box.warning {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.verified-header-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.verified-header-bar .icon {
  font-size: 24px;
  flex-shrink: 0;
}

.verified-header-bar .title {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 2px;
}

.verified-header-bar .sub {
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.verified-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.verified-details-grid .grid-item {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verified-details-grid .grid-item.full-width {
  grid-column: span 2;
}

.verified-details-grid .lbl {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.verified-details-grid .val {
  font-size: 13.5px;
  color: #f1f5f9;
}

.verify-requirements-list {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px;
  border-radius: 10px;
  margin-top: 10px;
}

.verify-requirements-list .req-title {
  font-weight: 600;
  color: #facc15;
  font-size: 13px;
  margin-bottom: 8px;
}

.verify-requirements-list ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.6;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

/* ==========================================================================
   PUBLIC LANDING PAGE STYLING (KioskHub Store Landing)
   ========================================================================== */

.landing-page-wrapper {
  min-height: 100vh;
  background: #090d16;
  color: #f8fafc;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

.landing-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
}

.landing-header-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-brand .brand-logo {
  font-size: 28px;
}

.landing-brand .brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.landing-brand .brand-sub {
  font-size: 11px;
  color: #94a3b8;
  display: block;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-nav-links .nav-item {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.landing-nav-links .nav-item:hover,
.landing-nav-links .nav-item.active {
  color: #fbbf24;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-hero-section {
  position: relative;
  padding: 80px 0 60px;
  background: radial-gradient(circle at 50% 20%, rgba(108, 99, 255, 0.15), transparent 70%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: #94a3b8;
  max-width: 960px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.btn-hero-primary {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.5);
}

.btn-hero-secondary {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: left;
}

.hero-stat-card .stat-icon {
  font-size: 24px;
}

.hero-stat-card .stat-body strong {
  display: block;
  font-size: 14px;
  color: #f1f5f9;
}

.hero-stat-card .stat-body span {
  font-size: 12px;
  color: #94a3b8;
}

.landing-store-section {
  padding: 60px 0;
  background: rgba(15, 23, 42, 0.4);
}

.section-header {
  margin-bottom: 40px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 15px;
  color: #94a3b8;
}

.landing-category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.landing-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.landing-tab:hover,
.landing-tab.active {
  color: #ffffff;
  background: rgba(108, 99, 255, 0.2);
  border-color: #6c63ff;
}

.landing-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

.landing-package-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.landing-package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.package-cat-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.12);
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.landing-package-card .package-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.landing-package-card .package-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

.landing-package-card .price-val {
  font-size: 24px;
  font-weight: 900;
  color: #fbbf24;
}

.landing-package-card .price-period {
  font-size: 13px;
  color: #94a3b8;
}

.landing-package-card .package-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.package-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.package-features-list li {
  font-size: 13px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-buy-package {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.btn-buy-package:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.guest-checkout-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guest-package-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guest-package-summary .summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.guest-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 12px;
  margin-top: 8px;
}

.guest-total-box .total-amount-val {
  font-size: 22px;
  font-weight: 900;
}

.landing-features-section {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.6;
}

.landing-footer {
  background: #070a10;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-copy {
  font-size: 12px;
  color: #64748b;
}

.id-preview-val {
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 13px;
}



