:root {
  color-scheme: light;
  --bg: #0f172a;
  --bg-soft: #111827;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e5eefb;
  --muted: #94a3b8;
  --brand: #38bdf8;
  --brand-strong: #0ea5e9;
  --danger: #f87171;
  --success: #34d399;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.45);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 26%),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #111827 100%);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  align-items: start;
}

.client-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  align-items: start;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  padding: 1.25rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link,
.button,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.button:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #00111f;
  background: linear-gradient(135deg, #7dd3fc, #38bdf8);
}

.button-secondary,
.nav-link {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.48);
}

.hero,
.auth-wrap {
  padding: 2.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.hero-panel,
.card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 2.25rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #bae6fd;
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 58ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.meta-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meta-item {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.meta-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.meta-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.sidebar {
  display: grid;
  gap: 1rem;
}

.panel-stack {
  padding: 1.4rem;
}

.panel-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.panel-text {
  margin: 0;
  color: var(--muted);
}

.list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #dbeafe;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.14);
  flex: 0 0 auto;
}

.auth-card {
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 2rem;
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.card-header p {
  margin: 0;
  color: var(--muted);
}

.alert {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(6, 95, 70, 0.35);
}

.alert-error {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.42);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  background: rgba(2, 6, 23, 0.45);
  color: var(--text);
  outline: none;
}

.field input::placeholder {
  color: #64748b;
}

.field input:focus {
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.form-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.field-errors {
  margin: 0;
  padding-left: 1.1rem;
  color: #fecaca;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-note a {
  color: #bae6fd;
  font-weight: 700;
}

.logout-form {
  margin: 0;
}

.client-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--panel-border);
  background: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.client-sidebar-brand {
  display: grid;
  gap: 0.75rem;
}

.client-sidebar-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.client-sidebar-nav {
  display: grid;
  gap: 0.65rem;
}

.client-sidebar-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.34);
  font-weight: 600;
}

.client-sidebar-link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateX(2px);
}

.client-sidebar-link-active {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(14, 165, 233, 0.18);
  color: #dbeafe;
}

.client-sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 0.9rem;
}

.client-user-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.38);
}

.client-user-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.client-user-card strong {
  font-size: 1rem;
}

.client-user-card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.client-logout-button {
  width: 100%;
}

.client-main {
  min-width: 0;
  padding: 1.5rem;
  min-height: 100vh;
}

.client-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.client-page-kicker {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: #bae6fd;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.client-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.client-breadcrumb {
  color: #cbd5e1;
  font-weight: 600;
}

.client-breadcrumb:hover {
  color: #e2e8f0;
}

.client-breadcrumb-current {
  color: #bae6fd;
  font-weight: 700;
}

.client-breadcrumb-separator {
  color: rgba(148, 163, 184, 0.75);
}

.client-page-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
}

.client-page-meta {
  display: grid;
  gap: 0.15rem;
  justify-items: end;
  text-align: right;
}

.client-page-meta-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.client-page-meta strong {
  font-size: 0.98rem;
}

.client-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.42);
}

.client-footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.client-footer-note {
  color: #bae6fd;
  font-size: 0.92rem;
  font-weight: 700;
}

.settings-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin-top: 1rem;
}

.settings-form {
  margin-top: 0;
}

.settings-preview {
  display: grid;
  gap: 1rem;
}

.settings-preview-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.28);
}

.settings-preview-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.settings-preview-image {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.settings-preview-image img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.settings-barcode img {
  max-height: 160px;
}

.settings-placeholder {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(148, 163, 184, 0.2);
}

.settings-meta {
  display: grid;
  gap: 0.9rem;
}

.settings-meta-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.proof-preview {
  display: grid;
  gap: 0.4rem;
  max-width: 160px;
}

.proof-preview-link {
  display: inline-flex;
  width: 100%;
}

.proof-thumb {
  width: 100%;
  max-width: 150px;
  max-height: 110px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.proof-filename {
  color: var(--muted);
  font-size: 0.82rem;
  word-break: break-word;
}

.client-overview {
  display: grid;
  gap: 1.25rem;
}

.client-overview-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.client-hero-card h2 {
  margin: 0.25rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.client-side-stack {
  display: grid;
  gap: 1rem;
}

.client-stat-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.client-stat-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.client-stat-card strong {
  font-size: 1.1rem;
}

.client-stat-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.client-preview-card {
  margin-top: 0;
}

.client-section {
  display: grid;
  gap: 1.25rem;
}

.client-table-card {
  margin-top: 0;
}

.upload-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.upload-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.28);
}

.upload-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.upload-card h3 {
  margin: 0 0 0.2rem;
}

.upload-form {
  display: grid;
  gap: 1rem;
}

.client-empty {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.22);
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--panel-border);
  background: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  display: grid;
  gap: 0.75rem;
}

