:root {
  --bg: #050505;
  --bg-soft: #0a0a0b;
  --surface: #111113;
  --surface-2: #18181b;
  --surface-3: #202024;
  --gold: #d6a536;
  --gold-2: #f6d46b;
  --gold-dark: #8c681f;
  --text: #f8f3e7;
  --muted: #c0b9ac;
  --muted-2: #8d8678;
  --line: rgba(255, 255, 255, 0.115);
  --line-gold: rgba(246, 212, 107, 0.34);
  --success: #35d083;
  --danger: #ff6474;
  --warning: #ffc857;
  --info: #66c7ff;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -12%, rgba(214, 165, 54, 0.16), transparent 32rem),
    radial-gradient(circle at 92% 8%, rgba(246, 212, 107, 0.08), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #0a0a0b 48%, #050505 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--gold-2);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
  outline: 2px solid rgba(246, 212, 107, 0.78);
  outline-offset: 3px;
  box-shadow: 0 0 0 0.24rem rgba(214, 165, 54, 0.16);
}

img {
  display: block;
  max-width: 100%;
}

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

.text-gold {
  color: var(--gold-2) !important;
}

.text-muted-soft {
  color: var(--muted) !important;
}

.fw-black {
  font-weight: 950 !important;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.g-3 {
  row-gap: 1rem;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.d-flex {
  display: flex !important;
}

.d-none {
  display: none !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.px-4 {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.small {
  font-size: 0.875em !important;
}

.h5 {
  font-size: 1.25rem !important;
}

.h6 {
  font-size: 1rem !important;
}

.fs-2 {
  font-size: 2rem !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

.text-center {
  text-align: center !important;
}

.btn-sm {
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  font-size: 0.86rem;
}

.bi[data-icon-fallback] {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.page-copy {
  max-width: 680px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-gold {
  border: 0;
  color: #070707;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 24px rgba(214, 165, 54, 0.2);
}

.btn-gold:hover,
.btn-gold:focus {
  color: #050505;
  background: linear-gradient(135deg, #ffe58d, var(--gold));
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.btn-soft-gold {
  color: var(--gold-2);
  border: 1px solid rgba(246, 212, 107, 0.42);
  background: rgba(214, 165, 54, 0.08);
}

.btn-soft-gold:hover,
.btn-soft-gold:focus {
  color: #050505;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 24px rgba(214, 165, 54, 0.18);
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: var(--text);
  border-color: var(--line-gold);
  background: rgba(214, 165, 54, 0.12);
}

.btn:disabled,
.btn.disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.icon-btn {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover,
.icon-btn:focus {
  border-color: var(--line-gold);
  background: rgba(214, 165, 54, 0.12);
  transform: translateY(-1px);
}

.form-control,
.form-select {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.055);
}

.form-control:focus,
.form-select:focus {
  color: var(--text);
  border-color: rgba(246, 212, 107, 0.72);
  background-color: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 0.22rem rgba(214, 165, 54, 0.16);
}

.form-control::placeholder {
  color: rgba(248, 243, 231, 0.42);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.35rem;
  color: #ffabb4;
  font-size: 0.8rem;
  font-weight: 800;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: rgba(255, 100, 116, 0.76);
  background-color: rgba(255, 100, 116, 0.075);
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: rgba(53, 208, 131, 0.58);
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-select:invalid ~ .invalid-feedback {
  display: block;
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f6d46b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

textarea.form-control {
  min-height: 116px;
}

.form-label {
  color: rgba(248, 243, 231, 0.9);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-text {
  color: var(--muted);
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 3.25rem;
}

.password-field .form-control.is-invalid,
.password-field .form-control.is-valid,
.was-validated .password-field .form-control:invalid,
.was-validated .password-field .form-control:valid {
  background-image: none;
  padding-right: 3.25rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.42rem;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: rgba(246, 212, 107, 0.78);
  background: transparent;
  transform: translateY(-50%);
  transition: background 0.18s ease, color 0.18s ease;
}

.password-toggle:hover,
.password-toggle:focus {
  color: var(--gold-2);
  background: rgba(246, 212, 107, 0.1);
}

.form-check-input {
  width: 1.22rem;
  height: 1.22rem;
  flex: 0 0 auto;
  margin-top: 0;
  border-color: var(--line);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-check-input:checked {
  border-color: var(--gold);
  background-color: var(--gold);
}

.form-check {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.65rem;
  padding-left: 0;
}

.form-switch .form-check-input {
  width: 2.65rem;
  height: 1.45rem;
  margin-left: 0;
}

.form-check-label {
  cursor: pointer;
  line-height: 1.35;
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-border-color: var(--line);
  margin-bottom: 0;
  vertical-align: middle;
  min-width: 680px;
}

.table thead th {
  color: rgba(248, 243, 231, 0.76);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody td {
  color: rgba(248, 243, 231, 0.9);
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}

.table tbody tr:hover {
  background: rgba(214, 165, 54, 0.055);
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius);
  scrollbar-color: rgba(246, 212, 107, 0.42) rgba(255, 255, 255, 0.05);
}

.table-responsive::-webkit-scrollbar {
  height: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(246, 212, 107, 0.42);
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

.badge-approved,
.badge-active,
.badge-paid,
.badge-success {
  color: #9df0c2;
  border-color: rgba(53, 208, 131, 0.25);
  background: rgba(53, 208, 131, 0.12);
}

.badge-pending,
.badge-review,
.badge-warning {
  color: #ffdc88;
  border-color: rgba(255, 200, 87, 0.25);
  background: rgba(255, 200, 87, 0.12);
}

.badge-rejected,
.badge-failed,
.badge-danger {
  color: #ffabb4;
  border-color: rgba(255, 100, 116, 0.25);
  background: rgba(255, 100, 116, 0.12);
}

.badge-info {
  color: #bce8ff;
  border-color: rgba(102, 199, 255, 0.25);
  background: rgba(102, 199, 255, 0.12);
}

.auth-body {
  min-height: 100dvh;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  min-height: 100dvh;
}

@media (min-width: 992px) {
  .register-auth-body .auth-shell {
    grid-template-columns: minmax(0, 1fr) minmax(560px, 680px);
  }
}

.auth-visual {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.52), rgba(5, 5, 5, 0.95)),
    url("../img/fitness-premium.png") center / cover no-repeat;
  overflow: hidden;
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(246, 212, 107, 0.12), transparent 38%),
    radial-gradient(circle at 70% 22%, rgba(246, 212, 107, 0.18), transparent 18rem);
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.auth-visual-spacer {
  min-height: 44px;
}

.auth-visual h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.96;
}

.auth-visual p {
  max-width: 560px;
  margin: 1.25rem 0 0;
  color: rgba(248, 243, 231, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

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

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 32px rgba(214, 165, 54, 0.28);
}

.brand-logo {
  width: 54px;
  flex-basis: 54px;
  overflow: hidden;
  background: #ffffff;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.16rem;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: rgba(5, 5, 5, 0.76);
}

.auth-card {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)),
    rgba(17, 17, 19, 0.88);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2rem);
}

.auth-card-login h2 {
  margin-top: 1.35rem;
}

.login-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.auth-logo-card {
  display: grid;
  width: 78px;
  height: 58px;
  flex: 0 0 78px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(246, 212, 107, 0.24);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(214, 165, 54, 0.12);
}

.auth-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.22rem;
}

.login-brand-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.login-brand-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
}

.login-brand-name {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-card-register {
  width: min(100%, 560px);
}

.auth-card-register h2 {
  max-width: 100%;
  margin-top: 1.05rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.auth-card-register .auth-meta {
  max-width: 420px;
  margin-bottom: 0;
  line-height: 1.55;
}

.auth-card-register .brand-mark {
  width: 42px;
  height: 42px;
}

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

.register-form.mt-4 {
  margin-top: 1.2rem !important;
}

.register-form .row {
  row-gap: 1rem;
}

.register-form .form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.2;
}

.register-form .form-control {
  min-height: 50px;
  padding-right: 0.95rem;
  padding-left: 0.95rem;
  background-color: rgba(255, 255, 255, 0.07);
}

.register-form .btn-gold {
  min-height: 56px;
  margin-top: 0.1rem;
}

.optional-label {
  color: rgba(248, 243, 231, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
}

.auth-card h2 {
  margin: 1.25rem 0 0.45rem;
  font-weight: 950;
  letter-spacing: 0;
}

.auth-card-register h2 {
  margin: 1.05rem 0 0.4rem;
}

.auth-card .brand-line {
  font-size: 1.05rem;
}

.auth-meta {
  color: var(--muted);
}

.auth-copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: rgba(248, 243, 231, 0.72);
}

.sponsor-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  border: 1px solid rgba(246, 212, 107, 0.22);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  color: rgba(248, 243, 231, 0.82);
  background: rgba(246, 212, 107, 0.075);
  font-weight: 800;
}

.sponsor-chip i {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 7px;
  color: var(--gold-2);
  background: rgba(246, 212, 107, 0.1);
  font-size: 0.9rem;
}

.sponsor-chip-content {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  line-height: 1.35;
}

.sponsor-chip-label {
  flex-basis: 100%;
  color: rgba(248, 243, 231, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-chip-code {
  color: var(--gold-2);
  overflow-wrap: anywhere;
}

.sponsor-chip-name {
  color: rgba(248, 243, 231, 0.72);
  overflow-wrap: anywhere;
}

.auth-switch-link {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.35rem;
  color: var(--muted);
  text-align: center;
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  min-height: 100dvh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 1040;
  display: flex;
  height: 100dvh;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(16, 16, 18, 0.96), rgba(6, 6, 7, 0.96)),
    #080808;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.1rem 1rem;
}

.sidebar-brand strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
}

.sidebar-brand span:not(.brand-mark) {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.sidebar-hero {
  margin: 0.4rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0.82)),
    url("../img/fitness-premium.png") center / cover no-repeat;
  min-height: 112px;
  overflow: hidden;
}

.sidebar-hero-content {
  display: flex;
  height: 112px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.9));
}

.sidebar-hero strong {
  color: var(--text);
  font-size: 0.92rem;
}

.sidebar-hero small {
  color: rgba(248, 243, 231, 0.62);
  font-weight: 700;
}

.sidebar-nav {
  display: grid;
  gap: 0.35rem;
  min-height: 0;
  overflow-y: auto;
  padding: 0 0.8rem 1rem;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 46px;
  border-radius: var(--radius);
  color: rgba(248, 243, 231, 0.8);
  font-weight: 800;
  padding: 0.7rem 0.85rem;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.side-link i {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  color: rgba(246, 212, 107, 0.72);
  text-align: center;
}

.side-link:hover {
  color: var(--text);
  background: rgba(214, 165, 54, 0.1);
  transform: translateX(2px);
}

.side-link:focus-visible {
  color: var(--text);
  background: rgba(214, 165, 54, 0.1);
}

.side-link.active {
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 24px rgba(214, 165, 54, 0.16);
}

.side-link.active i {
  color: #050505;
}

.sidebar-footer {
  margin-top: auto;
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.sidebar-footer .side-link {
  margin-top: 0.8rem;
  color: rgba(248, 243, 231, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.sidebar-footer .side-link:hover {
  color: #ffb8bf;
  border-color: rgba(255, 100, 116, 0.3);
  background: rgba(255, 100, 116, 0.09);
}

.mini-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(246, 212, 107, 0.32);
  border-radius: 50%;
  color: #050505;
  background: linear-gradient(135deg, #ffe99d, var(--gold));
  font-size: 0.84rem;
  font-weight: 950;
}

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

.topbar {
  --topbar-pad: clamp(1rem, 3vw, 2rem);
  position: sticky;
  top: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.84);
  padding: 0.62rem var(--topbar-pad);
  padding-inline: max(var(--topbar-pad), calc((100% - 1260px) / 2 + var(--topbar-pad)));
  backdrop-filter: blur(18px);
}

.topbar-search {
  position: relative;
  flex: 1 1 360px;
  width: min(440px, 42vw);
  max-width: 460px;
}

.topbar-search i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  color: var(--muted);
  transform: translateY(-50%);
}

.topbar-search .form-control {
  padding-left: 2.4rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 900;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.profile-btn:hover,
.profile-btn:focus {
  color: var(--text);
  border-color: var(--line-gold);
  background: rgba(214, 165, 54, 0.1);
  transform: translateY(-1px);
}

.content {
  width: min(100%, 1260px);
  margin: 0 auto;
  padding: clamp(0.95rem, 2.2vw, 1.65rem) clamp(1.4rem, 3vw, 2.25rem) clamp(1.6rem, 3vw, 2.25rem);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 950;
  letter-spacing: 0;
}

.page-header p {
  margin: 0.25rem 0 0;
  max-width: 690px;
  color: var(--muted);
}

.page-rank-btn {
  min-height: 34px;
  margin-top: 0.55rem;
  border-radius: 999px;
  padding: 0.35rem 0.78rem;
  font-size: 0.82rem;
  pointer-events: none;
}

.page-header .btn {
  flex: 0 0 auto;
}

.panel,
.stat-card,
.package-card,
.lesson-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.024)),
    rgba(17, 17, 19, 0.82);
  box-shadow: var(--shadow-soft);
}

.panel {
  position: relative;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
}

.panel.date-picker-panel-open {
  z-index: 3000;
  overflow: visible;
}

.content > section + section,
.content > .panel + .panel,
.panel.mt-3 {
  margin-top: 1.35rem !important;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.panel-title h2,
.panel-title h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
}

.panel-title p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: clamp(0.9rem, 1.4vw, 1.15rem);
  margin-bottom: 1.1rem;
}

.bonus-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.transaction-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.earnings-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.withdraw-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.referral-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 168px;
  padding: 1.1rem;
}

.stat-card::after {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(214, 165, 54, 0.1);
  content: "";
}

.stat-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(214, 165, 54, 0.12);
}

.stat-label {
  margin-top: 1rem;
  color: rgba(248, 243, 231, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.stat-value {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 950;
  line-height: 1.1;
}

.stat-note {
  margin-top: auto;
  padding-top: 0.55rem;
  color: rgba(248, 243, 231, 0.7);
  font-size: 0.84rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.98fr);
  align-items: start;
  gap: 1.25rem;
}

.success-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: stretch;
  gap: 1.25rem;
}

.success-panel {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-color: var(--line-gold);
  background:
    linear-gradient(145deg, rgba(214, 165, 54, 0.14), rgba(255, 255, 255, 0.032)),
    rgba(17, 17, 19, 0.88);
}

.success-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(246, 212, 107, 0.34);
  border-radius: var(--radius);
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 18px 34px rgba(214, 165, 54, 0.2);
  font-size: 2rem;
}

.success-panel h2 {
  margin: 1rem 0 0;
  color: var(--text);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
}

.success-panel p {
  max-width: 640px;
  margin: 0.7rem 0 0;
  color: rgba(248, 243, 231, 0.72);
  line-height: 1.6;
}

.success-amount {
  display: grid;
  gap: 0.18rem;
  margin-top: 1.35rem;
}

.success-amount span,
.success-detail-item span {
  color: rgba(248, 243, 231, 0.58);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.success-amount strong {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 950;
  line-height: 1;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.55rem;
}

.success-details-panel {
  min-height: 430px;
}

.success-detail-grid {
  display: grid;
  gap: 0.75rem;
}

.success-detail-item {
  display: grid;
  gap: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  padding: 0.9rem;
}

.success-detail-item strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.chart-shell {
  min-height: 0;
}

.chart-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: -0.2rem;
}

.chart-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(248, 243, 231, 0.78);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.chart-meta span::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.chart-stage {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: end;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.chart-axis {
  display: flex;
  height: 228px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.1rem 0 2.35rem;
  color: rgba(248, 243, 231, 0.56);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: clamp(0.45rem, 2vw, 0.85rem);
  height: 228px;
  min-width: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent 24%, rgba(255, 255, 255, 0.045) 25%, transparent 25%, transparent 49%, rgba(255, 255, 255, 0.045) 50%, transparent 50%, transparent 74%, rgba(255, 255, 255, 0.045) 75%, transparent 75%),
    linear-gradient(90deg, rgba(246, 212, 107, 0.035), transparent 40%, rgba(246, 212, 107, 0.025));
  padding: 0 0.35rem 2.35rem;
}

.chart-bar {
  position: relative;
  flex: 1 1 0;
  min-width: 18px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #ffe28a, var(--gold) 62%, var(--gold-dark));
  box-shadow: 0 10px 22px rgba(214, 165, 54, 0.14);
  transition: filter 0.18s ease, transform 0.18s ease;
}

.chart-bar:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.chart-bar span {
  position: absolute;
  right: 50%;
  bottom: -2.1rem;
  color: rgba(248, 243, 231, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  transform: translateX(50%);
}

.chart-insights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.chart-insights span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(246, 212, 107, 0.14);
  border-radius: 999px;
  color: rgba(248, 243, 231, 0.72);
  background: rgba(0, 0, 0, 0.16);
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.chart-insights strong {
  color: rgba(248, 243, 231, 0.92);
  margin-right: 0.25rem;
}

.referral-card {
  border-color: var(--line-gold);
  background:
    linear-gradient(145deg, rgba(214, 165, 54, 0.12), rgba(255, 255, 255, 0.026)),
    rgba(17, 17, 19, 0.88);
}

.referral-input {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
}

.referral-input .form-control {
  min-width: 0;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  cursor: pointer;
}

.referral-input .btn {
  min-width: 92px;
  flex: 0 0 auto;
}

.copy-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: -0.18rem 0 0.65rem;
  color: rgba(248, 243, 231, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
}

.copy-hint i {
  color: rgba(246, 212, 107, 0.78);
}

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

.referral-metric {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  padding: 0.9rem;
}

.referral-metric-full {
  grid-column: 1 / -1;
}

.referral-metric .stat-value {
  font-size: clamp(1.18rem, 1.25vw, 1.42rem);
  overflow-wrap: anywhere;
}

.referral-metric .stat-note {
  margin-top: 0.35rem;
  font-size: 0.76rem;
}

.referrals-share-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 1.35rem;
}

.referral-qr-panel {
  display: flex;
  flex-direction: column;
}

.referral-qr-frame {
  display: grid;
  min-height: 250px;
  flex: 1;
  place-items: center;
  border: 1px solid rgba(246, 212, 107, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(246, 212, 107, 0.08), rgba(255, 255, 255, 0.026)),
    rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.referral-qr-frame img {
  width: min(210px, 88%);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 0.65rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.referral-qr-actions {
  margin-top: 1rem;
}

.referral-table {
  min-width: 900px;
}

.member-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 250px;
}

.member-cell strong {
  display: block;
  color: var(--text);
  font-weight: 900;
  line-height: 1.25;
}

.member-cell div span {
  display: block;
  color: rgba(248, 243, 231, 0.56);
  font-size: 0.78rem;
  font-weight: 800;
}

.referral-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(246, 212, 107, 0.28);
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 0.78rem;
}

.referral-code-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 212, 107, 0.2);
  border-radius: 999px;
  color: rgba(248, 243, 231, 0.9);
  background: rgba(214, 165, 54, 0.1);
  padding: 0.35rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 0.55rem;
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.quick-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: -0.2rem 0 1rem;
}

