/* Affiliate partner portal — Express24 commerce look */
:root {
  --aff-ink: #0b1524;
  --aff-ink-soft: #1a2740;
  --aff-slate: #334155;
  --aff-muted: #64748b;
  --aff-line: rgba(15, 23, 42, 0.08);
  --aff-paper: #f3f6fb;
  --aff-paper-2: #e8eef8;
  --aff-white: #ffffff;
  --aff-blue: #1d4ed8;
  --aff-blue-deep: #1e3a8a;
  --aff-blue-bright: #3b82f6;
  --aff-amber: #d97706;
  --aff-teal: #0f766e;
  --aff-success: #047857;
  --aff-danger: #b91c1c;
  --aff-radius: 18px;
  --aff-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --aff-font: "Vazirmatn", system-ui, sans-serif;
  --aff-display: "Vazirmatn", system-ui, sans-serif;
}

.aff-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--aff-font);
  color: var(--aff-ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(217, 119, 6, 0.10), transparent 50%),
    linear-gradient(180deg, #eef3fb 0%, var(--aff-paper) 40%, #f8fafc 100%);
  background-attachment: fixed;
}

.aff-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
}

.aff-body > * {
  position: relative;
  z-index: 1;
}

.aff-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(243, 246, 251, 0.78);
  border-bottom: 1px solid var(--aff-line);
}

.aff-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.aff-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--aff-ink);
}

.aff-brand-mark {
  font-family: var(--aff-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.aff-brand-sub {
  font-size: 0.72rem;
  color: var(--aff-muted);
  font-weight: 500;
}

.aff-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.aff-main {
  flex: 1;
  width: 100%;
}

.aff-footer {
  margin-top: auto;
  border-top: 1px solid var(--aff-line);
  padding: 1.5rem 1.25rem;
  text-align: center;
  color: var(--aff-muted);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.45);
}

/* Buttons */
.aff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.aff-btn:hover {
  transform: translateY(-1px);
}

.aff-btn:active {
  transform: translateY(0);
}

.aff-btn-primary {
  background: linear-gradient(135deg, var(--aff-blue) 0%, var(--aff-blue-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
}

.aff-btn-primary:hover {
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.34);
  color: #fff;
}

.aff-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--aff-line);
  color: var(--aff-ink-soft);
}

.aff-btn-ghost:hover {
  border-color: rgba(29, 78, 216, 0.35);
  color: var(--aff-blue);
}

.aff-btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 10px;
}

.aff-btn-block {
  width: 100%;
}

/* Alerts */
.aff-flash {
  max-width: 1120px;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
}

.aff-alert {
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.aff-alert-success {
  background: #ecfdf5;
  color: var(--aff-success);
  border: 1px solid #a7f3d0;
}

.aff-alert-error {
  background: #fef2f2;
  color: var(--aff-danger);
  border: 1px solid #fecaca;
}

/* Hero */
.aff-hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.aff-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 21, 36, 0.92) 0%, rgba(30, 58, 138, 0.78) 48%, rgba(11, 21, 36, 0.55) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(217, 119, 6, 0.35), transparent 45%),
    linear-gradient(160deg, #0b1524, #1e3a8a);
  z-index: 0;
}

.aff-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.06) 0 1.5px, transparent 3px),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0 2px, transparent 3px);
  background-size: 120px 120px, 80px 80px, 160px 160px;
  animation: aff-drift 28s linear infinite;
  opacity: 0.7;
}

.aff-hero-orb {
  position: absolute;
  width: 42vw;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.35), rgba(59, 130, 246, 0.05) 60%, transparent 70%);
  filter: blur(8px);
  top: 8%;
  left: 6%;
  animation: aff-float 9s ease-in-out infinite;
  z-index: 1;
}

.aff-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem 4rem;
}

.aff-hero-brand {
  font-family: var(--aff-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  animation: aff-rise 0.8s ease both;
}

.aff-hero-brand span {
  display: block;
  color: #fbbf24;
  font-size: 0.42em;
  font-family: var(--aff-font);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.55rem;
  opacity: 0.95;
}

.aff-hero-lead {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem;
  animation: aff-rise 0.9s ease 0.08s both;
}

.aff-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: aff-rise 1s ease 0.16s both;
}