.admin-sidebar-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.65rem;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.34);
  font-weight: 600;
}

.admin-sidebar-link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateX(2px);
}

.admin-sidebar-link-active {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(14, 165, 233, 0.18);
  color: #dbeafe;
}

.admin-sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 0.9rem;
}

.admin-user-card {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.38);
}

.admin-user-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-user-card strong {
  font-size: 1rem;
}

.admin-user-card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-logout-button {
  width: 100%;
}

.admin-main {
  min-width: 0;
  padding: 1.5rem;
  min-height: 100vh;
}

.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.admin-page-kicker {
  display: inline-flex;
  margin-bottom: 0.35rem;
  color: #bae6fd;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.admin-breadcrumb {
  color: #cbd5e1;
  font-weight: 600;
}

.admin-breadcrumb:hover {
  color: #e2e8f0;
}

.admin-breadcrumb-current {
  color: #bae6fd;
  font-weight: 700;
}

.admin-breadcrumb-separator {
  color: rgba(148, 163, 184, 0.75);
}

.admin-page-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
}

.admin-page-meta {
  display: grid;
  gap: 0.15rem;
  justify-items: end;
  text-align: right;
}

.admin-page-meta-label {
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-page-meta strong {
  font-size: 0.98rem;
}

.admin-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.42);
}

.admin-footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.admin-footer-note {
  color: #bae6fd;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.admin-section {
  padding: 0 0 4rem;
}

.admin-stack {
  margin-top: 1.5rem;
}

.admin-table-head {
  text-align: left;
}

.admin-table-wrap {
  overflow: auto;
  margin-top: 1rem;
}

.status-filter-form {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.status-filter-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 180px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-filter-form .field-select {
  min-width: 190px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: inherit;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 0;
  text-align: left;
}

.admin-table thead th {
  color: #bae6fd;
}

.admin-table tbody tr {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--text);
  background: rgba(15, 23, 42, 0.48);
  font-size: 0.95rem;
}

.admin-chip:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

.admin-chip-active {
  border-color: rgba(56, 189, 248, 0.7);
  background: rgba(14, 165, 233, 0.16);
}

.admin-grid {
  display: grid;
  gap: 1.25rem;
}

.admin-dashboard {
  display: grid;
  gap: 1.25rem;
}

.admin-cta-row {
  margin-bottom: 1.25rem;
}

.dashboard-columns {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.inline-link {
  color: #bae6fd;
  font-weight: 700;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.purchase-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: start;
}

.payment-panel {
  position: sticky;
  top: 1rem;
}

.product-card-active {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.28), var(--shadow);
}

.product-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(2, 6, 23, 0.28);
}

.product-card-top,
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card-top h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-recommendation {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.16);
  color: #fde68a;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-card-footer strong {
  font-size: 1.05rem;
}

.payment-layout {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.client-status-alert {
  display: grid;
  gap: 0.25rem;
}

.client-next-step {
  border-color: rgba(56, 189, 248, 0.22);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.28));
}

.client-next-step .panel-title {
  font-size: 1.35rem;
}

.next-step-product {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.16);
  width: fit-content;
}

.payment-summary,
.payment-method {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.28);
}

.payment-summary strong {
  font-size: 1.05rem;
}

.payment-summary span {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-aktif,
.status-verified,
.status-completed {
  background: rgba(52, 211, 153, 0.16);
  color: #a7f3d0;
}

.status-admin {
  background: rgba(56, 189, 248, 0.16);
  color: #bae6fd;
}

.status-client {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}

.status-nonaktif,
.status-rejected {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}

.status-pending {
  background: rgba(250, 204, 21, 0.16);
  color: #fde68a;
}

@media (max-width: 720px) {
  .meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .client-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--panel-border);
    position: static;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .client-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--panel-border);
    position: static;
    top: auto;
    height: auto;
    overflow: visible;
  }

  .admin-main {
    padding: 1rem;
  }

  .client-main {
    padding: 1rem;
  }

  .admin-page-header,
  .admin-footer {
    padding: 1rem;
  }

  .client-page-header,
  .client-footer {
    padding: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-columns {
    grid-template-columns: 1fr;
  }

  .client-overview-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
  }

  .client-stat-grid {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
  }

  .admin-page-header,
  .admin-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-page-meta {
    justify-items: start;
    text-align: left;
  }

  .client-page-header,
  .client-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-page-meta {
    justify-items: start;
    text-align: left;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel,
  .auth-card {
    padding: 1.25rem;
  }

  .admin-sidebar {
    padding: 1.1rem;
  }
}