.quick-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(248, 243, 231, 0.78);
  background: rgba(255, 255, 255, 0.035);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 850;
  white-space: nowrap;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.quick-filter:hover,
.quick-filter:focus {
  color: var(--text);
  border-color: var(--line-gold);
  background: rgba(214, 165, 54, 0.1);
  transform: translateY(-1px);
}

.quick-filter.active {
  color: #050505;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 22px rgba(214, 165, 54, 0.14);
}

.icon-btn.has-indicator {
  position: relative;
}

.notification-indicator {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  display: inline-flex;
  min-width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  padding: 0 0.3rem;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.notification-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.notification-latest-value {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.25;
}

.notification-status-message {
  margin-bottom: 1rem;
  border: 1px solid rgba(53, 208, 131, 0.24);
  border-radius: var(--radius);
  color: #9df0c2;
  background: rgba(53, 208, 131, 0.1);
  padding: 0.8rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 850;
}

.notification-status-message.is-error {
  color: #ffabb4;
  border-color: rgba(255, 100, 116, 0.24);
  background: rgba(255, 100, 116, 0.1);
}

.notification-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.notification-filter-row {
  margin: 0;
}

.notification-list {
  display: grid;
  gap: 0.8rem;
}

.notification-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.16);
  padding: 1rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.notification-item:hover {
  border-color: rgba(246, 212, 107, 0.28);
  background:
    linear-gradient(145deg, rgba(246, 212, 107, 0.08), rgba(255, 255, 255, 0.026)),
    rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.notification-item.is-unread {
  border-color: rgba(246, 212, 107, 0.42);
  background:
    linear-gradient(145deg, rgba(246, 212, 107, 0.14), rgba(255, 255, 255, 0.032)),
    rgba(17, 17, 19, 0.88);
  box-shadow: 0 16px 40px rgba(214, 165, 54, 0.08);
}

.notification-item.is-read {
  opacity: 0.82;
}

.notification-item-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(246, 212, 107, 0.28);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(214, 165, 54, 0.11);
  font-size: 1.2rem;
}

