@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root,
[data-bs-theme='light'] {
  --aw-bg: #f4f8fb;
  --aw-surface: #ffffff;
  --aw-elevated: #eef6fa;
  --aw-border: #d7e6ef;
  --aw-text: #0f172a;
  --aw-muted: #64748b;
  --aw-accent-from: #0284c7;
  --aw-accent-to: #0d9488;
  --aw-card-shadow: 0 8px 30px rgba(2, 132, 199, 0.08);
}

[data-bs-theme='dark'] {
  --aw-bg: #0a1018;
  --aw-surface: #111b28;
  --aw-elevated: #162232;
  --aw-border: #243447;
  --aw-text: #e8f4fc;
  --aw-muted: #94a8bc;
  --aw-accent-from: #38bdf8;
  --aw-accent-to: #2dd4bf;
  --aw-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--aw-bg);
  color: var(--aw-text);
  min-height: 100vh;
}

.aw-shell .icon,
.aw-shell svg.icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-block;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* ——— App shell ——— */

.aw-app {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.aw-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  box-shadow: var(--aw-card-shadow);
}

.aw-header__brand {
  flex-shrink: 0;
}

.aw-header__nav {
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.aw-header__link {
  padding: 0.45rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--aw-muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.aw-header__link:hover,
.aw-header__link.is-active {
  color: var(--aw-accent-from);
  background: color-mix(in srgb, var(--aw-accent-from) 10%, transparent);
}

.aw-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.aw-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  color: var(--aw-muted);
  text-decoration: none;
}

.aw-header__icon-btn:hover {
  color: var(--aw-accent-from);
  background: color-mix(in srgb, var(--aw-accent-from) 10%, transparent);
}

.aw-header__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--aw-border);
  border-radius: 0.55rem;
  background: var(--aw-surface);
}

.aw-header__toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: var(--aw-text);
}

.aw-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border: 1px solid var(--aw-border);
  border-radius: 999px;
  background: var(--aw-elevated);
  color: var(--aw-text);
  font-weight: 600;
  font-size: 0.9rem;
}

.aw-user-chip::after {
  margin-left: 0.15rem;
}

.aw-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aw-accent-from), var(--aw-accent-to));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aw-frame {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
  flex: 1;
}

.aw-sidebar {
  position: sticky;
  top: 1rem;
}

.aw-main {
  min-width: 0;
}

.aw-main--guest {
  margin-top: 1.25rem;
  max-width: 960px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.aw-mobile-nav {
  margin-top: 0.75rem;
}

.aw-breadcrumb {
  margin-bottom: 1rem;
}

.aw-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.aw-page-head h1 {
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.aw-page-head__text p {
  margin: 0;
  color: var(--aw-muted);
  max-width: 40rem;
}

.aw-page-head__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aw-accent-from);
}

.aw-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aw-empty-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

.aw-empty-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: color-mix(in srgb, var(--aw-accent-from) 12%, transparent);
  color: var(--aw-accent-from);
}

.aw-empty-state__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.aw-empty-state h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.aw-empty-state p {
  color: var(--aw-muted);
  margin-bottom: 1.25rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.aw-wordmark {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
  background: linear-gradient(135deg, var(--aw-accent-from), var(--aw-accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.aw-topbar {
  box-shadow: var(--aw-card-shadow);
}

.aw-sidebar-nav {
  padding: 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  box-shadow: var(--aw-card-shadow);
}

.aw-sidebar-nav--mobile {
  margin-bottom: 0.5rem;
}

.aw-sidebar-nav__label {
  margin: 0 0 0.65rem;
  padding: 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aw-muted);
}

.aw-sidebar-nav .nav {
  gap: 0.2rem;
}

.aw-sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  color: var(--aw-text);
  font-weight: 500;
  font-size: 0.92rem;
}

.aw-sidebar-nav .nav-link .icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  opacity: 1;
  color: inherit;
}

.aw-sidebar-nav .nav-link.active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--aw-accent-from) 18%, transparent), color-mix(in srgb, var(--aw-accent-to) 12%, transparent));
  color: var(--aw-accent-from);
  font-weight: 600;
}

.aw-sidebar-nav .nav-link:hover:not(.active) {
  background: color-mix(in srgb, var(--aw-accent-from) 8%, transparent);
  color: var(--aw-accent-from);
}