.aff-hero-actions .aff-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.aff-hero-actions .aff-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.aff-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.aff-section-title {
  font-family: var(--aff-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.aff-section-lead {
  color: var(--aff-muted);
  margin: 0 0 2rem;
  line-height: 1.8;
  max-width: 36rem;
}

.aff-steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .aff-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.aff-step {
  padding-top: 0.25rem;
}

.aff-step-num {
  display: inline-block;
  font-family: var(--aff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--aff-blue);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.aff-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.aff-step p {
  margin: 0;
  color: var(--aff-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Auth shells */
.aff-auth {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .aff-auth {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
    min-height: 70vh;
  }

  .aff-auth-wide {
    grid-template-columns: 0.9fr 1.2fr;
  }
}

.aff-auth-panel {
  background: linear-gradient(160deg, #0b1524 0%, #1e3a8a 100%);
  color: #fff;
  border-radius: var(--aff-radius);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--aff-shadow);
  animation: aff-rise 0.7s ease both;
}

.aff-auth-panel::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 70%);
  top: -60px;
  left: -40px;
  animation: aff-float 10s ease-in-out infinite;
}

.aff-auth-panel > * {
  position: relative;
  z-index: 1;
}

.aff-auth-panel h1 {
  font-family: var(--aff-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.aff-auth-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  font-size: 0.95rem;
}

.aff-form-shell {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--aff-line);
  border-radius: var(--aff-radius);
  padding: 1.75rem;
  box-shadow: var(--aff-shadow);
  animation: aff-rise 0.75s ease 0.06s both;
}

.aff-form-shell h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.aff-form-shell .aff-form-hint {
  margin: 0 0 1.25rem;
  color: var(--aff-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.aff-field {
  margin-bottom: 0.95rem;
}

.aff-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--aff-slate);
  margin-bottom: 0.35rem;
}

.aff-field input,
.aff-field select,
.aff-search input {
  width: 100%;
  border: 1px solid #d5dce8;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  color: var(--aff-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aff-field input:focus,
.aff-search input:focus {
  outline: none;
  border-color: var(--aff-blue-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.aff-grid-2 {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .aff-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .aff-span-2 {
    grid-column: span 2;
  }
}

.aff-form-divider {
  margin: 1.4rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--aff-line);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aff-ink-soft);
}

.aff-error-list {
  color: var(--aff-danger);
  font-size: 0.85rem;
  margin: 0 0 1rem;
  padding-right: 1.1rem;
}

.aff-form-footer {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--aff-muted);
  text-align: center;
}

.aff-form-footer a {
  color: var(--aff-blue);
  font-weight: 600;
  text-decoration: none;
}

/* App pages */
.aff-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  animation: aff-rise 0.55s ease both;
}

.aff-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.aff-page-head h1 {
  margin: 0;
  font-family: var(--aff-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.aff-page-head p {
  margin: 0.4rem 0 0;
  color: var(--aff-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.aff-stats {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .aff-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.aff-stat {
  padding: 1.1rem 0.2rem 1.1rem 0;
  border-bottom: 1px solid var(--aff-line);
}

.aff-stat-label {
  font-size: 0.75rem;
  color: var(--aff-muted);
  margin-bottom: 0.35rem;
}

.aff-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.aff-stat-value.is-good {
  color: var(--aff-success);
}

.aff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.aff-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--aff-line);
  border-radius: var(--aff-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.aff-panel-head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--aff-line);
  font-weight: 700;
  font-size: 0.95rem;
}

.aff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.aff-table th {
  text-align: right;
  padding: 0.75rem 1rem;
  color: var(--aff-muted);
  font-weight: 600;
  background: rgba(248, 250, 252, 0.9);
}

.aff-table td {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--aff-line);
  vertical-align: middle;
}

.aff-table tr:hover td {
  background: rgba(239, 246, 255, 0.45);
}

.aff-empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--aff-muted);
}

.aff-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: #e2e8f0;
  color: #334155;
}

.aff-badge-ok { background: #d1fae5; color: #065f46; }
.aff-badge-wait { background: #fef3c7; color: #92400e; }
.aff-badge-bad { background: #fee2e2; color: #991b1b; }

.aff-token {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--aff-line);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  color: var(--aff-slate);
}

.aff-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.aff-search input {
  min-width: 200px;
}

.aff-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.aff-toolbar-search {
  min-width: 200px;
  border: 1px solid #d5dce8;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
}

.aff-toolbar-search:focus {
  outline: none;
  border-color: var(--aff-blue-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.aff-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.aff-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--aff-line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--aff-ink-soft);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

a.aff-page-btn:hover {
  border-color: rgba(29, 78, 216, 0.35);
  color: var(--aff-blue);
}

.aff-page-btn.is-current {
  background: linear-gradient(135deg, var(--aff-blue) 0%, var(--aff-blue-deep) 100%);
  border-color: transparent;
  color: #fff;
}

.aff-page-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.aff-page-ellipsis {
  color: var(--aff-muted);
  padding: 0 0.2rem;
  font-size: 0.85rem;
}

.aff-products {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .aff-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .aff-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.aff-product {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--aff-line);
  border-radius: var(--aff-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aff-product:hover {
  transform: translateY(-3px);
  box-shadow: var(--aff-shadow);
}

.aff-product-media {
  height: 168px;
  background: linear-gradient(135deg, #dbeafe, #e2e8f0);
  overflow: hidden;
}

.aff-product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aff-product-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.aff-product-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.65;
}

.aff-product-price {
  color: var(--aff-slate);
  font-size: 0.88rem;
  font-weight: 600;
}

.aff-commission {
  margin: 0.15rem 0 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(217, 119, 6, 0.10) 100%);
  border: 1px solid rgba(29, 78, 216, 0.12);
  position: relative;
  overflow: hidden;
}

.aff-commission::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--aff-blue) 0%, var(--aff-amber) 100%);
}

.aff-commission-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--aff-muted);
  margin-bottom: 0.35rem;
}