.notification-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.notification-item-head > div {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.notification-item-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.25;
}

.notification-item-body {
  min-width: 0;
}

.notification-item-body p {
  margin: 0;
  color: rgba(248, 243, 231, 0.74);
  overflow-wrap: anywhere;
}

.notification-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  margin-top: 0.8rem;
  color: rgba(248, 243, 231, 0.58);
  font-size: 0.78rem;
  font-weight: 850;
}

.notification-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.notification-meta i {
  color: rgba(246, 212, 107, 0.76);
}

.notification-item-actions {
  display: flex;
  justify-content: flex-end;
}

.notification-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px dashed rgba(246, 212, 107, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(246, 212, 107, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(0, 0, 0, 0.14);
  padding: 2rem 1rem;
  text-align: center;
}

.notification-empty[hidden] {
  display: none;
}

.notification-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(214, 165, 54, 0.12);
  font-size: 1.4rem;
}

.notification-empty h2 {
  margin: 1rem 0 0.2rem;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 950;
}

.notification-empty p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem;
  overflow: hidden;
}

.package-card.recommended {
  border-color: rgba(246, 212, 107, 0.66);
  box-shadow: 0 24px 70px rgba(214, 165, 54, 0.15);
}

.package-card.recommended::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  content: "";
}

.package-price {
  margin: 0.8rem 0 0;
  font-size: 2rem;
  font-weight: 950;
}

