﻿:root {
  --ink: #09162f;
  --muted: #66748f;
  --line: #dbe5f4;
  --paper: #f4f8ff;
  --soft: #eef5ff;
  --blue: #087af2;
  --blue-dark: #0d1697;
  --blue-deep: #06126d;
  --orange: #ff7a18;
  --orange-dark: #e15f00;
  --green: #078557;
  --danger: #d8123b;
  --amber: #b86b00;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { flex: 0 0 auto; }

body > main {
  min-height: calc(100vh - 174px);
}

.site-header + main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

body:has(.admin-shell) .site-header + main {
  width: min(1500px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px min(5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: var(--blue-deep);
  color: white;
  box-shadow: 0 8px 22px rgba(6, 18, 109, .18);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--blue-deep);
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
}
.brand-mark svg {
  width: 21px;
  height: 21px;
  stroke-width: 3;
}
.brand strong {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: white;
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0;
}
.brand strong span {
  font-size: .95em;
  font-style: italic;
  font-weight: 800;
}
.brand strong small {
  align-self: flex-end;
  margin-left: 1px;
  color: rgba(255, 255, 255, .86);
  font-size: 10px;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  font-weight: 700;
}
.site-header nav a:hover { color: var(--orange); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  color: white;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

.hero {
  width: 100vw;
  min-height: 550px;
  margin-left: calc(50% - 50vw);
  display: grid;
  place-items: center;
  padding: 72px max(18px, calc((100vw - 1180px) / 2)) 54px;
  text-align: center;
  color: white;
  background:
    linear-gradient(180deg, rgba(4, 14, 80, .80) 0%, rgba(6, 20, 100, .62) 100%),
    url("/images/can-gio-forest-road.jpeg") center/cover;
}

.hero-panel { display: none; }

.trust-pill, .checkout-kicker, .section-head span, .why-copy span, .admin-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255, 122, 24, .55);
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 122, 24, .08);
  font-size: 13px;
  font-weight: 800;
}
.hero .trust-pill { margin: 0 auto; background: rgba(6, 18, 109, .35); }

.hero h1 {
  max-width: 980px;
  margin: 18px auto 18px;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: .98;
  letter-spacing: 0;
}
.hero-actions svg, .checkout-button svg {
  width: 18px;
  height: 18px;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.hero-title-accent {
  display: inline;
  color: var(--orange);
  font-size: 1.12em;
  text-transform: uppercase;
}
.hero p {
  max-width: 860px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .92);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 600;
}
.checkout-main p, .why-copy p { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.65; }

.hero-actions, .checkout-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-actions a {
  gap: 10px;
}
.hero-actions .btn-primary {
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(255, 122, 24, .32);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.hero-actions .btn-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -55%;
  width: 46%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  animation: heroCtaShine 2.8s ease-in-out infinite;
  pointer-events: none;
}
.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 16px 34px rgba(255, 122, 24, .4);
}
.hero-actions .btn-primary:active {
  transform: translateY(0) scale(.98);
  box-shadow: 0 8px 18px rgba(255, 122, 24, .28);
}
.hero-actions a svg {
  width: 17px;
  height: 17px;
  margin-right: 2px;
  stroke-width: 2.4;
}
@keyframes heroCtaShine {
  0%, 45% { left: -55%; }
  72%, 100% { left: 115%; }
}
.btn-primary, .btn-ghost, .checkout-button, .rent-button, .admin-row button, .admin-table button, .transaction-table button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.35;
  gap: 9px;
}
.btn-primary > svg,
.btn-primary > i,
.btn-ghost > svg,
.btn-ghost > i,
.checkout-button > svg,
.checkout-button > i,
.rent-button > svg,
.rent-button > i,
.vml-mini-btn > svg,
.vml-mini-btn > i {
  flex: 0 0 auto;
}
.btn-primary, .checkout-button { color: white; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .22); color: white; }
.btn-ghost.dark { background: var(--ink); color: white; }

.alert-error {
  margin: 12px 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 122, 24, .28);
  border-radius: 8px;
  color: var(--orange-dark);
  background: rgba(255, 122, 24, .09);
}
.alert-error.soft { margin-top: 0; }

.account-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 28px 0 34px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: white;
  box-shadow: 0 16px 28px rgba(8, 122, 242, .14);
}