.aff-commission-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
}

.aff-commission-pct {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--aff-blue-deep);
  line-height: 1;
}

.aff-commission-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.45);
  align-self: center;
}

.aff-commission-amt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aff-success);
}

.aff-commission-mini {
  font-size: 0.72rem;
  color: var(--aff-muted);
  padding-inline-start: 3.4rem;
  margin-top: -0.15rem;
  margin-bottom: 0.25rem;
}

.aff-link-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.aff-link-row span {
  font-size: 0.68rem;
  color: var(--aff-muted);
  width: 3.2rem;
  flex-shrink: 0;
}

.aff-link-row input {
  flex: 1;
  border: 1px solid #d5dce8;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-size: 0.68rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f8fafc;
}

.aff-status-text-ok { color: var(--aff-success); font-weight: 600; }
.aff-status-text-wait { color: #b45309; font-weight: 600; }
.aff-status-text-bad { color: var(--aff-danger); font-weight: 600; }

@keyframes aff-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes aff-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

@keyframes aff-drift {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 120px 80px, -60px 40px, 40px -30px; }
}

/* Admin helpers */
.aff-admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.aff-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.aff-select,
.aff-input {
  border: 1px solid #d5dce8;
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  font-family: inherit;
  background: #fff;
  color: var(--aff-ink);
}

.aff-rules-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--aff-line);
  border-radius: var(--aff-radius);
}

@media (min-width: 640px) {
  .aff-rules-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .aff-rules-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aff-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin: 0.65rem 0;
}

.aff-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--aff-blue), var(--aff-blue-deep));
  border-radius: inherit;
}

.aff-muted {
  color: var(--aff-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.aff-scroll {
  overflow-x: auto;
}

.aff-btn-danger {
  color: var(--aff-danger) !important;
  border-color: rgba(185, 28, 28, 0.25) !important;
}

.aff-btn-danger:hover {
  border-color: var(--aff-danger) !important;
  color: var(--aff-danger) !important;
}

@media (prefers-reduced-motion: reduce) {
  .aff-hero-bg::after,
  .aff-hero-orb,
  .aff-auth-panel::before,
  .aff-hero-brand,
  .aff-hero-lead,
  .aff-hero-actions,
  .aff-auth-panel,
  .aff-form-shell,
  .aff-page {
    animation: none !important;
  }
}