.benefit-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.package-card .js-select-package {
  margin-top: auto;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(248, 243, 231, 0.82);
  line-height: 1.45;
}

.benefit-list i {
  flex: 0 0 auto;
  color: var(--gold-2);
  margin-top: 0.16rem;
}

.method-details-stack {
  display: grid;
  gap: 0.85rem;
}

.method-copy-hint {
  margin: 0;
}

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

.method-detail-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 94px;
  border: 1px solid rgba(246, 212, 107, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 0 0, rgba(246, 212, 107, 0.14), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022)),
    rgba(17, 17, 19, 0.88);
  padding: 1rem;
}

.method-detail-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 26px rgba(214, 165, 54, 0.18);
}

.method-detail-body {
  min-width: 0;
  flex: 1 1 auto;
}

.method-detail-label {
  display: block;
  color: rgba(248, 243, 231, 0.62);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.method-detail-value {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 950;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.method-detail-copy {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
}

.method-detail-copy.is-copied {
  color: #050505;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.payment-method-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-method-list .form-label {
  margin-bottom: 0;
}

.payment-method-search {
  position: relative;
  display: flex;
  align-items: center;
}

.payment-method-search i {
  position: absolute;
  left: 0.95rem;
  color: rgba(246, 212, 107, 0.74);
  pointer-events: none;
}

.payment-method-search .form-control {
  padding-left: 2.5rem;
}

.payment-method-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.payment-method-option {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.payment-method-option:hover,
.payment-method-option:focus-within {
  border-color: rgba(246, 212, 107, 0.52);
  background: rgba(246, 212, 107, 0.08);
}

.payment-method-option:has(.form-check-input:checked) {
  border-color: rgba(246, 212, 107, 0.78);
  background:
    linear-gradient(135deg, rgba(246, 212, 107, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(17, 17, 19, 0.92);
}

.payment-method-copy {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.payment-method-copy span {
  color: var(--text);
  font-weight: 900;
  line-height: 1.25;
}

.payment-method-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.payment-method-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(246, 212, 107, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 212, 107, 0.14), rgba(255, 255, 255, 0.035)),
    rgba(17, 17, 19, 0.9);
  padding: 0.85rem 0.95rem;
}

.payment-method-selected strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
}

.reference-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 22px;
  margin-top: 0.42rem;
  color: rgba(248, 243, 231, 0.62);
  font-size: 0.8rem;
  font-weight: 800;
}

.reference-check::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(248, 243, 231, 0.38);
  content: "";
}

.reference-check.is-checking {
  color: rgba(246, 212, 107, 0.82);
}

.reference-check.is-checking::before {
  background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(246, 212, 107, 0.12);
}

.reference-check.is-ok {
  color: rgba(53, 208, 131, 0.9);
}

.reference-check.is-ok::before {
  background: var(--success);
}

.reference-check.is-error {
  color: rgba(255, 100, 116, 0.94);
}

.reference-check.is-error::before {
  background: var(--danger);
}

.upload-zone {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed rgba(246, 212, 107, 0.38);
  border-radius: var(--radius);
  color: rgba(248, 243, 231, 0.72);
  background: rgba(214, 165, 54, 0.07);
  padding: 1rem;
  text-align: center;
}

.proof-upload {
  position: relative;
}

.proof-upload-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.proof-upload-label {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 112px;
  border: 1px dashed rgba(246, 212, 107, 0.34);
  border-radius: var(--radius);
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(246, 212, 107, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.024)),
    rgba(17, 17, 19, 0.86);
  padding: 1.05rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.proof-upload-label:hover,
.proof-upload-input:focus + .proof-upload-label,
.proof-upload.is-dragging .proof-upload-label {
  border-color: rgba(246, 212, 107, 0.72);
  background:
    radial-gradient(circle at 0 0, rgba(246, 212, 107, 0.2), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.074), rgba(255, 255, 255, 0.03)),
    rgba(17, 17, 19, 0.9);
  box-shadow: 0 18px 42px rgba(214, 165, 54, 0.12);
  transform: translateY(-1px);
}