.aw-page {
  max-width: 1320px;
}

.aw-shell .card a.card {
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.aw-shell .card a.card:hover {
  border-color: color-mix(in srgb, var(--aw-accent-from) 40%, var(--aw-border));
  transform: translateY(-1px);
}

.aw-shell .breadcrumb {
  --bs-breadcrumb-divider: "›";
}

.aw-shell .navbar,
.aw-topbar {
  background: color-mix(in srgb, var(--aw-surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--aw-border);
}

.aw-shell .card {
  background: var(--aw-surface);
  border: 1px solid var(--aw-border);
  border-radius: 1rem;
  box-shadow: var(--aw-card-shadow);
}

.aw-shell .card-header {
  background: transparent;
  border-bottom: 1px solid var(--aw-border);
}

.aw-shell .btn-primary {
  background: linear-gradient(135deg, var(--aw-accent-from), var(--aw-accent-to));
  border: none;
  font-weight: 600;
  color: #fff;
}

.aw-shell .btn-primary:hover,
.aw-shell .btn-primary:focus,
.aw-shell .btn-primary:active {
  filter: brightness(1.06);
  color: #fff;
  background: linear-gradient(135deg, var(--aw-accent-from), var(--aw-accent-to));
}

.aw-shell .btn-outline-primary {
  --bs-btn-color: var(--aw-accent-from);
  --bs-btn-border-color: var(--aw-accent-from);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--aw-accent-from);
  --bs-btn-hover-border-color: var(--aw-accent-from);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--aw-accent-to);
  --bs-btn-active-border-color: var(--aw-accent-to);
  --bs-btn-focus-shadow-rgb: 2, 132, 199;
  border-width: 1.5px;
  font-weight: 600;
  background: transparent;
  color: var(--aw-accent-from);
}

.aw-shell .btn-outline-primary:hover,
.aw-shell .btn-outline-primary:focus-visible {
  background: var(--aw-accent-from);
  border-color: var(--aw-accent-from);
  color: #fff;
}

.aw-shell .btn-outline-secondary {
  --bs-btn-color: var(--aw-text);
  --bs-btn-border-color: color-mix(in srgb, var(--aw-accent-from) 28%, var(--aw-border));
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--aw-muted);
  --bs-btn-hover-border-color: var(--aw-muted);
  border-width: 1.5px;
  font-weight: 600;
  background: var(--aw-elevated);
  color: var(--aw-text);
}

.aw-shell .btn-outline-secondary:hover,
.aw-shell .btn-outline-secondary:focus-visible {
  background: var(--aw-muted);
  border-color: var(--aw-muted);
  color: #fff;
}

.aw-shell .btn-quote-reply {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-color: color-mix(in srgb, var(--aw-accent-from) 40%, var(--aw-border));
  background: color-mix(in srgb, var(--aw-accent-from) 8%, var(--aw-surface));
  color: var(--aw-accent-from);
  font-weight: 600;
}

.aw-shell .btn-quote-reply:hover,
.aw-shell .btn-quote-reply:focus-visible {
  background: var(--aw-accent-from);
  border-color: var(--aw-accent-from);
  color: #fff;
}

.aw-shell .btn-quote-reply .icon {
  width: 1rem;
  height: 1rem;
}

.aw-sprite-host {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.aw-ticket-meta th {
  width: 11rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--aw-muted);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-color: var(--aw-border);
  background: color-mix(in srgb, var(--aw-elevated) 70%, var(--aw-surface));
}

.aw-ticket-meta td {
  padding: 0.85rem 1rem;
  border-color: var(--aw-border);
}

.aw-ticket-message--staff {
  border-color: color-mix(in srgb, var(--aw-accent-from) 35%, var(--aw-border));
}

.aw-ticket-thread {
  margin-bottom: 0.5rem;
}

.aw-shell .btn-link {
  color: var(--aw-accent-from);
  font-weight: 600;
  text-decoration: none;
}

.aw-shell .btn-link:hover,
.aw-shell .btn-link:focus-visible {
  color: #fff;
  background: var(--aw-accent-from);
  border-radius: 0.5rem;
  text-decoration: none;
}

.aw-text-link {
  color: var(--aw-accent-from);
  font-weight: 600;
  text-decoration: none;
}

.aw-text-link:hover {
  color: var(--aw-accent-to);
  text-decoration: underline;
}