.error-shell {
  width: min(760px, calc(100% - 32px));
  margin: 56px auto 96px;
  display: grid;
  gap: 16px;
}
.error-shell > span {
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 122, 24, .42);
  border-radius: 999px;
  color: var(--orange-dark);
  font-weight: 900;
  background: rgba(255, 122, 24, .08);
}
.error-shell h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; }
.error-shell p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.error-shell small { color: var(--muted); font-weight: 700; }
.error-shell .btn-primary { width: fit-content; margin-top: 10px; }
.account-strip div { display: grid; gap: 4px; }
.account-strip span { color: rgba(255, 255, 255, .68); }
.account-strip a { color: #fff1df; font-weight: 900; }

.rental-section, .why-grid, .checkout-layout, .admin-shell, .account-page { padding: 34px 0 42px; }
.section-head, .admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
h2, .admin-head h1, .checkout-main h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}
.payment-state { padding: 8px 12px; border-radius: 999px; font-weight: 900; font-size: 13px; }
.payment-state.ready { color: var(--green); background: rgba(7, 133, 87, .1); }

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 22px 60px rgba(8, 122, 242, .08);
}
.rental-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.35;
}
.rental-table th, .rental-table td {
  height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.rental-table th {
  color: white;
  height: 44px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--blue);
}
.rental-table th:nth-child(1), .rental-table td:nth-child(1) { width: 76px; text-align: center; }
.rental-table th:nth-child(2), .rental-table td:nth-child(2) { width: 190px; }
.rental-table th:nth-child(3), .rental-table td:nth-child(3) { width: 150px; text-align: center; }
.rental-table th:nth-child(4), .rental-table td:nth-child(4) { width: 210px; }
.rental-table th:nth-child(5), .rental-table td:nth-child(5) { width: 150px; }
.rental-table th:nth-child(6), .rental-table td:nth-child(6) { width: 190px; }
.rental-table tr:last-child td { border-bottom: 0; }
.rental-table tbody tr:hover { background: #f8fbff; }
.rental-table tr.mine { background: rgba(7, 133, 87, .08); }
.rental-table td:first-child,
.rental-table td:nth-child(6) {
  font-variant-numeric: tabular-nums;
}
.countdown-cell {
  display: inline-block;
  min-width: 116px;
  font-variant-numeric: tabular-nums;
}
.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  letter-spacing: 0;
  color: #243653;
}
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}
.status.busy { color: #b81235; background: rgba(216, 18, 59, .1); }
.status.available { color: var(--green); background: rgba(7, 133, 87, .1); }
.status.disabled { color: #6f5b00; background: #fff3c2; }
.rent-button {
  height: 30px;
  min-height: 30px;
  gap: 7px;
  padding: 0 14px;
  color: #057348;
  background: rgba(7, 133, 87, .12);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}
.rent-status-button {
  position: relative;
  overflow: hidden;
  min-width: 92px;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(7, 133, 87, .24), 0 8px 18px rgba(7, 133, 87, .1);
  animation: ready-pulse 1.65s ease-in-out infinite;
  transition: transform .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rent-status-button::after {
  content: "";
  position: absolute;
  inset: -55% auto -55% -80%;
  width: 58%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  animation: ready-shine 1.45s ease-in-out infinite;
  pointer-events: none;
}
.rent-status-button:hover {
  color: white;
  background: var(--green);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(7, 133, 87, .22);
}
.rent-status-button:hover::after {
  animation-duration: .9s;
}
.your-badge { font-size: 12px; font-weight: 900; color: var(--green); }

@keyframes ready-shine {
  0% { left: -80%; }
  58%, 100% { left: 128%; }
}

@keyframes ready-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(7, 133, 87, .24), 0 8px 18px rgba(7, 133, 87, .1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(7, 133, 87, .08), 0 10px 22px rgba(7, 133, 87, .16);
  }
}

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 34px; }
.plan-tile {
  min-height: 124px;
  display: grid;
  gap: 8px;
  text-align: left;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.plan-tile span { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 900; }
.plan-tile svg { width: 18px; height: 18px; }
.plan-tile strong { font-size: 26px; }
.plan-tile small { color: var(--muted); }

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 20px 0 36px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-band div { padding: 24px; background: white; }
.feature-band span, .why-items b { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; }
.feature-band svg, .why-items svg { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.2; }
.feature-band p, .why-items p { color: var(--muted); line-height: 1.55; }

.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.why-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why-items article { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 10, 35, .62);
}
.modal-backdrop[hidden] { display: none !important; }
.rent-modal {
  position: relative;
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .32);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
  font-size: 22px;
}
.modal-close:disabled {
  cursor: wait;
  opacity: .5;
}
.rent-modal.submitting {
  cursor: wait;
}
.rent-modal > span { color: var(--blue); font-weight: 900; }
.rent-modal h3 { margin: 0; font-size: 28px; }
.modal-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.modal-plan { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; text-align: left; cursor: pointer; }
.modal-plan:disabled {
  cursor: wait;
  opacity: .72;
}
.modal-plan.selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.custom-plan {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 10px;
  padding: 14px;
  min-height: 0;
}
.custom-plan-copy { display: flex; align-items: center; gap: 8px; min-width: 0; }
.custom-plan-copy strong { font-size: 16px; line-height: 1; white-space: nowrap; }
.custom-plan-values { display: inline-flex; align-items: baseline; gap: 8px; justify-self: start; min-width: 0; }
.custom-days-field { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.custom-days-field input { width: 70px; min-height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-weight: 800; }
.custom-days-field span { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.custom-plan b { font-size: 16px; line-height: 1; color: inherit; white-space: nowrap; }
.custom-days-error { grid-column: 1 / -1; color: #b00020; font-size: 12px; font-weight: 700; }
.field, .admin-form label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; }
.field input, .admin-form input, .admin-row input, .admin-login input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
.field small { color: var(--muted); font-weight: 500; }
.field.invalid input { border-color: var(--danger); }
.field.invalid input:focus { outline-color: rgba(216, 18, 59, .24); }
.field-error {
  display: flex;
  align-items: center;
  min-height: 18px;
  color: var(--danger) !important;
  font-size: 13px;
  font-weight: 800 !important;
}
.field-error[hidden] { display: none; }
.field-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 2px;
  color: var(--muted) !important;
  font-size: 12px;
  font-weight: 600 !important;
  line-height: 1.45;
}
.field-note svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: #8a94a6;
}
.checkout-button:disabled {
  cursor: wait;
  opacity: .88;
}
.checkout-button-label,
.checkout-button-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.checkout-button-label[hidden],
.checkout-button-loading[hidden],
.payment-sync-label[hidden],
.payment-sync-loading[hidden] {
  display: none !important;
}
.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .48);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}



/* Rental mini session (on VML page) */
.rental-mini-session {
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:linear-gradient(135deg,#f0f8ff,#e6f2ff);
  border:1.5px solid rgba(8,122,242,.25);
  border-radius:14px;padding:18px 24px;margin:24px 0;
}
.rental-mini-copy { display:flex;flex-direction:column;gap:4px; }
.rental-mini-copy span { font-size:12px;font-weight:700;color:var(--blue);display:flex;align-items:center;gap:5px;text-transform:uppercase;letter-spacing:.6px; }
.rental-mini-copy strong { font-size:16px;font-weight:800;color:var(--ink); }
.rental-mini-copy small { font-size:12px;color:var(--muted); }
.rental-mini-btn { white-space:nowrap; }


/* VML rent CTA section */
.vmlp-rent-cta {
  padding:clamp(22px,3vw,34px);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(8,122,242,.06),rgba(6,18,109,.04));
  border:1.5px solid rgba(8,122,242,.12);
  box-shadow:0 12px 40px rgba(6,18,109,.06);
  text-align:center;
  margin-bottom:24px;
}
.vmlp-rent-cta .vmlp-eyebrow {
  color:var(--blue);
  background:rgba(8,122,242,.1);
  border-color:rgba(8,122,242,.24);
}
.vmlp-rent-cta .vmlp-section-title {
  color:var(--ink);
}
.vmlp-rent-cta .vmlp-section-sub {
  color:var(--muted);
}