.proof-upload.has-file .proof-upload-label {
  border-style: solid;
  border-color: var(--line-gold);
}

.proof-upload.is-invalid .proof-upload-label {
  border-color: rgba(255, 100, 116, 0.72);
}

.proof-upload-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius);
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 26px rgba(214, 165, 54, 0.18);
  font-size: 1.35rem;
}

.proof-upload-copy {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}

.proof-upload-kicker {
  color: rgba(246, 212, 107, 0.82);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-upload-copy strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.25;
}

.proof-upload-copy small {
  color: rgba(248, 243, 231, 0.64);
  font-size: 0.82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.proof-upload-action {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.balance-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 212, 107, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(17, 17, 19, 0.9);
  padding: 1.15rem;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 0.9rem;
  align-items: end;
}

.modern-filter-bar,
.earnings-filter-bar {
  position: relative;
  overflow: visible;
  align-items: end;
  border: 1px solid rgba(246, 212, 107, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 212, 107, 0.095), rgba(255, 255, 255, 0.026)),
    rgba(5, 5, 5, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  padding: 0.85rem;
}

.earnings-filter-bar {
  grid-template-columns: minmax(180px, 0.7fr) minmax(220px, 1fr) auto;
  margin-bottom: 1rem;
}

.transaction-filter-bar {
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
}

.referral-filter-bar {
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.62fr) minmax(170px, 0.54fr) auto;
}