.aw-shell .nav-link.active,
.aw-shell .navbar .nav-link:hover {
  color: var(--aw-accent-from);
}

.aw-shell .form-control,
.aw-shell .form-select {
  background: var(--aw-surface);
  border: 1.5px solid color-mix(in srgb, var(--aw-border) 85%, var(--aw-text));
  color: var(--aw-text);
  font-weight: 500;
  min-height: 2.75rem;
}

.aw-shell .form-control::placeholder {
  color: var(--aw-muted);
  opacity: 1;
}

.aw-shell .form-control:focus,
.aw-shell .form-select:focus {
  background: var(--aw-surface);
  border-color: var(--aw-accent-from);
  color: var(--aw-text);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--aw-accent-from) 22%, transparent);
}

.aw-shell input:-webkit-autofill,
.aw-shell input:-webkit-autofill:hover,
.aw-shell input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--aw-text);
  caret-color: var(--aw-text);
  box-shadow: 0 0 0 1000px var(--aw-surface) inset;
  border: 1.5px solid var(--aw-accent-from);
}

.aw-form-card {
  border: 1px solid var(--aw-border);
  box-shadow: var(--aw-card-shadow);
}

.aw-form-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--aw-text);
}

.aw-hero {
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--aw-border);
  background: linear-gradient(135deg, color-mix(in srgb, var(--aw-accent-from) 10%, var(--aw-surface)), var(--aw-surface));
  margin-bottom: 1.5rem;
}

.aw-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.aw-hero p {
  margin: 0;
  color: var(--aw-muted);
  max-width: 42rem;
}

.aw-tariff-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.aw-tariff-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  box-shadow: var(--aw-card-shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.aw-tariff-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--aw-accent-from) 45%, var(--aw-border));
}

.aw-tariff-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.aw-tariff-price {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--aw-accent-from), var(--aw-accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.aw-tariff-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--aw-muted);
  -webkit-text-fill-color: var(--aw-muted);
}

.aw-tariff-body {
  flex: 1;
  color: var(--aw-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.aw-tariff-body ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

.aw-tariff-body li {
  margin-bottom: 0.35rem;
}

.aw-tariff-actions {
  margin-top: 1.25rem;
}

.aw-form-hint {
  font-size: 0.85rem;
  color: var(--aw-muted);
  margin-top: 0.25rem;
}

/* ——— Dashboard ——— */

.aw-dash-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--aw-border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--aw-accent-from) 12%, var(--aw-surface)),
    color-mix(in srgb, var(--aw-accent-to) 8%, var(--aw-surface))
  );
  box-shadow: var(--aw-card-shadow);
}

.aw-dash-hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aw-accent-from);
}

.aw-dash-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 700;
}

.aw-dash-hero p {
  margin: 0;
  color: var(--aw-muted);
  max-width: 36rem;
}

.aw-dash-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.aw-stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.aw-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  box-shadow: var(--aw-card-shadow);
  min-width: 0;
}

.aw-stat-card__body {
  min-width: 0;
  flex: 1;
}

.aw-stat-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  flex-shrink: 0;
}

.aw-stat-card__icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.aw-stat-card__icon--license {
  background: color-mix(in srgb, var(--aw-accent-from) 16%, transparent);
  color: var(--aw-accent-from);
}

.aw-stat-card__icon--invoice {
  background: color-mix(in srgb, #f59e0b 18%, transparent);
  color: #d97706;
}

.aw-stat-card__icon--ticket {
  background: color-mix(in srgb, var(--aw-accent-to) 18%, transparent);
  color: var(--aw-accent-to);
}

.aw-stat-card__icon--profile {
  background: color-mix(in srgb, #6366f1 16%, transparent);
  color: #6366f1;
}

.aw-stat-card__value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--aw-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aw-stat-card__label {
  font-size: 0.82rem;
  color: var(--aw-muted);
  margin-top: 0.15rem;
}

.aw-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
}

.aw-panel__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.aw-panel__title .icon {
  color: var(--aw-accent-from);
}

.aw-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-color: var(--aw-border);
  background: var(--aw-surface);
  color: var(--aw-text);
}

.aw-list__item:hover,
.aw-list__item:focus {
  background: color-mix(in srgb, var(--aw-accent-from) 6%, var(--aw-surface));
  color: var(--aw-text);
}