/* Page loading overlay (rent form submit) */
#pageLoadingOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(4, 14, 80, .72);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .01em;
}
#pageLoadingOverlay[hidden] { display: none; }
.page-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(255, 255, 255, .25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.checkout-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; min-height: 640px; }
.checkout-main, .checkout-side, .admin-login, .admin-form, .admin-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.checkout-main { padding: 34px; }
.back-link { display: inline-block; margin-bottom: 22px; color: var(--muted); font-weight: 900; }
.qr-panel {
  width: min(100%, 588px);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  margin: 28px auto 0;
}
.qr-panel img {
  display: block;
  width: 280px;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: white;
}
.payment-facts { display: grid; gap: 12px; min-width: 0; }
.payment-facts div, .credential-box div { display: grid; gap: 5px; min-height: 73px; padding: 16px; border-radius: 8px; background: var(--soft); }
.payment-facts span, .credential-box span, .checkout-side span { color: var(--muted); font-size: 13px; font-weight: 900; }
.payment-facts strong, .credential-box strong { word-break: break-word; }
.credential-box { display: grid; gap: 12px; margin-top: 26px; }
.copy-card {
  position: relative;
  padding-right: 58px !important;
}
.copy-button {
  position: absolute;
  right: 12px;
  top: 50%;
  display: inline-grid;
  place-items: center;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #5f6673;
  background: white;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
  cursor: pointer;
}
.copy-button:hover {
  color: var(--blue-deep);
  background: #f8fbff;
}
.copy-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}
.copy-button.copied {
  color: var(--green);
  background: white;
}
.payment-sync-message {
  width: min(100%, 588px);
  display: grid;
  gap: 10px;
  margin: 24px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 106, 31, .32);
  border-radius: 8px;
  background: #fff4ed;
  text-align: left;
}
.payment-sync-message strong { color: var(--ink); }
.payment-sync-message span { color: var(--orange-dark); font-weight: 900; }
.payment-sync-message .support-phone-link {
  display: inline-flex;
  align-items: center;
  color: #0b1b66;
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.payment-sync-form {
  width: min(100%, 588px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px auto 0;
}
.payment-sync-form .btn-primary,
.payment-sync-form .btn-ghost {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 8px;
  white-space: nowrap;
}
.payment-sync-form button:disabled {
  cursor: wait;
  opacity: .88;
}
.payment-sync-label,
.payment-sync-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.checkout-side { padding: 22px; position: sticky; top: 86px; }
.checkout-side strong { display: block; margin: 8px 0 14px; font-size: 32px; }
.checkout-side p { color: var(--muted); }
.admin-shell { min-height: 620px; }
.admin-login { max-width: 420px; padding: 22px; display: grid; gap: 14px; }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.admin-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: white;
  font-weight: 900;
}
.admin-tabs a.active {
  color: white;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(8, 122, 242, .18);
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(8, 122, 242, .07);
}
.admin-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  text-align: left;
}
.admin-table th {
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-table tbody tr:hover { background: #f8fbff; }
.admin-table tbody tr.busy { background: rgba(7, 133, 87, .05); }
.admin-table th:nth-child(1), .admin-table td:nth-child(1) { width: 62px; text-align: center; }
.admin-table th:nth-child(2), .admin-table td:nth-child(2) { width: 150px; }
.admin-table th:nth-child(3), .admin-table td:nth-child(3) { width: 190px; }
.admin-table th:nth-child(4), .admin-table td:nth-child(4) { width: 160px; }
.admin-table th:nth-child(5), .admin-table td:nth-child(5) { width: 118px; }
.admin-table th:nth-child(6), .admin-table td:nth-child(6) { width: 180px; }
.admin-table th:nth-child(7), .admin-table td:nth-child(7) { width: 260px; }
.admin-table th:nth-child(8), .admin-table td:nth-child(8) { width: 86px; text-align: center; }
.admin-table th:nth-child(9), .admin-table td:nth-child(9) { width: 212px; }
.admin-table-input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 14px;
}
.admin-table-input:focus { outline: 2px solid rgba(8, 122, 242, .14); outline-offset: 1px; }
.table-validity { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.table-validity div { display: grid; grid-template-columns: 1fr auto; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.table-validity input { min-height: 40px; border: 0 !important; border-radius: 0 !important; padding-right: 6px !important; }
.table-validity em { padding: 0 10px 0 6px; color: var(--ink); font-style: normal; font-size: 13px; font-weight: 900; text-transform: none; letter-spacing: 0; }
.table-state { min-width: 0; }
.table-state .transaction-status { width: fit-content; }
.table-check { justify-content: center; margin: 0; }
.admin-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-table-actions form { margin: 0; }
.admin-table-actions button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 0;
  color: white;
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
}
.admin-table-actions button.warning { background: var(--amber); }
.admin-table-actions button.danger { background: var(--danger); }
.center { text-align: center; }
.admin-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr)) auto auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 18px;
}
.check-row { display: flex !important; align-items: center; gap: 8px; color: var(--ink) !important; }
.check-row input { width: 18px; min-height: 18px; }
.admin-list { display: grid; gap: 10px; }
.admin-row {
  display: grid;
  gap: 14px;
  padding: 14px;
}
.admin-row-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  align-items: end;
}
.admin-row-fields label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.admin-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}
.admin-row button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--ink); color: white; font-size: 13px; font-weight: 700; cursor: pointer; }
.admin-row button.warning, .transaction-table button.warning { background: var(--amber); }
.admin-row button.danger { background: var(--danger); }
.validity-editor {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.validity-editor div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.validity-editor input {
  min-height: 39px;
  border: 0 !important;
  border-radius: 0 !important;
  padding-right: 6px !important;
}
.validity-editor em {
  padding: 0 12px 0 6px;
  color: var(--ink);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}
.admin-rental-state {
  display: grid;
  gap: 5px;
  min-width: 190px;
}
.admin-rental-state strong {
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.admin-rental-state small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.transaction-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(8, 122, 242, .07);
}
.transaction-table {
  width: 100%;
  min-width: 1420px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}
.transaction-table th,
.transaction-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.transaction-table th {
  color: white;
  background: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.transaction-table td:nth-child(1) { width: 154px; }
.transaction-table td:nth-child(4) { width: 232px; }
.transaction-table td:nth-child(5) { width: 210px; }
.transaction-table td:nth-child(6) { width: 138px; }
.transaction-table td:nth-child(10) { width: 128px; }
.transaction-table td:nth-child(11) {
  display: flex;
  gap: 8px;
  width: 170px;
}
.pass-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pass-cell .pass-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .5px;
}
.transaction-table button.pass-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  width: 28px;
  padding: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.transaction-table button.pass-toggle:hover { color: var(--blue); background: rgba(8, 122, 242, .1); }
.pass-cell .icon-eye-off { display: none; }
.pass-cell.revealed .icon-eye { display: none; }
.pass-cell.revealed .icon-eye-off { display: inline; }
.transaction-table td .acct-state {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acct-state.available { color: #0a8a3c; background: rgba(10, 138, 60, .12); }
.acct-state.self { color: #0a58c0; background: rgba(8, 122, 242, .12); }
.acct-state.busy { color: #a35a00; background: rgba(240, 160, 20, .18); }
.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.check-pill input { margin: 0; cursor: pointer; accent-color: #a35a00; }
.check-pill.on { color: #a35a00; border-color: rgba(240, 160, 20, .55); background: rgba(240, 160, 20, .16); }
.pass-set {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.pass-set .admin-table-input {
  flex: 1;
  min-width: 0;
  font-size: 12px;
}
.transaction-table .pass-set button {
  flex: none;
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
}
.transaction-table tbody tr.row-free td {
  background: rgba(10, 138, 60, .12);
  border-bottom-color: rgba(10, 138, 60, .45);
}
.transaction-table td strong,
.transaction-table td small {
  display: block;
}
.transaction-table td small,
.admin-muted {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.transaction-table button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  border: 0;
  color: white;
  background: var(--ink);
  font-size: 12px;
}
.transaction-table button.danger { background: var(--danger); }
.transaction-table button.success { background: #0a8a3c; }
.transaction-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.transaction-status.paid { color: #057348; background: rgba(7, 133, 87, .12); }
.transaction-status.available { color: var(--green); background: rgba(7, 133, 87, .1); }
.transaction-status.pending { color: var(--amber); background: rgba(184, 107, 0, .11); }
.transaction-status.completed { color: var(--muted); background: var(--soft); }
.transaction-status.cancelled { color: var(--muted); background: var(--soft); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 0;
  padding: 28px min(5vw, 56px);
  color: rgba(255, 255, 255, .78);
  background: var(--blue-deep);
}
.site-footer div { display: grid; gap: 6px; }
.site-footer strong { color: white; }

.account-page {
  min-height: 620px;
}
.account-page-head {
  max-width: 680px;
  margin-bottom: 22px;
}
.account-page-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(8, 122, 242, .18);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(8, 122, 242, .08);
  font-size: 13px;
  font-weight: 800;
}
.account-page-head svg { width: 17px; height: 17px; }
.account-page-head h1 {
  margin: 14px 0 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}
.account-page-head p {
  color: var(--muted);
  line-height: 1.65;
}
.empty-state, .history-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(8, 122, 242, .07);
}
.empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 28px;
}
.empty-state svg {
  width: 34px;
  height: 34px;
  color: var(--blue);
}
.empty-state h2 { margin: 0; font-size: 28px; }
.empty-state p { margin: 0 0 8px; color: var(--muted); }
.history-list {
  display: grid;
  gap: 14px;
}
.history-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}
.history-card.active {
  border-color: rgba(7, 133, 87, .28);
  background: linear-gradient(180deg, rgba(7, 133, 87, .06), white 42%);
}
.history-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.history-card-head div {
  display: grid;
  gap: 4px;
}
.history-card-head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.history-card-head strong {
  font-size: 20px;
}
.history-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
}
.history-status.ok { color: #057348; background: rgba(7, 133, 87, .12); }
.history-status.wait { color: var(--amber); background: rgba(184, 107, 0, .11); }
.history-status.off { color: var(--muted); background: var(--soft); }
.history-credentials {
  display: grid;
  grid-template-columns: 1.2fr 1fr .9fr .9fr;
  gap: 12px;
}
.history-credentials div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}
.history-credentials .copy-card {
  min-height: 68px;
}
.history-credentials span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.history-credentials strong {
  word-break: break-word;
}
.history-pending {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.history-pending a {
  color: var(--blue);
  font-weight: 900;
}
.history-muted {
  margin: 0;
  color: var(--muted);
}

.rent-proof-toast {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  width: min(320px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 34px 14px 16px;
  border: 1px solid rgba(219, 229, 244, .95);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 48px rgba(9, 22, 47, .16);
  backdrop-filter: blur(12px);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.rent-proof-toast.show {
  animation: proof-bounce-in .56s cubic-bezier(.2, 1.22, .36, 1) forwards;
  pointer-events: auto;
}
.rent-proof-toast.hide {
  animation: proof-drop-out .28s ease forwards;
}
.rent-proof-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #19c178, #079760);
  font-size: 22px;
  font-weight: 900;
}
.rent-proof-content {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.rent-proof-content strong,
.rent-proof-content b,
.rent-proof-content small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rent-proof-content strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
}
.rent-proof-content strong span:last-child {
  color: var(--muted);
  font-weight: 800;
}
.rent-proof-content b {
  color: var(--green);
  font-size: 14px;
  line-height: 1.15;
}
.rent-proof-content small {
  color: #8a97ad;
  font-size: 12px;
  font-weight: 700;
}
.rent-proof-content em {
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(7, 133, 87, .1);
  font-style: normal;
  font-weight: 900;
}
.rent-proof-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  color: #8a97ad;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

@keyframes proof-bounce-in {
  0% { transform: translateY(120%) scale(.96); opacity: 0; }
  70% { transform: translateY(-8px) scale(1); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes proof-drop-out {
  to { transform: translateY(120%) scale(.98); opacity: 0; }
}

@media (max-width: 900px) {
  .site-header { gap: 12px; padding: 12px 16px; }
  .menu-toggle { display: grid; }
  .site-header nav {
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .site-header.menu-open nav { display: grid; }
  .site-header nav a {
    display: block;
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
  }
  .site-header nav a:hover { background: rgba(255, 122, 24, .14); }
  .hero, .why-grid, .checkout-layout { grid-template-columns: 1fr; }
  .hero { min-height: 520px; padding-top: 56px; }
  .plans, .feature-band, .why-items { grid-template-columns: 1fr; }
  .admin-form, .admin-row { grid-template-columns: 1fr; }
  .checkout-side { position: static; }
  .rental-table { min-width: 720px; font-size: 14px; }
  .rental-table th, .rental-table td { height: 54px; padding: 0 14px; }
  .rental-table th:nth-child(2), .rental-table td:nth-child(2) { width: 150px; }
  .rental-table th:nth-child(3), .rental-table td:nth-child(3) { width: 120px; }
  .history-credentials { grid-template-columns: 1fr; }
  .history-card-head, .history-pending { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header + main { width: min(100% - 22px, 1180px); }
  .site-header { position: static; }
  .brand strong { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { min-height: 500px; padding: 42px 18px; }
  .hero h1 { font-size: 38px; }
  .hero-title-line { white-space: normal; }
  .hero p { font-size: 15px; }
  .hero-actions { justify-content: center; }
  .btn-primary, .btn-ghost { width: 100%; }
  .qr-panel, .payment-sync-form { grid-template-columns: 1fr; }
  .qr-panel img { justify-self: center; }
  .modal-plans { grid-template-columns: 1fr; }
  .custom-plan {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }
  .custom-plan-values { gap: 6px; white-space: nowrap; }
  .custom-plan-copy strong { font-size: 15px; }
  .custom-days-field input { width: 58px; min-height: 28px; }
  .custom-days-field span { font-size: 12px; }
  .custom-plan b { font-size: 15px; }
  .section-head, .admin-head, .account-strip, .site-footer { align-items: flex-start; flex-direction: column; }
  .account-strip { margin-top: 20px; }
  .copy-card { padding-right: 52px !important; }
  .copy-button { width: 32px; height: 32px; right: 10px; }
  .checkout-main { padding: 22px; }
  .admin-table { min-width: 1180px; font-size: 13px; }
  .admin-table th,
  .admin-table td { padding: 10px 8px; }
  .admin-table-input { min-height: 38px; font-size: 13px; }
  .table-validity input { min-height: 38px; }
  .admin-table-actions { gap: 6px; }
  .admin-table-actions button { min-height: 32px; padding: 0 10px; }
  .rent-modal { max-height: calc(100vh - 28px); overflow: auto; padding: 22px; }
  .rent-proof-toast {
    left: 11px;
    bottom: 11px;
    width: calc(100vw - 22px);
  }
}

.admin-settings-form {
  display: grid;
  gap: 16px;
}
.settings-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 18px 46px rgba(8, 122, 242, .07);
}
.settings-card h2 {
  margin: 0;
  font-size: 22px;
}
.settings-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
.provider-grid,
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.provider-option,
.settings-grid label,
.settings-wide {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.provider-option {
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.provider-option span,
.provider-option small {
  grid-column: 2;
}
.provider-option span {
  color: var(--ink);
  font-size: 16px;
}
.provider-option small {
  font-weight: 700;
}
.settings-grid input,
.settings-wide textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}
.settings-wide textarea {
  resize: vertical;
}
.bank-code-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.bank-code-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.bank-code-table th,
.bank-code-table td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.bank-code-table th {
  color: white;
  background: var(--blue);
  font-size: 11px;
  text-transform: uppercase;
}
.bank-code-table code {
  font-weight: 900;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.btn-secondary {
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--orange);
  border-radius: 10px;
  background: white;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-secondary:hover {
  background: var(--orange);
  color: white;
}

.payment-provider-note {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 280px;
  min-height: 280px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
  text-align: center;
}
.payment-provider-note strong {
  color: var(--ink);
  font-size: 18px;
}
.payment-provider-note span {
  font-size: 13px;
  font-weight: 700;
}
.analyze-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.analyze-stat-card {
  flex: 1;
  min-width: 120px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(8,122,242,.07);
}
.analyze-stat-card span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.analyze-stat-card strong {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue);
}
.analyze-chart-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(8,122,242,.07);
}
.analyze-table th:nth-child(1) { width: 130px; }
.analyze-table th:nth-child(2) { width: 160px; }
.analyze-table th:nth-child(3) { width: 120px; }
.analyze-table th:nth-child(4) { width: 110px; }
.analyze-table th:nth-child(5) { width: 100px; }
.analyze-table th:nth-child(6) { width: auto; }
.analyze-referer {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--muted);
}
.analyze-stat-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

/* Tab admin "Thong ke thue" */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.stats-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 20px;
  margin-bottom: 10px;
}
.stats-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stats-presets a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.stats-presets a:hover { color: var(--ink); background: var(--soft); }
.stats-presets a.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.stats-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}
.stats-custom label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.stats-custom input {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
.stats-custom button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.stats-range-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.stats-range-note strong { color: var(--ink); }
.stats-kpis strong { overflow-wrap: anywhere; }
.stats-exclude { margin: -6px 0 18px; }
.stats-exclude summary {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.stats-exclude summary::-webkit-details-marker { display: none; }
.stats-exclude summary strong { color: var(--ink); }
.stats-exclude summary em { color: var(--blue); font-style: normal; font-weight: 800; }
.stats-exclude-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  max-width: 560px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
.stats-exclude-form label {
  display: grid;
  flex: 1 1 260px;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.stats-exclude-form textarea {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  resize: vertical;
}
.stats-exclude-form button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
}
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.stats-card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 14px rgba(8, 122, 242, .07);
}
.stats-card-flush { padding: 18px 0 0; overflow: hidden; }
.stats-card-flush .stats-card-head { padding: 0 20px; }
.stats-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.stats-card h2 { margin: 0; font-size: 18px; font-weight: 800; }
.stats-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 500; }
.stats-card p strong { color: var(--ink); }
.stats-empty { text-align: center; padding: 42px 20px; }
.stats-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.stats-toggle button {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.stats-toggle button[aria-pressed="true"] {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(9, 22, 47, .14);
}
.stats-chart-box { position: relative; height: 330px; }
.stats-table-wrap { overflow-x: auto; }
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.stats-table th,
.stats-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.stats-table th:first-child,
.stats-table td:first-child { padding-left: 20px; text-align: left; font-weight: 700; }
.stats-table th:last-child,
.stats-table td:last-child { padding-right: 20px; }
.stats-table thead th {
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.stats-table tbody tr:hover { background: #f8fbff; }
.stats-table tfoot td { border-bottom: 0; background: var(--paper); font-weight: 900; }
.stats-peak {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(8, 122, 242, .1);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 800;
}
.stats-heat-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.stats-heat-legend i { width: 22px; height: 12px; border-radius: 3px; }
.stats-heat-legend span:first-child { margin-right: 4px; }
.stats-heat-legend span:nth-last-child(2) { margin-left: 4px; }
.stats-heat-legend-max { margin-left: 8px; }
.stats-heat-wrap { overflow-x: auto; }
.stats-heatmap {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.stats-heatmap th { padding: 4px 0; color: var(--muted); font-weight: 700; text-align: center; }
.stats-heatmap thead th:first-child,
.stats-heatmap tbody th,
.stats-heatmap tfoot th { width: 76px; padding-right: 8px; text-align: left; }
.stats-heatmap thead th:first-child,
.stats-heatmap tbody th,
.stats-heatmap tfoot th { position: sticky; left: 0; z-index: 1; background: white; }
.stats-heatmap tbody th { color: var(--ink); font-size: 12px; font-weight: 800; white-space: nowrap; }
.stats-heatmap tfoot th { color: var(--ink); font-weight: 900; }
.stats-heatmap .heat-total { width: 52px; }
.stats-heatmap td {
  height: 32px;
  border-radius: 4px;
  background: #f1f5fb;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}
.stats-heatmap td[data-tip]:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.stats-heatmap td.heat-total { background: transparent; color: var(--ink); font-weight: 900; }
.stats-heatmap tfoot td.heat-total { color: var(--muted); }
.stats-heatmap tfoot td.heat-total:last-child { color: var(--ink); }
/* Thang mau tuan tu mot sac xanh; chu trang tu bac 5 de dat tuong phan. */
.stats-heatmap td.heat-1, .stats-heat-legend .heat-1 { background: #cde2fb; }
.stats-heatmap td.heat-2, .stats-heat-legend .heat-2 { background: #9ec5f4; }
.stats-heatmap td.heat-3, .stats-heat-legend .heat-3 { background: #6da7ec; }
.stats-heatmap td.heat-4, .stats-heat-legend .heat-4 { background: #3987e5; }
.stats-heatmap td.heat-5, .stats-heat-legend .heat-5 { background: #256abf; color: white; }
.stats-heatmap td.heat-6, .stats-heat-legend .heat-6 { background: #104281; color: white; }
.stats-cust { margin-top: 16px; }
.stats-cust-search {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stats-cust-search input {
  width: 200px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}
.stats-cust-search small { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.stats-cust-wrap { max-height: 620px; overflow: auto; }
.stats-cust-table thead th { position: sticky; top: 0; z-index: 1; }
.stats-cust-table th:nth-child(2),
.stats-cust-table td:nth-child(2),
.stats-cust-table th:last-child,
.stats-cust-table td:last-child { text-align: left; }
.stats-cust-table td:first-child { color: var(--muted); font-weight: 700; }
.stats-cust-table th button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.stats-cust-table th button::after { content: " ↕"; opacity: .45; }
.stats-cust-table th[aria-sort="descending"] button::after { content: " ↓"; opacity: 1; }
.stats-cust-table th[aria-sort="ascending"] button::after { content: " ↑"; opacity: 1; }
.stats-cust-table th button:focus-visible { outline: 2px solid white; outline-offset: 2px; border-radius: 2px; }
.stats-cust-empty { padding: 18px 20px; text-align: center; }
.stats-tip {
  position: fixed;
  z-index: 50;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 8px));
  box-shadow: 0 8px 20px rgba(9, 22, 47, .25);
}
.stats-tip[hidden] { display: none; }
.stats-tip strong { font-size: 14px; }
.stats-tip span { color: rgba(255, 255, 255, .75); }
/* Bang chi tiet can ~650px; hep hon thi xep bieu do va bang chong len nhau. */
@media (max-width: 1320px) {
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-kpis strong { font-size: 22px; }
  .stats-chart-box { height: 280px; }
  .stats-card { padding: 16px 14px; }
  .stats-card-flush { padding: 16px 0 0; }
  .stats-card-flush .stats-card-head { padding: 0 14px; }
  .stats-cust-search { width: 100%; }
  .stats-cust-search input { flex: 1; width: auto; }
}

/* ==================================================================
   VietMapLive activation key pages - premium redesign
   ================================================================== */

.vmlp-wrap {
  --vml-navy:#06126d;--vml-blue:#087af2;--vml-orange:#ff7a18;--vml-orange-dark:#e15f00;
  --vml-ink:#09162f;--vml-muted:#66748f;--vml-line:#dbe5f4;
  display:flex;flex-direction:column;gap:clamp(28px,4vw,54px);
  padding:clamp(22px,3.2vw,42px) 0 clamp(44px,5vw,72px);
}
.vmlp-hero {
  position:relative;isolation:isolate;display:grid;
  grid-template-columns:minmax(320px,1.05fr) minmax(360px,.95fr);
  align-items:center;gap:clamp(28px,4.2vw,56px);min-height:560px;
  padding:clamp(28px,4vw,58px);border:1px solid rgba(8,122,242,.15);
  border-radius:34px;overflow:hidden;
  background:radial-gradient(circle at 14% 16%,rgba(255,122,24,.16),transparent 28%),radial-gradient(circle at 86% 8%,rgba(8,122,242,.16),transparent 28%),linear-gradient(135deg,#fff 0%,#f5f9ff 45%,#eef6ff 100%);
  box-shadow:0 28px 78px rgba(6,18,109,.10);
}
.vmlp-hero::before { content:"";position:absolute;inset:28px;z-index:-1;border-radius:28px;border:1px solid rgba(255,255,255,.72);pointer-events:none; }
.vmlp-hero-img-col { min-width:0;align-self:stretch;display:grid;place-items:center;padding:clamp(18px,2vw,28px);border-radius:28px;background:linear-gradient(145deg,#fff,#f2f7ff);box-shadow:inset 0 0 0 1px rgba(8,122,242,.08),0 22px 58px rgba(6,18,109,.10); }
.vmlp-hero-img { display:block;width:min(100%,560px);height:auto;max-height:440px;object-fit:contain;filter:drop-shadow(0 20px 32px rgba(6,18,109,.18)); }
.vmlp-hero-copy { max-width:560px; }
.vmlp-kicker,.vmlp-eyebrow,.vmlp-modal-kicker { display:inline-flex;align-items:center;gap:8px;width:fit-content;margin:0;padding:8px 12px;border:1px solid rgba(255,122,24,.24);border-radius:999px;color:#e15f00;background:rgba(255,122,24,.09);font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase; }
.vmlp-kicker svg,.vmlp-eyebrow svg,.vmlp-modal-kicker svg { width:16px;height:16px;stroke-width:3; }
.vmlp-h1 { margin:18px 0 16px;color:var(--vml-ink);font-size:clamp(38px,5.25vw,68px);font-weight:900;line-height:.98;letter-spacing:-1.8px; }
.vmlp-brand { display:inline-block;color:var(--vml-orange); }
.vmlp-lead { max-width:53ch;margin:0;color:var(--vml-muted);font-size:clamp(15px,1.6vw,18px);line-height:1.72;font-weight:600; }
.vmlp-feats,.vmlp-card-feats { list-style:none;margin:0;padding:0; }
.vmlp-feats { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:24px 0 26px; }
.vmlp-feats li,.vmlp-card-feats li { display:flex;align-items:flex-start;gap:9px;color:var(--vml-ink);font-size:13px;font-weight:700;line-height:1.45; }
.vmlp-feats svg,.vmlp-card-feats svg { width:17px;height:17px;margin-top:1px;flex:0 0 auto;color:var(--vml-orange);stroke-width:3; }
.vmlp-cta { display:inline-flex !important;align-items:center;gap:10px;min-height:48px;padding:0 22px !important;border-radius:16px !important;box-shadow:0 18px 34px rgba(255,122,24,.28) !important; }

.vmlp-trust-bar { display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:16px;padding:16px 20px;border:1px solid rgba(8,122,242,.14);border-radius:22px;background:rgba(255,255,255,.86);box-shadow:0 16px 48px rgba(6,18,109,.07); }
.vmlp-trust-item { display:flex;align-items:center;justify-content:center;gap:9px;color:var(--vml-ink);font-size:13px;font-weight:700;text-align:center; }
.vmlp-trust-item svg { width:18px;height:18px;color:var(--vml-blue);stroke-width:2.8; }
.vmlp-trust-sep { width:1px;height:26px;background:var(--vml-line); }

.vmlp-products { padding:clamp(26px,4vw,52px);border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.98)),radial-gradient(circle at 50% 0%,rgba(8,122,242,.12),transparent 32%);border:1px solid rgba(8,122,242,.10);box-shadow:0 24px 72px rgba(6,18,109,.08); }
.vmlp-section-head { max-width:720px;margin:0 auto clamp(24px,3vw,34px);text-align:center; }
.vmlp-section-title { margin:12px 0 8px;color:var(--vml-ink);font-size:clamp(30px,3.2vw,42px);font-weight:900;line-height:1.08;letter-spacing:-1px; }
.vmlp-section-sub { margin:0;color:var(--vml-muted);font-size:15px;font-weight:700; }
.vmlp-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(22px,2.8vw,32px);align-items:stretch; }
.vmlp-card { position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(8,122,242,.13);border-radius:30px;background:rgba(255,255,255,.92);box-shadow:0 22px 56px rgba(6,18,109,.09);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.vmlp-card:hover { transform:translateY(-5px);border-color:rgba(8,122,242,.36);box-shadow:0 30px 78px rgba(6,18,109,.14); }
.vmlp-card--best { border-color:rgba(255,122,24,.38);box-shadow:0 26px 74px rgba(255,122,24,.14),0 22px 56px rgba(6,18,109,.08); }
.vmlp-card--sold { opacity:.72;filter:grayscale(.08); }
.vmlp-best-ribbon { position:absolute;top:18px;right:18px;z-index:4;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--vml-orange),var(--vml-orange-dark));box-shadow:0 14px 28px rgba(225,95,0,.24);font-size:12px;font-weight:800; }
.vmlp-best-ribbon svg { width:15px;height:15px;stroke-width:3; }
.vmlp-card-img { position:relative;display:grid;place-items:center;min-height:clamp(260px,29vw,360px);padding:28px 24px 18px;background:linear-gradient(145deg,#fff 0%,#f1f7ff 100%); }
.vmlp-card-img img { display:block;width:min(100%,430px);height:auto;max-height:320px;object-fit:contain;filter:drop-shadow(0 16px 24px rgba(6,18,109,.16));transition:transform .24s ease; }
.vmlp-card:hover .vmlp-card-img img { transform:scale(1.025); }
.vmlp-duration-pill { position:absolute;left:18px;bottom:18px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;color:var(--vml-ink);background:rgba(255,255,255,.92);border:1px solid rgba(8,122,242,.15);box-shadow:0 12px 26px rgba(6,18,109,.10);font-size:13px;font-weight:800; }
.vmlp-duration-pill svg { width:16px;height:16px;color:var(--vml-orange);stroke-width:3; }
.vmlp-card-body { flex:1;display:flex;flex-direction:column;gap:14px;padding:clamp(22px,2.8vw,30px); }
.vmlp-card-name { margin:0;color:var(--vml-ink);font-size:clamp(21px,2vw,26px);font-weight:900;line-height:1.12;letter-spacing:-.4px; }
.vmlp-card-price-row { display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap; }
.vmlp-card-price { color:var(--vml-orange);font-size:clamp(28px,3.2vw,40px);font-weight:900;line-height:.95;letter-spacing:-1px; }
.vmlp-card-unit { color:var(--vml-muted);font-size:13px;font-weight:700;padding-bottom:4px; }
.vmlp-divider { height:1px;background:linear-gradient(90deg,transparent,var(--vml-line),transparent); }
.vmlp-card-feats { display:flex;flex-direction:column;gap:10px; }
.vmlp-card-feats li { font-size:14px;font-weight:700;color:#20304f; }
.vmlp-card-note { margin:0;padding:11px 13px;border:1px dashed rgba(8,122,242,.20);border-radius:14px;color:var(--vml-muted);background:#f8fbff;font-size:13px;font-weight:700;line-height:1.5; }
.vmlp-stock { display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:9px 12px;border-radius:999px;font-size:13px;font-weight:800; }
.vmlp-stock svg { width:17px;height:17px;stroke-width:3; }
.vmlp-stock--ok { color:#05724b;background:#ebfbf4; }
.vmlp-stock--low { color:#a65f00;background:#fff7df; }
.vmlp-stock--empty { color:#b42318;background:#fff0ee; }
.vmlp-buy-btn { display:inline-flex !important;align-items:center;justify-content:center;gap:9px;width:100%;min-height:50px;margin-top:auto;border-radius:16px !important;font-size:15px !important;font-weight:800 !important;box-shadow:0 18px 34px rgba(255,122,24,.25) !important; }
.vmlp-unavail { display:grid;place-items:center;min-height:50px;margin-top:auto;border-radius:16px;color:var(--vml-muted);background:#f4f7fb;font-size:13px;font-weight:800; }
.vmlp-empty { display:grid;place-items:center;gap:10px;min-height:220px;color:var(--vml-muted);text-align:center; }
.vmlp-empty svg { width:46px;height:46px;color:var(--vml-orange); }
.vmlp-empty strong { color:var(--vml-ink);font-size:20px; }

.vmlp-how { padding:clamp(28px,4vw,52px);border-radius:34px;background:linear-gradient(135deg,#06126d 0%,#0d1697 55%,#087af2 100%);box-shadow:0 28px 78px rgba(6,18,109,.18);color:#fff; }
.vmlp-how .vmlp-section-title { color:#fff; }
.vmlp-how .vmlp-section-sub { color:rgba(255,255,255,.75); }
.vmlp-how .vmlp-eyebrow { color:#fff3ea;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.10); }
.vmlp-steps { display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:14px;align-items:stretch; }
.vmlp-step { min-height:188px;padding:22px 18px;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.16);position:relative; }
.vmlp-step-icon { width:46px;height:46px;display:grid;place-items:center;margin-bottom:18px;border-radius:15px;color:var(--vml-orange);background:#fff;box-shadow:0 12px 26px rgba(0,0,0,.16); }
.vmlp-step-icon svg { width:23px;height:23px;stroke-width:3; }
.vmlp-step-num { position:absolute;top:18px;right:18px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--vml-orange);color:#fff;font-size:13px;font-weight:800; }
.vmlp-step strong { display:block;margin-bottom:7px;font-size:16px;font-weight:800; }
.vmlp-step p { margin:0;color:rgba(255,255,255,.78);font-size:13px;line-height:1.55;font-weight:600; }
.vmlp-step-arrow { display:grid;place-items:center;color:rgba(255,255,255,.45); }
.vmlp-step-arrow svg { width:22px;height:22px;stroke-width:3; }
.vmlp-use-guide {
  margin-top:clamp(30px,4vw,48px);
  padding-top:clamp(28px,3.6vw,42px);
  border-top:1px solid rgba(255,255,255,.18);
}
.vmlp-use-guide .vmlp-section-head { margin-bottom:clamp(22px,3vw,30px); }
.vmlp-steps--guide .vmlp-step {
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.22);
}
.vmlp-steps--guide .vmlp-step-icon { color:var(--vml-blue); }

.vmlp-modal { max-width:520px;gap:16px;border-radius:26px !important; }
.vmlp-modal-title { margin:0;color:var(--ink);font-size:26px;font-weight:800; }
.vmlp-modal-price { margin:0;color:var(--orange);font-size:30px;font-weight:800; }
.vmlp-warn-note {
  display:flex;align-items:flex-start;gap:8px;
  padding:11px 13px;border-radius:12px;
  background:#fffbeb;border:1px solid rgba(180,100,0,.22);
  color:#92510a;font-size:12.5px;font-weight:700;line-height:1.5;
}
.vmlp-warn-note svg { width:16px;height:16px;flex:0 0 auto;margin-top:1px;color:#b45309;stroke-width:3; }

.vml-accent { color:var(--orange); }
.vml-key-box { background:linear-gradient(135deg,#f0fdf8,#e6fff5);border:2px solid #078557;border-radius:16px;padding:28px 24px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;margin:20px 0; }
.vml-key-box span { font-size:14px;font-weight:700;color:#078557;display:flex;align-items:center;gap:6px; }
.vml-key-box strong { font-size:clamp(18px,3.5vw,32px);font-weight:900;letter-spacing:2px;color:var(--ink);word-break:break-all; }
.vml-key-box .vml-key-copy {
  position:static;
  right:auto;
  top:auto;
  transform:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:auto;
  height:auto;
  min-height:40px;
  padding:10px 14px;
  border-radius:10px;
  color:#fff;
  background:#078557;
  box-shadow:0 8px 18px rgba(7,133,87,.22);
  font-weight:800;
}
.vml-key-box .vml-key-copy:hover { color:#fff;background:#066c48; }
.vml-next-actions { display:flex;gap:12px;flex-wrap:wrap;margin-top:8px; }
.vml-side strong { font-size:20px;display:block;margin:8px 0 12px; }
.vml-mini-session { display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(135deg,#fffbf7,#fff4eb);border:1.5px solid rgba(246,106,27,.25);border-radius:14px;padding:18px 24px;margin:34px 0 0; }
.vml-mini-copy { display:flex;flex-direction:column;gap:4px; }
.vml-mini-copy span { font-size:12px;font-weight:700;color:var(--orange);display:flex;align-items:center;gap:5px;text-transform:uppercase;letter-spacing:.6px; }
.vml-mini-copy strong { font-size:16px;font-weight:800;color:var(--ink); }
.vml-mini-copy small { font-size:12px;color:var(--muted); }
.vml-mini-btn { white-space:nowrap; }
.vml-promo-strip { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:linear-gradient(135deg,var(--orange),var(--orange-dark));border-radius:14px;padding:16px 22px;margin:0 0 24px;color:#fff; }
.vml-promo-left { display:flex;align-items:center;gap:12px; }
.vml-promo-left i { width:28px;height:28px;flex-shrink:0; }
.vml-promo-left div { display:flex;flex-direction:column;gap:2px; }
.vml-promo-left strong { font-size:16px;font-weight:800; }
.vml-promo-left span { font-size:12px;opacity:.88; }
.vml-promo-btn { background:#fff !important;color:var(--orange) !important;white-space:nowrap; }
.account-section-title { font-size:18px;font-weight:800;margin:28px 0 12px;display:flex;align-items:center;gap:8px; }
.vml-section-title { color:var(--orange); }
.vml-code-display { font-family:monospace;font-size:18px;letter-spacing:1px; }
.vml-modal-price { font-size:24px;font-weight:900;color:var(--orange);margin:0; }
.vml-admin-details { margin-bottom:14px;border:1px solid #e2e8f0;border-radius:10px;overflow:hidden; }
.vml-admin-details summary { padding:10px 14px;font-weight:700;cursor:pointer;background:#f8fafc; }
.vml-admin-details summary:hover { background:#f1f5f9; }

@media(max-width:1040px){.vmlp-hero{grid-template-columns:1fr;min-height:auto}.vmlp-hero-copy{max-width:none}.vmlp-hero-img{max-height:360px}.vmlp-trust-bar{grid-template-columns:repeat(2,1fr)}.vmlp-trust-sep{display:none}.vmlp-steps{grid-template-columns:repeat(2,1fr)}.vmlp-step-arrow{display:none}}
@media(max-width:760px){.vmlp-wrap{gap:26px;padding-top:16px}.vmlp-hero,.vmlp-products,.vmlp-how{border-radius:24px;padding:22px}.vmlp-feats,.vmlp-grid,.vmlp-trust-bar,.vmlp-steps{grid-template-columns:1fr}.vmlp-card-img{min-height:245px}}
@media(max-width:480px){.vmlp-hero,.vmlp-products,.vmlp-how{padding:18px;border-radius:20px}.vmlp-hero-img-col{padding:14px;border-radius:20px}.vmlp-card-body{padding:20px}.vmlp-card-img img{max-height:230px}}



/* VML code notice (account page) */
.vml-code-notice {
  display:flex;align-items:flex-start;gap:12px;
  padding:16px 18px;border-radius:14px;
  background:#f0fdf9;border:1.5px solid #10b981;
  color:#064e3b;
}
.vml-code-notice svg { width:24px;height:24px;flex:0 0 auto;color:#059669;stroke-width:2.5; }
.vml-code-notice strong { display:block;margin-bottom:4px;font-size:15px;font-weight:800; }
.vml-code-notice span { font-size:13px;font-weight:600;line-height:1.5;opacity:.82; }



.pay2s-diagnostic-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
}

.pay2s-diagnostic-qr img {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
}

.pay2s-diagnostic-qr small {
    max-width: 340px;
    opacity: .8;
}

.pay2s-diagnostic-raw {
    margin-top: 12px;
}

.pay2s-diagnostic-raw pre {
    max-height: 320px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 12px;
    line-height: 1.5;
    padding: 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .35);
}

/* ── Bang thong tin thanh toan (trang Checkout) ─────────────────────────────
   Thang chu theo ti le vang phi = 1.618, neo tu 13px:
     13   -> nhan
     16.5 -> gia tri  (13 x phi^0.5)
     21   -> so tien  (13 x phi)
   Nhan tieng Viet dung weight 600 + line-height 1.5 de dau khong bi bop,
   va khong gian chu tren chu co dau.                                          */

/* Khung rong hon khung mac dinh 588px: cot phai can du cho so tai khoan
   13 chu so nam tron mot dong, khong duoc xuong dong giua day so.            */
.qr-panel-wide {
  width: min(100%, 700px);
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
}
/* QR cao dung bang bang thong tin ben canh de hai khoi thang hang tuyet doi. */
.qr-panel-wide img { width: 300px; height: 300px; border-radius: 14px; }

.pay-panel {
  min-width: 0;
  margin: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

/* Flex + wrap thay vi grid co dinh: khi cot hep lai, gia tri tu dong tut xuong
   dong duoi thay vi de len nhan. Khong phai doan breakpoint theo be ngang man hinh. */
.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px 18px;
  padding: 11px 0;
  border-top: 1px solid rgba(9, 22, 47, .07);
}
.pay-row:first-child { padding-top: 0; border-top: 0; }
.pay-row:last-child { padding-bottom: 0; }

.pay-panel dt {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}
.pay-panel dd {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  text-align: right;
}

/* Day so va ma chuyen khoan: giu tren mot dong, gian nhe cho de doc.
   Xuong dong giua day so khien khach go sai nen tuyet doi khong cho wrap.    */
.pay-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  white-space: nowrap;
}

.pay-row-hero dt { color: var(--ink); font-weight: 700; }
.pay-amount {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--blue-dark);
}

.pay-row-foot dd { font-size: 13px; font-weight: 600; color: var(--muted); }

.pay-copy {
  position: static;
  transform: none;
  flex: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}

/* Man hinh hep: xep nhan tren, gia tri duoi - lay tron be ngang nen
   khong con ap luc chieu rong, day so van nam gon mot dong.                  */
@media (max-width: 860px) {
  /* Khai bao lai o day vi rule .qr-panel-wide nam sau media query goc cua .qr-panel. */
  .qr-panel-wide { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .qr-panel-wide img {
    width: min(100%, 300px);
    height: auto;
    aspect-ratio: 1 / 1;
    justify-self: center;
  }
  .pay-panel { padding: 16px 18px; }
  .pay-row { padding: 10px 0; }
  .pay-amount { font-size: 20px; }
}