.filter-field {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.filter-field .form-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.45rem;
  color: rgba(248, 243, 231, 0.82);
}

.filter-field .form-label i {
  color: rgba(246, 212, 107, 0.86);
}

.filter-input-wrap {
  position: relative;
  overflow: visible;
}

.filter-input-wrap > i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  z-index: 1;
  color: rgba(246, 212, 107, 0.7);
  pointer-events: none;
  transform: translateY(-50%);
}

.filter-input-wrap .form-control,
.filter-input-wrap .form-select {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.095);
  background-color: rgba(255, 255, 255, 0.045);
  padding-left: 2.55rem;
}

.filter-input-wrap .form-select {
  padding-right: 2.65rem;
}

.filter-input-wrap .form-control.modern-date-input {
  padding-right: 3.1rem;
}

.filter-input-wrap .form-control:hover,
.filter-input-wrap .form-select:hover {
  border-color: rgba(246, 212, 107, 0.34);
  background-color: rgba(255, 255, 255, 0.06);
}

.modern-date-input {
  color-scheme: dark;
  cursor: pointer;
  font-weight: 800;
}

.date-filter-wrap {
  z-index: 20;
  cursor: pointer;
}

.date-filter-wrap:focus-within,
.date-filter-wrap.is-open {
  z-index: 2100;
}