.aw-list__title {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

.aw-list__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--aw-muted);
  margin-top: 0.15rem;
}

.aw-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--aw-muted);
}

.aw-empty p {
  margin-bottom: 0.85rem;
}

.aw-quick-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.aw-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  box-shadow: var(--aw-card-shadow);
  color: var(--aw-text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.aw-quick-card:hover {
  border-color: color-mix(in srgb, var(--aw-accent-from) 45%, var(--aw-border));
  transform: translateY(-2px);
  color: var(--aw-text);
}

.aw-quick-card__icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--aw-accent-from) 12%, transparent);
  color: var(--aw-accent-from);
  margin-bottom: 0.25rem;
}

.aw-quick-card__icon .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.aw-quick-card__title {
  font-weight: 700;
  font-size: 0.95rem;
}

.aw-quick-card__desc {
  font-size: 0.82rem;
  color: var(--aw-muted);
  line-height: 1.4;
}

.aw-shell .breadcrumb a {
  color: var(--aw-accent-from);
  text-decoration: none;
  font-weight: 500;
}

.aw-shell .breadcrumb-item.active {
  color: var(--aw-muted);
}

.aw-shell .dropdown-menu {
  border: 1px solid var(--aw-border);
  background: var(--aw-surface);
  box-shadow: var(--aw-card-shadow);
}

.aw-shell .dropdown-item {
  color: var(--aw-text);
}

.aw-shell .dropdown-item:hover,
.aw-shell .dropdown-item:focus {
  background: color-mix(in srgb, var(--aw-accent-from) 10%, var(--aw-surface));
  color: var(--aw-accent-from);
}

.aw-footer {
  border-top: 1px solid var(--aw-border);
  color: var(--aw-muted);
  font-size: 0.85rem;
  padding: 1.25rem 0 2rem;
}

.aw-table {
  --bs-table-bg: transparent;
}

.aw-shell .table {
  margin-bottom: 0;
}

.aw-shell .table thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aw-muted);
  border-bottom-width: 1px;
  padding: 0.85rem 1rem;
  background: color-mix(in srgb, var(--aw-elevated) 70%, var(--aw-surface));
}

.aw-shell .table tbody td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-color: var(--aw-border);
}

.aw-shell .table tbody tr:hover {
  background: color-mix(in srgb, var(--aw-accent-from) 4%, var(--aw-surface));
}

.aw-panel > .card-body {
  padding: 0;
}

@media (max-width: 991.98px) {
  .aw-frame {
    grid-template-columns: 1fr;
  }

  .aw-header__nav {
    display: none !important;
  }
}

/* Balance */
.aw-sidebar-balance {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--aw-radius, 12px);
  background: color-mix(in srgb, var(--aw-accent-from) 8%, var(--aw-elevated));
  border: 1px solid var(--aw-border);
}

.aw-sidebar-balance__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--aw-muted);
}

.aw-sidebar-balance__value {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aw-text);
}

.aw-header-balance {
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--aw-border);
  background: var(--aw-elevated);
  color: var(--aw-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.aw-header-balance:hover {
  color: var(--aw-accent-from);
  border-color: color-mix(in srgb, var(--aw-accent-from) 40%, var(--aw-border));
}

.aw-header-balance .icon {
  width: 1rem;
  height: 1rem;
}

.aw-stat-card__icon--wallet {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.aw-stat-card__value--compact {
  font-size: 0.95rem;
  line-height: 1.3;
  word-break: break-all;
}

.aw-topup-box {
  padding: 1.25rem;
  border-radius: var(--aw-radius, 12px);
  border: 1px dashed var(--aw-border);
  background: color-mix(in srgb, var(--aw-accent-from) 4%, var(--aw-surface));
}

.aw-balance-total__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--aw-accent-from);
}

/* Order checkout */
.aw-order-page {
  width: 100%;
  max-width: none;
}

.aw-order-about__body {
  max-width: none;
}

.aw-order-about .aw-tariff-body h3,
.aw-order-about .aw-tariff-body h4,
.aw-order-about .aw-tariff-body h5 {
  color: var(--aw-text);
}

.aw-order-about .aw-tariff-body table {
  width: 100%;
}

.aw-order-pricing {
  margin-bottom: 0.5rem;
}

.aw-shell.order-product .aw-main {
  max-width: none;
}