.date-filter-button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  color: var(--text);
  pointer-events: auto;
  text-align: left;
}

.date-filter-wrap.is-empty .date-filter-value {
  color: rgba(248, 243, 231, 0.56);
}

.filter-date-action {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(246, 212, 107, 0.22);
  border-radius: 7px;
  color: rgba(246, 212, 107, 0.9);
  background: rgba(214, 165, 54, 0.1);
  pointer-events: none;
  transform: translateY(-50%);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.date-filter-wrap:hover .filter-date-action,
.date-filter-wrap:focus-within .filter-date-action {
  border-color: rgba(246, 212, 107, 0.48);
  color: var(--gold-2);
  background: rgba(214, 165, 54, 0.16);
}

.date-picker-popover {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  z-index: 5000;
  isolation: isolate;
  width: min(318px, calc(100vw - 2rem));
  border: 1px solid rgba(246, 212, 107, 0.28);
  border-radius: var(--radius);
  background: #202026 !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  opacity: 1 !important;
  overflow: hidden;
  pointer-events: auto;
  padding: 0.85rem;
}

.date-picker-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.date-picker-title {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 212, 107, 0.18);
  border-radius: 7px;
  color: var(--text);
  background: #2a2a30;
  font-size: 0.9rem;
  font-weight: 950;
}

.date-picker-nav {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(248, 243, 231, 0.68);
  background: #25252b;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.date-picker-nav:hover,
.date-picker-nav:focus-visible {
  border-color: rgba(246, 212, 107, 0.28);
  color: var(--gold-2);
  background: rgba(214, 165, 54, 0.1);
}

.date-picker-weekdays,
.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-weekdays {
  margin-bottom: 0.3rem;
}

.date-picker-weekdays span {
  color: rgba(248, 243, 231, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.date-picker-weekdays span:first-child,
.date-picker-weekdays span:last-child {
  color: rgba(255, 100, 116, 0.82);
}

.date-picker-grid {
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  background: #19191d;
  padding: 0.3rem;
}

.date-picker-day {
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  color: rgba(248, 243, 231, 0.92);
  background: #222228;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.date-picker-day:hover,
.date-picker-day:focus-visible {
  border-color: rgba(246, 212, 107, 0.36);
  color: var(--text);
  background: rgba(246, 212, 107, 0.1);
  transform: translateY(-1px);
}

.date-picker-day.is-outside {
  color: rgba(248, 243, 231, 0.5);
  background: #1b1b20;
}

.date-picker-day.is-today {
  color: var(--gold-2);
  background: #302a19;
}

.date-picker-day.is-selected {
  border-color: rgba(102, 199, 255, 0.76);
  color: #e7f7ff;
  background: #164a64;
  box-shadow: 0 0 0 3px rgba(102, 199, 255, 0.1);
}

.date-picker-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.date-picker-footer .btn {
  min-height: 36px;
}

.filter-reset-btn,
.earnings-reset-btn {
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
}

.filter-reset-btn i,
.earnings-reset-btn i {
  color: rgba(246, 212, 107, 0.88);
}

.lesson-card {
  height: 100%;
  overflow: hidden;
}

.lesson-thumb {
  position: relative;
  display: grid;
  min-height: 164px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(214, 165, 54, 0.24), rgba(255, 255, 255, 0.05)),
    linear-gradient(45deg, #111113, #050505);
}

.lesson-thumb::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(246, 212, 107, 0.18), transparent 14rem);
  content: "";
}

.lesson-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.play-orb {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 36px rgba(214, 165, 54, 0.28);
}

.lesson-body {
  padding: 1.1rem;
}

.lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.lesson-description {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0.45rem 0 0;
  overflow: hidden;
  color: rgba(248, 243, 231, 0.68);
  font-size: 0.84rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.training-locked-panel {
  max-width: 820px;
}

.training-locked-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(246, 212, 107, 0.16);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(246, 212, 107, 0.045);
}

.training-lock-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: var(--radius);
  color: #050505;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 14px 30px rgba(214, 165, 54, 0.22);
}

.training-locked-body h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 950;
}

.training-locked-body p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.training-modal .modal-content {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(214, 165, 54, 0.1), rgba(255, 255, 255, 0.026)),
    rgba(17, 17, 19, 0.98);
  box-shadow: var(--shadow);
}

.training-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.15rem;
}

.training-modal .modal-title {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 950;
}

.training-modal .modal-body {
  padding: 1.15rem;
}

.training-video-shell {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(246, 212, 107, 0.18);
  border-radius: var(--radius);
  background: #050505;
}

.training-video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #050505;
}

.training-video-placeholder {
  color: rgba(248, 243, 231, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.settings-password-shell {
  max-width: 760px;
}

.settings-form-message {
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 850;
}

.settings-form-message.is-success {
  color: #9df0c2;
  border-color: rgba(53, 208, 131, 0.24);
  background: rgba(53, 208, 131, 0.1);
}

.settings-form-message.is-danger {
  color: #ffabb4;
  border-color: rgba(255, 100, 116, 0.24);
  background: rgba(255, 100, 116, 0.1);
}

.mobile-bottom-nav {
  display: none;
}

.sidebar-scrim {
  display: none;
}

[data-animate] {
  animation: fadeUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199.98px) {
  body.sidebar-open {
    overflow: hidden;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(86vw, 304px);
    transform: translateX(-105%);
    transition: transform 0.24s ease;
    box-shadow: 22px 0 50px rgba(0, 0, 0, 0.42);
  }

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

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 1030;
    display: block;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    transition: background 0.24s ease;
  }

  body.sidebar-open .sidebar-scrim {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.58);
  }

  [data-sidebar-toggle] {
    display: inline-grid !important;
  }

  .topbar-search {
    width: min(420px, 50vw);
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .referrals-share-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .d-sm-inline {
    display: inline !important;
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .d-lg-none {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  [data-sidebar-toggle] {
    display: inline-grid !important;
  }
}

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

  .auth-visual {
    min-height: 310px;
  }

  .auth-panel {
    align-items: flex-start;
  }

  .topbar {
    min-height: 64px;
  }

  .topbar-search {
    display: none;
  }

  .content {
    padding: 1rem 0.95rem calc(6.5rem + env(safe-area-inset-bottom));
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .notification-toolbar {
    flex-direction: column;
  }

  .notification-toolbar .btn {
    width: 100%;
  }

  .notification-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .notification-item-icon {
    width: 44px;
    height: 44px;
  }

  .notification-item-actions {
    grid-column: 2 / -1;
    justify-content: stretch;
  }

  .notification-item-actions .btn {
    width: 100%;
  }

  .filter-reset-btn,
  .earnings-reset-btn {
    width: 100%;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 1025;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 10, 11, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
    padding: 0.35rem;
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-link {
    display: grid;
    min-height: 56px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: rgba(248, 243, 231, 0.78);
    background: transparent;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.15;
    touch-action: manipulation;
  }

  .mobile-bottom-link i {
    color: rgba(246, 212, 107, 0.72);
    font-size: 1rem;
  }

  .mobile-bottom-link.active {
    color: #050505;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
  }

  .mobile-bottom-link.active i {
    color: #050505;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }

  .auth-visual-content {
    padding: 1.35rem;
  }

  .auth-visual {
    min-height: 250px;
  }

  .auth-panel {
    padding: 0.9rem;
  }

  .auth-card {
    padding: 1rem;
  }

  .login-brand-header {
    gap: 0.7rem;
  }

  .auth-logo-card {
    width: 68px;
    height: 50px;
    flex-basis: 68px;
  }

  .topbar {
    padding: 0.5rem 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .payment-method-options {
    grid-template-columns: 1fr;
  }

  .payment-method-selected {
    align-items: stretch;
    flex-direction: column;
  }

  .stat-card {
    min-height: 136px;
    padding: 0.9rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .stat-label {
    margin-top: 0.7rem;
  }

  .stat-note {
    padding-top: 0.35rem;
  }

  .referral-input {
    flex-direction: column;
  }

  .success-panel,
  .success-details-panel {
    min-height: auto;
  }

  .success-actions,
  .success-actions .btn {
    width: 100%;
  }

  .referral-metrics {
    grid-template-columns: 1fr;
  }

  .referral-qr-frame {
    min-height: 210px;
  }

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

  .method-detail-grid {
    grid-template-columns: 1fr;
  }

  .method-detail-card {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .method-detail-copy {
    width: 100%;
  }

  .proof-upload-label {
    align-items: flex-start;
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .proof-upload-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .chart-bars {
    height: 196px;
    padding-bottom: 2.45rem;
  }

  .chart-stage {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.5rem;
    margin-top: 1.15rem;
  }

  .chart-axis {
    height: 196px;
    padding-bottom: 2.45rem;
    font-size: 0.68rem;
  }

  .chart-insights {
    gap: 0.45rem;
  }

  .chart-bar span {
    bottom: -2.15rem;
    font-size: 0.7rem;
  }

  .page-header h1 {
    font-size: 2.1rem;
  }

  .panel-title {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
