﻿:root {
  /* Sunset brand — rose-red → orange (packages screenshot look) */
  --background: 222 28% 5%;
  --foreground: 40 20% 97%;
  --card: 222 24% 9%;
  --primary: 350 78% 54%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 24 92% 54%;
  --secondary: 222 20% 13%;
  --muted-foreground: 220 12% 68%;
  --success: 162 55% 42%;
  --warning: 38 92% 55%;
  --accent-gold: 36 95% 55%;
  --border: 220 16% 100% / 0.09;
  --radius: 1.15rem;
  --gradient-bg:
    radial-gradient(ellipse 90% 55% at 8% -5%, hsl(350 42% 14% / 0.5) 0%, transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 10%, hsl(24 40% 14% / 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, hsl(222 30% 8% / 0.9) 0%, transparent 55%),
    linear-gradient(165deg, hsl(222 30% 5%) 0%, hsl(225 26% 7%) 45%, hsl(230 22% 6%) 100%);
  --gradient-primary: linear-gradient(90deg, hsl(350 78% 54%) 0%, hsl(18 90% 52%) 55%, hsl(36 95% 55%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(220 20% 100% / 0.07) 0%, hsl(222 24% 100% / 0.02) 100%);
  --shadow-card: 0 10px 28px hsl(222 40% 2% / 0.5);
  --shadow-primary: 0 8px 22px hsl(350 70% 40% / 0.32);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hind Siliguri', 'Segoe UI', system-ui, sans-serif;
  color: hsl(var(--foreground));
  background: var(--gradient-bg);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Glass cards */
.glass-card {
  background: var(--gradient-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
}

.glass-card-hover {
  background: var(--gradient-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card-hover:hover {
  border-color: hsl(var(--primary) / 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), 0 0 0 1px hsl(var(--primary) / 0.08);
}

.text-gradient-primary {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: 1.5rem 2rem;
  width: 100%;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  animation: none;
}

.btn-primary:hover {
  opacity: 0.94;
  filter: brightness(1.04);
}

.btn-primary-sm {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.25);
}

.btn-primary-sm:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: hsl(var(--foreground));
  padding: 1.5rem 2rem;
  width: 100%;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: hsl(var(--background) / 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
}

.logo span {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
}

/* Hero */
.hero {
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: hsl(var(--primary) / 0.2);
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  animation: fade-in 0.6s ease-out forwards;
}

.badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--primary));
}

.badge span {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.9);
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  animation: slide-up 0.7s ease-out forwards;
}

.hero .subtitle {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  animation: fade-in 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 0 auto;
  animation: fade-in 0.6s ease-out 0.4s forwards;
  opacity: 0;
}

/* Live earnings */
.live-earnings {
  padding: 0 1rem 2rem;
}

.live-card {
  border-radius: 1.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: scale-in 0.4s ease-out forwards;
}

.live-icon-wrap {
  position: relative;
}

.live-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: hsl(var(--success) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--success));
}

.live-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 0.625rem;
  height: 0.625rem;
}

.live-dot .ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: hsl(var(--success));
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-dot .dot {
  position: relative;
  display: inline-flex;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: hsl(var(--success));
}

.live-info {
  flex: 1;
  min-width: 0;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-label .live-text {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--success));
}

.live-label .live-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.live-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.125rem;
}

.live-amount-row .name {
  font-weight: 600;
  font-size: 0.875rem;
}

.live-amount-row .amount {
  font-weight: 700;
  font-size: 1rem;
  color: hsl(var(--success));
}

/* Stats */
.stats {
  padding: 0 1rem 2.5rem;
}

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

.stat-card {
  border-radius: 1rem;
  padding: 1rem;
  animation: fade-in 0.6s ease-out forwards;
  opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0ms; }
.stat-card:nth-child(2) { animation-delay: 100ms; }
.stat-card:nth-child(3) { animation-delay: 200ms; }
.stat-card:nth-child(4) { animation-delay: 300ms; }

.stat-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.stat-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: hsl(var(--primary));
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

/* Section headers */
.section {
  padding: 0 1rem 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Feature cards */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-card {
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: slide-up 0.7s ease-out forwards;
  opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0ms; }
.feature-card:nth-child(2) { animation-delay: 120ms; }
.feature-card:nth-child(3) { animation-delay: 240ms; }

.feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.05));
  border: 1px solid hsl(var(--primary) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.feature-content h3 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-content p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Steps v2 */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.step-card-v2 {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(var(--card));
  transition: background 0.3s;
}

.step-card-v2:hover {
  background: rgba(255, 255, 255, 0.05);
}

.step-icon-circle {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-circle svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.step-card-v2 .step-content h3 {
  font-weight: 600;
  font-size: 1rem;
}

.step-card-v2 .step-content p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.cta-box {
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid hsl(var(--primary) / 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.05), transparent);
  pointer-events: none;
}

.cta-box .cta-text {
  position: relative;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btn-cta {
  position: relative;
  padding: 1rem 2rem;
  width: 100%;
}

/* Payment partners */
.payment-grid {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.25rem;
}

.payment-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.05), transparent);
  pointer-events: none;
}

.payment-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  justify-items: stretch;
}

.payment-item {
  aspect-ratio: 2.35 / 1;
  border-radius: 1rem;
  padding: 0.45rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
  min-height: 5.5rem;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.payment-item:hover {
  transform: scale(1.03);
}

.payment-item.payment-binance img,
.payment-items .payment-item:nth-child(4) img {
  max-height: none;
  width: 100%;
  height: 100%;
}

.payment-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

/* Auth pages */
.auth-page {
  min-height: 100vh;
  padding: 1.5rem 1rem 2rem;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.back-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: color 0.2s, background 0.2s;
}

.back-btn:hover {
  color: #fff;
}

.back-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-logo img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.auth-logo span {
  font-size: 1.125rem;
  font-weight: 700;
}

.auth-welcome {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.auth-welcome h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.auth-welcome p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  padding: 0 1rem;
}

.auth-form-card {
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.input-wrap {
  position: relative;
}

.input-wrap svg.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  height: 3rem;
  padding: 0 1rem 0 2.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.input-wrap input:focus {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 20px hsl(var(--primary) / 0.28);
}

.input-wrap .toggle-pw {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  padding: 0;
  display: flex;
}

.input-wrap .toggle-pw:hover {
  color: hsl(var(--primary));
}

.input-wrap .toggle-pw svg {
  width: 1rem;
  height: 1rem;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.checkbox-label input {
  width: 1rem;
  height: 1rem;
  accent-color: hsl(var(--primary));
}

.forgot-link {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.forgot-link:hover {
  opacity: 0.8;
}

.btn-auth {
  width: 100%;
  height: 3rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.5rem;
  animation: none;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.divider span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.auth-alt {
  text-align: center;
  font-size: 0.875rem;
}

.auth-alt span {
  color: hsl(var(--muted-foreground));
}

.auth-alt a {
  color: hsl(var(--primary));
  font-weight: 800;
}

.auth-footer-note {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.auth-demo-hint {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  margin-bottom: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.auth-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-140%);
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Hind Siliguri', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 0.4px currentColor;
  text-shadow: 0 0 0.6px currentColor;
  max-width: 90%;
  text-align: center;
  transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Admin: toast যেন টপবারে আটকে সবুজ স্ট্রিপ না দেখায় */
.admin-body .auth-toast:not(.show) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(-200%) !important;
}

.auth-toast-error {
  background: hsl(0 84% 60% / 0.9);
  color: white;
  border: 1px solid hsl(0 84% 50% / 0.5);
}

.auth-toast-success {
  background: hsl(162 55% 38%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px hsl(162 40% 12% / 0.35);
}

.auth-toast-info {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--primary) / 0.3);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dashboard-actions .btn {
  width: 100%;
}

/* Blog cards */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.blog-card {
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: hsl(var(--primary) / 0.3);
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.blog-card .date {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  margin-top: 0.5rem;
}

/* Contact form */
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  resize: vertical;
  min-height: 120px;
}

textarea:focus {
  border-color: hsl(var(--primary) / 0.5);
}

.content-card {
  border-radius: 1rem;
  padding: 1.25rem;
  margin-top: 1rem;
}

.content-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p, .content-card li {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.content-card ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}


/* Footer */
.footer {
  padding: 2rem 1rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: hsl(var(--background) / 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.refund-banner {
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.refund-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--success) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.refund-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--success));
}

.refund-text h4 {
  font-weight: 600;
  font-size: 0.875rem;
}

.refund-text p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: hsl(var(--foreground));
}

.footer-col a svg {
  width: 0.875rem;
  height: 0.875rem;
  opacity: 0.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .logo img {
  width: 1.75rem;
  height: 1.75rem;
}

.footer-bottom .logo span {
  font-size: 0.875rem;
}

.copyright {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-primary); }
  50% { box-shadow: 0 8px 26px hsl(var(--primary) / 0.34); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.fade-in-up {
  animation: fade-in 0.6s ease-out forwards;
}

/* Sub-pages */
.page-content {
  padding: 2rem 1rem 3rem;
  min-height: calc(100vh - 60px);
}

.page-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-content p {
  color: hsl(var(--muted-foreground));
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.optional-label {
  font-weight: 500;
  opacity: 0.65;
  font-size: 0.85em;
}

.field-hint {
  font-size: 0.75rem;
  color: hsl(var(--primary));
  margin-top: 0.5rem;
  line-height: 1.4;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: hsl(var(--primary) / 0.5);
}

/* আইকন যাতে টেক্সটের ওপর না পড়ে */
.form-group .input-wrap input {
  height: 3rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 2.85rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.form-group .input-wrap:has(.toggle-pw) input {
  padding-right: 2.85rem;
}

.form-group .input-wrap svg.input-icon {
  left: 0.95rem;
  z-index: 1;
}

.form-card {
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.form-footer a {
  color: hsl(var(--primary));
  font-weight: 600;
}

/* App shell */
.app-page {
  min-height: 100vh;
  padding-bottom: 5.5rem;
}

.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-content {
  padding: 1.25rem 1rem 1rem;
}

/* ===== Live-style Dashboard ===== */
.dash-page {
  padding-bottom: 2rem;
}

.dash-page .bottom-nav {
  display: none;
}

.dash-main {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.dash-header {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.45);
}

.dash-header-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(40px);
  pointer-events: none;
}

.dash-header-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: hsl(var(--primary-foreground, 0 0% 10%));
  flex-shrink: 0;
}

.dash-header-info {
  flex: 1;
  min-width: 0;
}

.dash-user-name-link {
  display: block;
  text-decoration: none;
  color: inherit;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.dash-header-info h1,
#user-name {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground, 0 0% 10%));
  margin: 0 0 0.375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: pointer;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.balance-pill svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--primary));
}

.dash-logout {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: hsl(var(--primary-foreground, 0 0% 10%));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.dash-logout svg {
  width: 1rem;
  height: 1rem;
}

.user-notif-wrap {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.user-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.user-lang-btn {
  min-width: 1.55rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  line-height: 1;
}

.user-lang-btn.is-active {
  background: #fff;
  color: #e11d48;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

.user-lang-btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.18);
}

.auth-lang-toggle {
  width: auto;
  min-width: 4.5rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.notif-page .user-lang-toggle {
  background: hsl(160 18% 14%);
  border-color: rgba(255, 255, 255, 0.16);
}

.notif-page .user-lang-btn {
  color: #e2e8f0;
}

.notif-page .tx-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.notif-page .tx-header > div:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.notif-page .user-notif-wrap {
  margin-left: auto;
}

.user-notif-btn {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: #fff;
  color: #e11d48;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.user-notif-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.user-notif-btn:hover {
  background: #fff7ed;
  color: #c2410c;
  transform: scale(1.04);
}

.user-notif-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  border: 1.5px solid #fff;
  font-size: 0.55rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(225, 29, 72, 0.4);
}

.user-notif-badge[hidden] {
  display: none !important;
}

.user-notif-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(86vw, 20rem);
  max-height: min(70vh, 22rem);
  display: flex;
  flex-direction: column;
  border-radius: 0.85rem;
  background: hsl(160 25% 10%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px -12px hsl(0 0% 0% / 0.65);
  z-index: 80;
  overflow: hidden;
}

.user-notif-panel[hidden] {
  display: none !important;
}

.user-notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-notif-panel-head strong {
  font-size: 0.9rem;
  color: #fff;
}

.user-notif-read-all {
  border: none;
  background: transparent;
  color: #fdba74;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.user-notif-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.user-notif-empty {
  margin: 0;
  padding: 1.25rem 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
}

.user-notif-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: inherit;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font: inherit;
}

.user-notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.user-notif-item.is-unread {
  background: rgba(249, 115, 22, 0.08);
}

.user-notif-item strong {
  font-size: 0.82rem;
  color: #fff;
}

.user-notif-item span {
  font-size: 0.76rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.user-notif-item em {
  font-style: normal;
  font-size: 0.66rem;
  opacity: 0.65;
}

.app-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.notif-main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1rem 5rem;
}

.notif-page-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.notif-page-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: hsl(160 18% 10%);
  color: inherit;
  border-radius: 0.8rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.notif-page-item:hover {
  border-color: hsl(var(--primary) / 0.45);
  background: hsl(160 20% 12%);
}

.notif-page-item.is-unread {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.1);
}

.notif-page-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.notif-page-item strong {
  font-size: 0.95rem;
  color: #fff;
}

.notif-page-dot {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #f97316);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.notif-page-item p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
  white-space: pre-wrap;
  word-break: break-word;
}

.notif-page-item em {
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.7;
}

.dash-info-strip {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-left: 4px solid hsl(var(--primary));
}

.dash-info-strip svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.dash-info-strip p {
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
}

.dash-info-strip .text-primary {
  font-weight: 700;
  color: hsl(var(--primary));
}

.dash-actions {
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.dash-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem 0.5rem;
}

.dash-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: center;
}

.dash-action-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground, 0 0% 10%));
  box-shadow: 0 8px 20px -6px hsl(var(--primary) / 0.55);
  transition: transform 0.2s;
}

.dash-action:hover .dash-action-icon,
.dash-action:active .dash-action-icon {
  transform: scale(1.05);
}

.dash-action-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Promo slider */
.promo-slider {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 2.05 / 1;
  background: hsl(var(--card));
  box-shadow: 0 10px 30px -12px hsl(var(--primary) / 0.35);
}

.offer-banner-slider {
  /* New deposit/referral banners are 1536×1024 (3:2) */
  aspect-ratio: 3 / 2;
  margin-bottom: 0.75rem;
  background: #0a1628;
}

.offer-banner-slider .promo-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #020b28;
}

/* Referral banner popup after login/signup */
.ref-popup {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.ref-popup[hidden] {
  display: none !important;
}

.ref-popup-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(222 40% 6% / 0.78);
  backdrop-filter: blur(6px);
}

.ref-popup-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 36rem);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px hsl(0 0% 0% / 0.65);
  animation: refPopupIn 0.35s ease;
}

@keyframes refPopupIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ref-popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: hsl(0 0% 0% / 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.ref-popup-slider {
  position: relative;
}

.ref-popup-track {
  position: relative;
  width: 100%;
}

.ref-popup-slide {
  display: none;
}

.ref-popup-slide.active {
  display: block;
}

.ref-popup-link {
  display: block;
}

.ref-popup-link img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.ref-popup-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  pointer-events: none;
}

.ref-popup-dots[hidden] {
  display: none !important;
}

.ref-popup-dot {
  pointer-events: auto;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.45);
  cursor: pointer;
}

.ref-popup-dot.active {
  background: #fff;
  width: 1rem;
}

body.ref-popup-open {
  overflow: hidden;
}

.payment-promo-slider {
  aspect-ratio: 2 / 1;
}

.promo-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.promo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.promo-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

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

.promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 42%, transparent 68%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1rem 1.75rem;
  z-index: 2;
  pointer-events: none;
}

.promo-overlay h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.promo-overlay p {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.125rem 0 0;
}

.promo-dots {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  display: flex;
  gap: 0.375rem;
  z-index: 3;
}

.promo-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: hsl(var(--foreground) / 0.35);
  cursor: pointer;
  transition: all 0.25s;
}

.promo-dot.active {
  width: 1.25rem;
  background: hsl(var(--primary));
}

.dash-section {
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.dash-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dash-section-head h2 {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.dash-section-head span {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.dash-tx-head-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dash-tx-more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #7dd3fc;
  text-decoration: none;
  white-space: nowrap;
}

.dash-tx-more:hover {
  color: #bae6fd;
  text-decoration: underline;
}

.tx-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-page-btn {
  min-width: 2.15rem;
  height: 2.15rem;
  padding: 0 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.tx-page-btn:hover:not(:disabled) {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--primary));
}

.tx-page-btn.active {
  background: hsl(var(--primary) / 0.2);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.tx-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.empty-tx {
  text-align: center;
  padding: 2rem 0;
}

.empty-tx p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.empty-tx .muted {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.dash-tx-list,
.live-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-tx-item,
.live-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dash-tx-icon,
.live-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.dash-tx-icon svg,
.live-icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.tone-success { color: hsl(152 70% 45%); }
.tone-primary { color: hsl(var(--primary)); }
.tone-danger { color: hsl(0 78% 58%); }

.dash-tx-icon.tone-success {
  color: #22c55e;
  background: hsl(152 55% 40% / 0.18);
  border-color: hsl(152 55% 45% / 0.35);
}

.dash-tx-icon.tone-danger {
  color: #ef4444;
  background: hsl(0 72% 50% / 0.16);
  border-color: hsl(0 72% 55% / 0.35);
}

.dash-tx-body,
.live-body {
  flex: 1;
  min-width: 0;
}

.live-name.live-name-en {
  color: hsl(var(--foreground));
}

.live-name.live-name-bn {
  color: #7dd3fc;
}

.dash-tx-title,
.live-name {
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-tx-date,
.live-meta,
.dash-tx-status,
.live-status {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  margin: 0.1rem 0 0;
}

.dash-tx-right,
.live-right {
  text-align: right;
  flex-shrink: 0;
}

.dash-tx-amount,
.live-amount {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
}

.promo-slider .promo-slide {
  cursor: default;
  pointer-events: none;
}

.promo-slider .promo-dots,
.promo-slider .promo-dot {
  pointer-events: auto;
}

.dash-tx-amount.credit,
.live-amount {
  color: hsl(var(--success));
}

.dash-tx-amount.debit {
  color: hsl(0 72% 55%);
}

.live-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  position: relative;
  width: 0.625rem;
  height: 0.625rem;
}

.live-dot .ping,
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: hsl(var(--success));
}

.live-dot .ping {
  animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.live-badge {
  font-size: 0.625rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--success)) !important;
}

.live-total strong {
  color: hsl(var(--success));
  font-weight: 700;
}

.live-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.live-icon svg {
  width: 1rem;
  height: 1rem;
}

.live-icon.prov-bkash,
.live-provider.prov-bkash {
  color: #e2136e;
}

.live-icon.prov-bkash {
  background: rgba(226, 19, 110, 0.12);
  border-color: rgba(226, 19, 110, 0.28);
}

.live-icon.prov-nagad,
.live-provider.prov-nagad {
  color: #f6921e;
}

.live-icon.prov-nagad {
  background: rgba(246, 146, 30, 0.12);
  border-color: rgba(246, 146, 30, 0.28);
}

.live-icon.prov-rocket,
.live-provider.prov-rocket {
  color: #b45fd6;
}

.live-icon.prov-rocket {
  background: rgba(139, 63, 158, 0.15);
  border-color: rgba(139, 63, 158, 0.3);
}

.live-icon.prov-binance,
.live-provider.prov-binance {
  color: #f0b90b;
}

.live-icon.prov-binance {
  background: rgba(240, 185, 11, 0.12);
  border-color: rgba(240, 185, 11, 0.3);
}

.live-provider {
  font-weight: 700;
}

.live-item[data-fresh="1"] {
  animation: fade-in 0.45s ease-out;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.animate-fade-in {
  animation: fade-in 0.45s ease-out both;
}

.app-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.app-content .subtitle {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
}

.balance-card {
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.balance-card .label {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.balance-card .amount {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.25rem 0 0.5rem;
}

.balance-card .today {
  font-size: 0.875rem;
  color: hsl(var(--success));
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.quick-action {
  border-radius: 1rem;
  padding: 0.875rem 0.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
}

.quick-action svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: hsl(var(--background) / 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 28rem;
  margin: 0 auto;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  padding: 0.25rem;
}

.bottom-nav-item svg {
  width: 1.25rem;
  height: 1.25rem;
}

.bottom-nav-item.active {
  color: hsl(var(--primary));
}

.package-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

/* Plan cards — sunset look: orange labels/prices, red→orange buttons */
.package-list .package-card,
.package-list .earnings-pkg-card {
  border: 1px solid hsl(var(--primary) / 0.3);
  background:
    linear-gradient(160deg, hsl(222 24% 11% / 0.95), hsl(222 22% 8% / 0.98));
  box-shadow: 0 0 28px hsl(var(--primary) / 0.12);
}

.package-list .package-card.active {
  border-color: hsl(var(--primary) / 0.65);
  box-shadow: 0 0 28px hsl(var(--primary) / 0.28);
}

.package-list .package-card.popular {
  border-color: hsl(var(--primary-glow) / 0.5);
}

.package-list .package-badge {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
}

.package-list .package-badge.success {
  background: hsl(var(--success) / 0.15);
  color: hsl(var(--success));
  border: 1px solid hsl(var(--success) / 0.4);
}

.package-list .package-price,
.package-list .package-price.text-gradient-primary {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: hsl(var(--accent-gold));
  -webkit-text-fill-color: hsl(var(--accent-gold));
}

.package-list .pkg-stat-label.success-tone,
.package-list .pkg-stat-label.primary-tone {
  color: hsl(var(--accent-gold)) !important;
}

.package-list .package-stats > div {
  background: hsl(222 20% 100% / 0.04);
  border-color: hsl(220 16% 100% / 0.08);
}

.package-list .pkg-ad-features li::before {
  background: hsl(var(--primary));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.65rem;
  background-repeat: no-repeat;
  background-position: center;
}

.package-list .package-footer .text-success {
  color: hsl(var(--accent-gold));
}

.package-list .package-footer .btn-primary {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
}

.package-card.active {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.18);
}

.package-card.popular {
  border-color: hsl(var(--primary) / 0.4);
}

.package-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.package-badge.success {
  background: hsl(var(--success) / 0.15);
  color: hsl(var(--success));
  border: 1px solid hsl(var(--success) / 0.4);
}

.package-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-right: 4rem;
}

.package-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0;
}

.package-price-wrap {
  text-align: right;
}

.muted-xs {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
}

.package-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.package-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.package-stats > div {
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.625rem;
}

.package-stats strong {
  display: block;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.package-features {
  list-style: none;
  margin-bottom: 1rem;
}

.package-features li {
  font-size: 0.8125rem;
  color: hsl(var(--foreground) / 0.9);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.package-features li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: 700;
  font-size: 0.75rem;
}

.package-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.earnings-pkg-card .pkg-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-right: 4.5rem;
}

.earnings-pkg-card .pkg-card-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

.pkg-card-sub {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.pkg-stats-3 {
  margin-bottom: 1rem;
}

.pkg-stat-label {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.6875rem !important;
  margin-bottom: 0.25rem;
}

.pkg-stat-label svg {
  width: 0.75rem;
  height: 0.75rem;
}

.pkg-stat-label.success-tone,
.pkg-stat-label.primary-tone {
  color: hsl(var(--accent-gold)) !important;
}

.pkg-price-chip {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.25);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
}

.pkg-daily-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.18);
}

.pkg-daily-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  flex-shrink: 0;
}

.pkg-daily-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pkg-daily-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ade80;
}

.pkg-daily-value {
  margin: 0.1rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.pkg-ad-features li {
  padding: 0.35rem 0 0.35rem 1.5rem;
}

.pkg-ad-features li::before {
  content: '';
  width: 1rem;
  height: 1rem;
  left: 0;
  top: 0.45rem;
  border-radius: 50%;
  background: hsl(142 72% 45%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.65rem;
  background-repeat: no-repeat;
  background-position: center;
}

.text-success {
  color: hsl(var(--success));
}

.btn-sm {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  height: auto;
  animation: none;
}

.task-card {
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.task-info h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.task-info p {
  font-size: 0.75rem;
  color: hsl(var(--success));
}

.task-progress {
  width: 100%;
  height: 0.375rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.task-progress-bar {
  height: 100%;
  background: hsl(var(--primary));
  border-radius: 9999px;
  transition: width 0.3s;
}

/* Shared app page chrome */
.page-back-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.page-header-lang {
  margin-left: auto;
  flex-shrink: 0;
}

.page-header-lang .user-notif-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.page-back-header h1 {
  font-size: 1.125rem;
  margin: 0;
}

.back-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(220 18% 16%);
  border: 1px solid hsl(0 0% 100% / 0.28);
  color: #fff;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.back-btn:hover {
  background: hsl(var(--primary) / 0.22);
  border-color: hsl(var(--primary) / 0.55);
  color: #fff;
}

.back-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  color: inherit;
}

.invest-banner {
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.invest-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.invest-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.invest-sub {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.125rem 0 0;
}

.task-hero-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.45);
}

.task-pkg {
  font-size: 0.75rem;
  opacity: 0.85;
  margin: 0 0 0.5rem;
}

.task-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.task-big {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.task-target {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.task-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.task-meta-grid > div {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.5rem;
  text-align: center;
}

.task-meta-grid .muted-xs {
  color: rgba(255, 255, 255, 0.8);
}

.task-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.task-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.task-row.done {
  background: hsl(var(--success) / 0.1);
  border-color: hsl(var(--success) / 0.3);
}

.task-row.running {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.4);
}

.task-row-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.task-row.done .task-row-icon {
  background: hsl(var(--success) / 0.2);
  color: hsl(var(--success));
}

.task-row-body {
  flex: 1;
  min-width: 0;
}

.task-row-body p {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.task-row-body span {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.task-done-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--success));
}

.task-note {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

.no-package {
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.no-package .lock-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.no-package h2 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.no-package p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.25rem;
}

.ref-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ref-stat {
  border-radius: 1rem;
  padding: 0.75rem;
}

.ref-stat strong {
  display: block;
  font-size: 1rem;
  margin-top: 0.25rem;
}

.ref-h2 {
  font-size: 0.875rem;
  margin: 0 0 0.75rem;
}

.ref-code-row,
.ref-link-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ref-code {
  flex: 1;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: hsl(var(--primary));
}

.ref-link-row code {
  flex: 1;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.35;
  word-break: break-all;
  overflow-wrap: anywhere;
  white-space: normal;
  color: hsl(var(--foreground));
}

.ref-desc {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* 3-level referral chart */
.ref-chart {
  position: relative;
  margin: 0 0 1.1rem;
  padding: 0.85rem 0.75rem 0.9rem;
  border-radius: 1rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 35%, rgba(124, 92, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 50% 10%, rgba(245, 166, 35, 0.16), transparent 45%),
    linear-gradient(165deg, #0c1018 0%, #12182a 55%, #0a0e16 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-chart::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.ref-chart-visual {
  position: relative;
  z-index: 1;
}

.ref-chart-svg {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  height: auto;
}

.ref-node-you {
  animation: refPulseGold 2.4s ease-in-out infinite;
}

.ref-node-l1 {
  animation: refFadeIn 0.7s ease both;
  animation-delay: 0.15s;
}

.ref-node-l2 {
  animation: refFadeIn 0.7s ease both;
  animation-delay: 0.35s;
}

.ref-node-l3 {
  animation: refFadeIn 0.8s ease both;
  animation-delay: 0.55s;
}

.ref-chart-lines path {
  stroke-dasharray: 80;
  animation: refDrawLine 1.2s ease both;
}

.ref-chart-meta {
  position: relative;
  z-index: 1;
  margin-top: 0.15rem;
  padding: 0 0.35rem;
}

.ref-chart-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.ref-chart-rates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.35rem;
}

.ref-rate {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.ref-rate i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
}

.ref-rate.l1 i { background: #22c55e; color: #22c55e; }
.ref-rate.l2 i { background: #a78bfa; color: #a78bfa; }
.ref-rate.l3 i { background: #7c5cff; color: #7c5cff; }

.ref-chart-note {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.ref-chart-note strong {
  color: hsl(var(--primary));
}

@keyframes refPulseGold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.82; }
}

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

@keyframes refDrawLine {
  from { stroke-dashoffset: 80; opacity: 0; }
  to { stroke-dashoffset: 0; opacity: 0.75; }
}

.ref-commission-sub {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.ref-commission-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.ref-levels {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
}

.ref-level {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-level .lvl {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  flex-shrink: 0;
}

.lvl.l1 { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.lvl.l2 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.lvl.l3 { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.ref-level strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.ref-level p {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin: 0.1rem 0 0;
}

.ref-level .pct {
  margin-left: auto;
  font-size: 1.05rem;
  font-weight: 800;
  color: hsl(var(--primary));
}

.ref-bonus {
  border-radius: 1rem;
  padding: 1rem;
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.3);
}

.ref-bonus strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.ref-bonus p {
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
  line-height: 1.55;
}

.ref-count-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.25);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.ref-empty {
  text-align: center;
  padding: 1.75rem 1rem;
}

.ref-empty p {
  margin: 0;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.ref-empty strong {
  display: block;
  color: hsl(var(--foreground));
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
}

.ref-friends {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ref-friend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-friend-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.ref-friend-body {
  flex: 1;
  min-width: 0;
}

.ref-friend-name {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ref-friend-meta {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  margin: 0.15rem 0 0;
}

.ref-friend-right {
  text-align: right;
  flex-shrink: 0;
}

.ref-friend-bonus {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--success));
  margin: 0;
}

.ref-friend-status {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  margin: 0.1rem 0 0;
}

.ref-friend-status.claimable {
  color: hsl(var(--success));
  font-weight: 700;
}

.ref-friend-status.claimed {
  color: hsl(var(--success));
}

.ref-friend-status.pending {
  color: hsl(38 90% 55%);
}

.ref-claim-btn {
  margin-top: 0.25rem;
  white-space: nowrap;
  font-weight: 700;
}

.ref-friend-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.tx-row {
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tx-type {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.tx-date {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.tx-amount {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: right;
}

.tx-amount.credit { color: hsl(var(--success)); }
.tx-amount.debit { color: hsl(0 84% 60%); }

.tx-status {
  font-size: 0.625rem;
  text-align: right;
  display: block;
}

.status-pending { color: hsl(var(--primary-glow)); }
.status-approved { color: hsl(var(--success)); }
.status-rejected { color: hsl(0 84% 60%); }

.tabs {
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.tab-btn {
  flex-shrink: 0;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}

.tab-btn.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: transparent;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.payment-method {
  border-radius: 0.75rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.payment-method.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
}

.agent-card {
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.agent-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.agent-number span {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.copy-btn {
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.3);
  color: hsl(var(--primary));
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-item {
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  font-weight: 500;
}

.profile-item svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

.profile-header-card {
  border-radius: 1.25rem;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.profile-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

/* Live-style profile edit page */
.profile-page .app-content {
  padding-bottom: 2.5rem;
}

.profile-hero {
  text-align: center;
  margin: 0.25rem 0 1.5rem;
}

.profile-verify-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: #fff;
  background: hsl(350 55% 22% / 0.85);
  border: 1px solid hsl(350 60% 40% / 0.35);
  box-shadow: inset 3px 0 0 hsl(350 78% 54%);
  transition: background 0.15s, border-color 0.15s;
}
.profile-verify-cta:hover {
  background: hsl(350 55% 26% / 0.95);
  border-color: hsl(350 70% 50% / 0.5);
}
.profile-verify-cta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.profile-verify-cta-left svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: hsl(350 85% 68%);
}
.profile-verify-cta-left strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}
.profile-verify-cta-left small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: hsl(210 16% 72%);
  line-height: 1.35;
}
.profile-verify-cta-status {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}
.profile-verify-cta.is-ok .profile-verify-cta-status {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
}
.profile-verify-cta.is-pending .profile-verify-cta-status {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}
.profile-verify-cta.is-bad .profile-verify-cta-status {
  color: #f87171;
  background: rgba(248, 113, 113, 0.12);
}

.profile-avatar-ring {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 0.875rem;
  border-radius: 50%;
  padding: 2px;
  background: hsl(var(--primary));
  position: relative;
  border: 1px solid hsl(var(--primary) / 0.35);
}

.profile-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: hsl(160 30% 12%);
}

.profile-avatar-fallback {
  display: none;
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  background: hsl(var(--card));
  color: hsl(var(--primary));
}

.profile-hero h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.profile-hero-sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.pf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.pf-badge.ok {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.pf-badge.warn {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.pf-badge.info {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

.pf-badge.muted {
  color: hsl(var(--muted-foreground));
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-member-since {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  color: hsl(var(--muted-foreground));
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.profile-stat {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: hsl(160 25% 9% / 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-stat-label {
  display: block;
  font-size: 0.68rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.3rem;
}

.profile-stat strong {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.profile-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.profile-info-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-info-list li > span {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
}

.profile-info-list strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.profile-info-list strong.ok { color: #86efac; }
.profile-info-list strong.warn { color: #fcd34d; }

.profile-info-value {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.profile-info-value code {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
}

.profile-copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  cursor: pointer;
}

.profile-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.profile-quick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.35rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: hsl(var(--foreground));
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.profile-quick:hover {
  border-color: hsl(var(--primary) / 0.45);
  background: hsl(var(--primary) / 0.08);
}

.profile-quick-ico {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
}

.profile-tips {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.profile-tips li {
  font-size: 0.78rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 380px) {
  .profile-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-card {
  background: hsl(160 25% 9% / 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem 1.15rem 1.35rem;
  margin-bottom: 1.15rem;
}

.profile-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-section-title svg {
  width: 1.125rem;
  height: 1.125rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.profile-section-title h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
}

.profile-form .form-group {
  margin-bottom: 1rem;
}

.profile-form .form-group label {
  font-size: 0.8125rem;
  color: hsl(0 0% 88%);
  margin-bottom: 0.45rem;
}

.profile-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(160 20% 7%);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.profile-form input:focus {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(160 22% 8%);
}

.profile-form input[readonly] {
  cursor: not-allowed;
  color: hsl(var(--foreground));
  -webkit-text-fill-color: hsl(var(--foreground));
  opacity: 0.95;
}

.profile-form .input-wrap {
  position: relative;
}

.profile-form .input-wrap .input-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.profile-form .input-wrap input {
  padding-left: 2.5rem;
}

.profile-form .input-wrap:not(:has(.input-icon)) input {
  padding-left: 0.875rem;
}

.profile-form .input-wrap:has(.toggle-pw) input {
  padding-right: 2.6rem;
}

.profile-form .input-wrap .toggle-pw {
  right: 0.85rem;
}

.field-hint-muted {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.4rem;
  opacity: 0.85;
}

.profile-btn {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 0.85rem;
  font-weight: 700;
  min-height: 3rem;
  box-shadow: none;
  animation: none;
}

.profile-btn:hover {
  filter: brightness(1.05);
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0 1.25rem;
  font-size: 0.8125rem;
}

.profile-links a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.profile-links a:hover {
  color: hsl(var(--primary));
}

.profile-logout {
  border: none;
  background: transparent;
  color: hsl(0 72% 58%);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.email-verify-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.email-verify-row input {
  flex: 1;
  min-width: 0;
}

.email-verify-btn {
  flex-shrink: 0;
  border: 1px solid hsl(var(--primary) / 0.45);
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 0 0.9rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.email-verify-btn:hover {
  background: hsl(var(--primary) / 0.2);
}

.email-verify-status {
  margin-top: 0.45rem;
}

.email-verify-msg {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: hsl(var(--foreground));
}

.email-verify-msg.is-ok {
  border-color: hsl(142 70% 40% / 0.45);
  background: hsl(142 70% 40% / 0.12);
  color: hsl(142 80% 70%);
}

.email-verify-msg.is-err {
  border-color: hsl(0 84% 60% / 0.45);
  background: hsl(0 84% 60% / 0.12);
  color: hsl(0 90% 75%);
}

.email-verify-msg.is-info {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

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

.email-badge.verified {
  background: hsl(var(--success) / 0.15);
  color: hsl(var(--success));
  border: 1px solid hsl(var(--success) / 0.3);
}

.email-badge.pending {
  background: rgba(255, 255, 255, 0.06);
  color: hsl(var(--muted-foreground));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-otp-box {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: hsl(160 20% 7%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.email-otp-box label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
}

.email-otp-row {
  display: flex;
  gap: 0.5rem;
}

.email-otp-row input {
  flex: 1;
  min-width: 0;
  letter-spacing: 0.15em;
  text-align: center;
  font-weight: 700;
}

.email-otp-confirm {
  flex-shrink: 0;
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.8125rem;
}

.email-sent-note {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.25);
}

.email-sent-note strong {
  display: block;
  color: hsl(var(--success));
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.email-sent-note p {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.email-setup-hint {
  margin-top: 0.65rem;
  font-size: 0.7rem;
  color: hsl(var(--primary-glow));
  line-height: 1.4;
}

.email-setup-hint code {
  font-size: 0.68rem;
  color: hsl(var(--primary));
}

.email-inbox-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.email-inbox-head span {
  color: hsl(var(--muted-foreground));
}

.email-inbox-to,
.email-inbox-subject {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.15rem 0;
}

.email-inbox-body {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.email-inbox-body strong {
  color: hsl(var(--primary));
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}

.email-otp-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0.75rem 0 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.28);
}

.email-otp-countdown-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.email-otp-countdown .email-timer {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.email-otp-countdown.is-expired {
  background: hsl(0 72% 45% / 0.12);
  border-color: hsl(0 72% 55% / 0.35);
}

.email-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.email-timer {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
}

.email-timer.expired {
  color: hsl(0 72% 58%);
}

.email-resend-btn {
  border: 1px solid hsl(var(--primary) / 0.45);
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.email-resend-btn.is-pulse {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.22);
  animation: email-resend-pulse 1.2s ease-in-out infinite;
}

@keyframes email-resend-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}

.kyc-badge {
  display: inline-block;
  font-size: 0.6875rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  margin-top: 0.5rem;
}

.kyc-approved { background: hsl(var(--success) / 0.15); color: hsl(var(--success)); }
.kyc-pending { background: hsl(var(--primary) / 0.15); color: hsl(var(--primary-glow)); }
.kyc-none { background: rgba(255,255,255,0.08); color: hsl(var(--muted-foreground)); }

/* KYC form — blank name, no red glow/shadow on inputs */
.kyc-page .form-group input,
.kyc-page .form-group input:focus,
.kyc-page .form-group input:focus-visible {
  box-shadow: none !important;
  outline: none !important;
  border-color: hsl(0 0% 100% / 0.14) !important;
  caret-color: hsl(0 0% 96%);
}

.kyc-page .form-group input:focus,
.kyc-page .form-group input:focus-visible {
  border-color: hsl(0 0% 100% / 0.28) !important;
  background: hsl(222 18% 12%);
}

.profile-kyc-box {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-kyc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.profile-kyc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: hsl(var(--muted-foreground));
}

.profile-kyc-badge.ok {
  background: hsl(var(--success) / 0.18);
  color: hsl(var(--success));
}

.profile-kyc-badge.warn {
  background: hsl(45 90% 50% / 0.16);
  color: #fbbf24;
}

.profile-kyc-badge.bad {
  background: hsl(0 72% 50% / 0.16);
  color: #f87171;
}

.admin-kyc-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.admin-kyc-imgs a {
  display: block;
  width: 5.5rem;
  height: 3.6rem;
  border-radius: 0.45rem;
  overflow: hidden;
  border: 1px solid hsl(var(--admin-line));
}

.admin-kyc-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-user-edit-form .admin-user-edit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
}

.admin-user-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.9;
}

.admin-user-edit-form input,
.admin-user-edit-form select {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: inherit;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
}

.admin-user-edit-check {
  flex-direction: row !important;
  align-items: center;
  gap: 0.45rem !important;
  margin-top: 1.4rem;
}

.admin-user-edit-check input {
  width: auto;
  min-height: auto;
}

@media (max-width: 640px) {
  .admin-user-edit-form .admin-user-edit-grid {
    grid-template-columns: 1fr;
  }
}

.referral-link-box {
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.referral-link-box code {
  display: block;
  font-size: 0.75rem;
  word-break: break-all;
  color: hsl(var(--primary));
  margin: 0.5rem 0;
}

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

.referral-actions button {
  flex: 1;
}

.empty-state {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  padding: 2rem 0;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title a {
  font-size: 0.75rem;
  color: hsl(var(--primary));
}

.amount-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.amount-chip {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.amount-chip.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

/* ===== Deposit (live-style 3-step) ===== */
.deposit-page .deposit-main {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  min-height: 100vh;
}

.deposit-page .subtitle {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.deposit-howto,
.deposit-method-banner,
.deposit-amount-card,
.deposit-verify-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.deposit-howto-glow {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.2);
  filter: blur(48px);
  pointer-events: none;
}

.deposit-howto-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.deposit-howto-title svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.deposit-howto-title h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.deposit-howto ol {
  position: relative;
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.deposit-howto ol strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.deposit-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-inline: 0.25rem;
}

.deposit-method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.deposit-method-card {
  --m-color: hsl(var(--primary));
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  border-radius: 1.05rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(var(--card));
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  opacity: 0;
  animation: scaleIn 0.4s ease forwards;
}

.deposit-method-card[data-method="bkash"] { --m-color: #e2136e; }
.deposit-method-card[data-method="nagad"] { --m-color: #f6921e; }
.deposit-method-card[data-method="rocket"] { --m-color: #8b3f9e; }
.deposit-method-card[data-method="binance"] { --m-color: #F0B90B; }

.deposit-method-card:hover:not(.is-disabled) {
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1.5px var(--m-color),
    0 12px 28px color-mix(in srgb, var(--m-color) 22%, transparent);
  background: color-mix(in srgb, var(--m-color) 12%, hsl(var(--card)));
}

.deposit-method-logo-area {
  width: 5.15rem;
  height: 5.15rem;
  aspect-ratio: 1;
  border-radius: 1.05rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0.12rem;
  margin-bottom: 0;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  position: relative;
}

.deposit-method-logo-area img {
  display: block !important;
  width: 108% !important;
  height: 108% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: contrast(1.08) saturate(1.12);
  opacity: 1;
}

.deposit-method-card.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.deposit-method-card.is-disabled:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

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

.deposit-method-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.12rem;
}

.deposit-method-body small {
  display: block;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

.deposit-method-check {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.deposit-method-card:hover:not(.is-disabled) .deposit-method-check {
  border-color: var(--m-color);
  background: var(--m-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--m-color) 25%, transparent);
}

.deposit-method-card:hover:not(.is-disabled) .deposit-method-check::after {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0.2rem;
  width: 0.32rem;
  height: 0.55rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.deposit-method-footer {
  display: none;
}

.deposit-unavailable {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}

.deposit-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-inline: 0.25rem;
}

.deposit-history-head .deposit-section-title {
  margin: 0;
}

.deposit-history-count {
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.deposit-empty {
  border-radius: 1rem;
  padding: 2rem 1rem;
  text-align: center;
}

.deposit-empty p {
  margin: 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.deposit-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.deposit-history-item {
  display: flex;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 1rem;
}

.deposit-history-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.deposit-history-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.deposit-history-body {
  flex: 1;
  min-width: 0;
}

.deposit-history-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.deposit-history-body p {
  margin: 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deposit-history-body .mono {
  font-family: ui-monospace, monospace;
}

.deposit-history-body .date {
  margin-top: 0.25rem;
  font-size: 0.625rem;
}

.deposit-status {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid;
  flex-shrink: 0;
}

.deposit-status.st-pending {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.deposit-status.st-processing {
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}

.deposit-status.st-ok {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.3);
}

.deposit-status.st-bad {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
}

.deposit-method-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Binance deposit — USD rate chart */
.deposit-usd-chart {
  position: relative;
  margin: 0.75rem 0 1rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid hsl(43 90% 50% / 0.28);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, hsl(43 90% 50% / 0.12) 0%, transparent 55%),
    var(--gradient-card);
}

.deposit-usd-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.deposit-usd-chart-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: hsl(43 92% 62%);
}

.deposit-usd-chart-head p {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}

.deposit-usd-badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 0.4rem;
  background: hsl(43 90% 50% / 0.18);
  color: hsl(43 92% 68%);
  border: 1px solid hsl(43 90% 50% / 0.35);
}

.deposit-usd-rate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.deposit-usd-rate-row > div {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  background: hsl(222 24% 100% / 0.04);
  border: 1px solid hsl(var(--border));
}

.deposit-usd-rate-row span {
  display: block;
  font-size: 0.65rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.2rem;
}

.deposit-usd-rate-row strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.deposit-usd-live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
  background: hsl(350 78% 54% / 0.08);
  border: 1px solid hsl(350 78% 54% / 0.22);
}

.deposit-usd-live > div {
  flex: 1;
  min-width: 0;
}

.deposit-usd-live span {
  display: block;
  font-size: 0.65rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.15rem;
}

.deposit-usd-live strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.deposit-usd-live-arrow {
  flex-shrink: 0;
  opacity: 0.55;
  font-weight: 700;
}

.deposit-usd-table-wrap {
  overflow-x: auto;
  border-radius: 0.55rem;
  border: 1px solid hsl(var(--border));
}

.deposit-usd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.deposit-usd-table th,
.deposit-usd-table td {
  padding: 0.45rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.deposit-usd-table th {
  font-size: 0.65rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  background: hsl(222 24% 100% / 0.03);
}

.deposit-usd-table tr:last-child td {
  border-bottom: none;
}

.deposit-usd-row {
  cursor: pointer;
  transition: background 0.15s ease;
}

.deposit-usd-row:hover {
  background: hsl(43 90% 50% / 0.08);
}

.deposit-usd-row.is-active {
  background: hsl(350 78% 54% / 0.14);
}

.deposit-usd-row.is-active td {
  color: hsl(var(--foreground));
}

.deposit-usd-note {
  margin: 0.7rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
}

.deposit-method-logo-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.deposit-method-logo-box.sm {
  width: 3rem;
  height: 3rem;
}

.deposit-method-logo-box img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.deposit-method-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.muted-xs {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.deposit-amount-card label {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.4rem;
}

.deposit-amount-input-wrap {
  position: relative;
}

.deposit-amount-input-wrap > span {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.deposit-amount-input-wrap input {
  width: 100%;
  height: 3.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0 1rem 0 2.25rem;
}

.deposit-amount-input-wrap input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.5);
}

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.6875rem;
  color: #f87171;
}

.deposit-quick-label {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.deposit-amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deposit-chip {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.4);
  background: transparent;
  color: hsl(var(--primary));
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  line-height: 1.15;
}

.deposit-chip-bonus {
  font-size: 0.65rem;
  font-weight: 800;
  opacity: 0.9;
}

.deposit-chip:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
}

.deposit-chip.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.18);
}

.deposit-next-btn,
.deposit-verify-btn {
  width: 100%;
  margin-top: 1.5rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-weight: 600;
}

.deposit-next-btn svg {
  width: 1rem;
  height: 1rem;
}

.deposit-verify-btn {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

.deposit-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.deposit-summary-text {
  flex: 1;
  min-width: 0;
}

.deposit-summary-amount {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.deposit-change-btn {
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  cursor: pointer;
}

.deposit-change-btn:hover {
  background: hsl(var(--primary) / 0.25);
}

.deposit-verify-inner {
  position: relative;
}

.deposit-verify-inner h2 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.deposit-verify-inner > input {
  width: 100%;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(var(--background));
  color: inherit;
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 0 1rem;
  margin-bottom: 1rem;
}

.deposit-verify-inner > input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.5);
}

.deposit-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.deposit-steps-list li {
  display: flex;
  gap: 0.5rem;
}

.deposit-steps-list .dot {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.deposit-steps-list strong {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.deposit-steps-list .text-primary {
  color: hsl(var(--primary));
}

.deposit-copy-row-wrap {
  display: block !important;
}

.deposit-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: hsl(var(--primary) / 0.05);
  border: 1px dashed hsl(var(--primary) / 0.4);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.deposit-agent-number {
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: hsl(var(--foreground));
}

.deposit-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  cursor: pointer;
}

.deposit-copy-btn svg,
.deposit-icon-copy svg {
  width: 0.875rem;
  height: 0.875rem;
}

.deposit-amount-copy-line {
  align-items: center;
}

.deposit-icon-copy {
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  padding: 0.15rem;
  display: inline-flex;
}

.deposit-icon-copy:hover {
  color: hsl(var(--primary));
}

/* Gateway checkout (deposit) */
.deposit-gateway {
  text-align: center;
  border-radius: 1.15rem;
  padding: 1.35rem 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.deposit-gateway h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.deposit-gw-brand {
  width: min(100%, 320px);
  margin: 0 auto 1rem;
  padding: 1.2rem 1.25rem 1rem;
  border-radius: 1.1rem;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  animation: depositGwIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.deposit-gw-brand.bk { box-shadow: 0 14px 36px rgba(226, 19, 110, 0.28); }
.deposit-gw-brand.ng { box-shadow: 0 14px 36px rgba(246, 146, 30, 0.28); }
.deposit-gw-brand.rk { box-shadow: 0 14px 36px rgba(139, 63, 158, 0.3); }
.deposit-gw-brand.bn { box-shadow: 0 14px 36px rgba(240, 185, 11, 0.28); }

.deposit-gw-brand img {
  width: min(260px, 100%);
  height: 72px;
  object-fit: contain;
  display: block;
}

.deposit-gw-brand small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.deposit-gw-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.deposit-gw-amount {
  margin: 0.55rem 0 0.2rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.deposit-gw-spin {
  width: 2.6rem;
  height: 2.6rem;
  margin: 1rem auto;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: hsl(var(--primary));
  animation: depositSpin 0.75s linear infinite;
}

.deposit-gw-spin span { display: none; }

.deposit-confirm-fields {
  text-align: left;
  margin: 1rem 0 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.deposit-agent-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  background: hsl(var(--primary) / 0.06);
  border: 1px dashed hsl(var(--primary) / 0.4);
}

.deposit-agent-box span {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.15rem;
}

.deposit-agent-box strong {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.deposit-agent-box button {
  border: none;
  background: hsl(var(--primary) / 0.16);
  color: hsl(var(--primary));
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.deposit-trx-label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.deposit-trx-label input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(var(--background));
  color: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.deposit-trx-label input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.55);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.16);
}

.deposit-cancel-btn {
  width: 100%;
  margin-top: 0.55rem;
  height: 2.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.deposit-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.04);
}

.deposit-status-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0.25rem auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  font-weight: 700;
}

.deposit-status-icon.ok {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
  box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.08);
}

.deposit-result-meta {
  text-align: left;
  margin: 1rem 0 1.15rem;
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  display: grid;
  gap: 0.55rem;
}

.deposit-result-meta div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.deposit-result-meta span {
  color: hsl(var(--muted-foreground));
}

.deposit-result-meta strong {
  font-weight: 700;
  text-align: right;
}

.deposit-result-meta .mono {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.02em;
}

@keyframes depositGwIn {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes depositSpin {
  to { transform: rotate(360deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-scale-in {
  animation: scaleIn 0.4s ease forwards;
}

/* ===== Withdraw (live-style) ===== */
.withdraw-page .withdraw-main {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  min-height: 100vh;
}

.withdraw-page .subtitle {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.withdraw-balance,
.withdraw-card,
.withdraw-warn {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.withdraw-balance-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.withdraw-balance-label svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.withdraw-balance-label p {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--primary));
  letter-spacing: 0.04em;
}

.withdraw-balance-amount {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.withdraw-pending-note {
  position: relative;
  margin: 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.withdraw-warn p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

.withdraw-step-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.withdraw-step-title h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.withdraw-step-num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.withdraw-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.withdraw-method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.withdraw-method-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.withdraw-method-card.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.4);
}

.withdraw-method-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.withdraw-method-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.withdraw-method-card > span {
  font-size: 0.6875rem;
  font-weight: 600;
}

.withdraw-method-check {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
}

.withdraw-method-check svg {
  width: 0.75rem;
  height: 0.75rem;
}

.withdraw-field-hint {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.withdraw-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.withdraw-amount-chip {
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.withdraw-amount-chip:hover {
  background: rgba(255, 255, 255, 0.1);
}

.withdraw-amount-chip.active {
  background: hsl(var(--primary) / 0.15);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.withdraw-input-wrap {
  position: relative;
  margin-bottom: 0.35rem;
}

.withdraw-input-wrap svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  pointer-events: none;
}

.withdraw-input-wrap input {
  width: 100%;
  height: 3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  padding: 0 1rem 0 2.5rem;
}

.withdraw-input-wrap input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.5);
}

.withdraw-input-wrap + .field-error,
.withdraw-method-grid + .field-error {
  margin-bottom: 0.75rem;
}

.withdraw-submit-btn {
  width: 100%;
  height: 3rem;
  margin-top: 1rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1rem;
}

.withdraw-submit-btn svg {
  width: 1rem;
  height: 1rem;
}

.withdraw-history-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.withdraw-history-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.withdraw-history-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.withdraw-cancel-btn {
  border: none;
  background: transparent;
  color: #f87171;
  font-family: inherit;
  font-size: 0.6875rem;
  cursor: pointer;
  padding: 0;
}

.withdraw-cancel-btn:hover {
  opacity: 0.8;
}

/* Withdraw OTP verify (adspro-style) */
.withdraw-verify-summary,
.withdraw-verify-otp {
  position: relative;
  overflow: hidden;
  padding: 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.withdraw-verify-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.withdraw-verify-rows {
  display: grid;
  gap: 0.75rem;
}

.withdraw-verify-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.withdraw-verify-row span {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.withdraw-verify-row strong {
  font-size: 0.9375rem;
  text-align: right;
}

.withdraw-verify-method {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.withdraw-verify-method img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}

.withdraw-otp-head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.withdraw-otp-head svg {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.withdraw-otp-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.withdraw-otp-head p {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.withdraw-otp-demo {
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.35);
}

.withdraw-otp-demo strong {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.withdraw-otp-demo p {
  margin: 0;
  font-size: 0.875rem;
}

.withdraw-otp-demo span {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: hsl(var(--primary-glow));
}

.withdraw-otp-inputs input {
  width: 100%;
  margin: 0.4rem 0 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: hsl(var(--foreground));
  font-family: ui-monospace, monospace;
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  text-align: center;
}

.withdraw-otp-inputs input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.6);
}

.withdraw-otp-resend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.withdraw-otp-resend span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.withdraw-verify-note {
  margin: 0.5rem 0 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}

/* Account verification (adspro-style withdraw/verify) */
.acct-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
}

.acct-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.acct-step-item small {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

.acct-step {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: hsl(var(--muted-foreground));
}

.acct-step-item.current .acct-step {
  background: hsl(var(--primary));
  border-color: transparent;
  color: #fff;
}

.acct-step-item.done .acct-step {
  background: hsl(var(--success));
  border-color: transparent;
  color: #fff;
}

.acct-step-item.current small,
.acct-step-item.done small {
  color: hsl(var(--foreground));
}

.acct-step-line {
  width: 1.75rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 1rem;
}

.acct-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  margin-bottom: 0.85rem;
  background: hsl(var(--primary) / 0.14);
  border: 1px solid hsl(var(--primary) / 0.35);
}

.acct-alert svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: hsl(var(--primary));
  margin-top: 0.1rem;
}

.acct-alert p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.acct-reject-banner {
  margin-bottom: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: hsl(0 70% 45% / 0.15);
  border: 1px solid hsl(0 70% 55% / 0.35);
  font-size: 0.8125rem;
}

.acct-fee-btn {
  width: 100%;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.acct-fee-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.acct-fee-preview {
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 1rem;
}

.acct-video-card {
  padding: 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1.15rem;
}

.acct-video-watch-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: none;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.18);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.acct-video-watch-btn svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.acct-video-wrap {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.acct-video-wrap video,
.acct-youtube {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

.acct-guide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(160deg, hsl(222 24% 12%), hsl(222 22% 8%));
}

.acct-guide-slide {
  display: none;
}

.acct-guide-slide.active {
  display: block;
}

.acct-guide-slide strong {
  display: block;
  color: hsl(var(--primary));
  margin-bottom: 0.4rem;
}

.acct-guide-slide p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.acct-guide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.acct-guide-nav button {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  font-family: inherit;
  cursor: pointer;
}

.acct-why h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.acct-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.acct-why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: 0.9rem;
}

.acct-why-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.acct-why-list strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.acct-why-list p {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.acct-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: hsl(148 55% 28%);
  color: #fff;
}

.acct-wa-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.acct-wa-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.acct-whatsapp strong {
  display: block;
  font-size: 0.95rem;
}

.acct-whatsapp small {
  display: block;
  opacity: 0.85;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.acct-pay-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.acct-pay-summary > div {
  padding: 0.7rem;
  border-radius: 0.7rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.acct-pay-summary span {
  display: block;
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.2rem;
}

.acct-agent-box {
  margin: 0.85rem 0;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.acct-pay-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  display: grid;
  gap: 0.35rem;
}

.acct-success {
  padding: 1.35rem 1.1rem;
  border-radius: var(--radius);
  text-align: center;
}

.acct-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--success) / 0.2);
  color: hsl(var(--success));
}

.acct-success-icon svg {
  width: 2rem;
  height: 2rem;
}

.acct-success h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.acct-success > p {
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}

.acct-success h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  text-align: left;
}

.acct-submitted {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  text-align: left;
}

.acct-submitted li {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
}

.acct-sub-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
}

.acct-sub-icon svg,
.acct-sub-icon img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: cover;
}

.acct-submitted span:nth-child(2) {
  color: hsl(var(--muted-foreground));
}

.acct-pending-note {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.acct-modal[hidden] {
  display: none !important;
}

.acct-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.acct-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.acct-modal-card {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  padding: 1rem;
  border-radius: var(--radius);
}

.acct-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.acct-modal-head button {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.acct-modal-body {
  min-height: 10rem;
}

.acct-alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  margin-bottom: 0.85rem;
  background: hsl(var(--primary) / 0.14);
  border: 1px solid hsl(var(--primary) / 0.35);
}

.acct-alert svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: hsl(var(--primary));
  margin-top: 0.1rem;
}

.acct-alert p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.acct-fee-btn {
  width: 100%;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.acct-fee-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.acct-video-card {
  padding: 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1.15rem;
}

.acct-video-watch-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: none;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.18);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.acct-video-watch-btn svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
}

.acct-video-wrap {
  position: relative;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.acct-video-wrap video,
.acct-youtube {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  background: #000;
}

.acct-video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
  background: hsl(222 24% 9%);
}

.acct-video-fallback p {
  margin: 0;
  font-size: 0.8125rem;
}

.acct-why h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.acct-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.acct-why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: 0.9rem;
}

.acct-why-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.acct-why-list strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.acct-why-list p {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.acct-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.15rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: hsl(148 55% 28%);
  color: #fff;
}

.acct-wa-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.acct-wa-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.acct-whatsapp strong {
  display: block;
  font-size: 0.95rem;
}

.acct-whatsapp small {
  display: block;
  opacity: 0.85;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.acct-fee-amount {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.acct-agent-box {
  margin: 0.85rem 0;
  padding: 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.acct-agent-box p {
  margin: 0 0 0.55rem;
  font-size: 0.8125rem;
}

.acct-success {
  padding: 1.35rem 1.1rem;
  border-radius: var(--radius);
  text-align: center;
}

.acct-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--success) / 0.2);
  color: hsl(var(--success));
}

.acct-success-icon svg {
  width: 2rem;
  height: 2rem;
}

.acct-success h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.acct-success > p {
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}

.acct-success h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  text-align: left;
}

.acct-submitted {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  text-align: left;
}

.acct-submitted li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
}

.acct-submitted span {
  color: hsl(var(--muted-foreground));
}

/* ===== About page ===== */
.about-page .about-main {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.about-page .subtitle {
  margin: 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.about-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  box-shadow: 0 10px 40px -10px hsl(var(--primary) / 0.45);
}

.about-hero-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(40px);
  pointer-events: none;
}

.about-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: hsl(var(--primary-foreground));
}

.about-hero-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(8px);
}

.about-hero-logo img {
  width: 3rem;
  height: 3rem;
}

.about-hero-inner h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-hero-site {
  display: inline-block;
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 1;
  border-bottom: none;
}

.about-hero-site:hover {
  opacity: 0.92;
}

.about-hero-inner p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.92;
}

.about-card {
  border-radius: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.about-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.about-card-title svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.about-card-title h2 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.about-license-frame {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

.about-license-frame img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-caption {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  text-align: center;
}

.about-caption.sm {
  font-size: 0.625rem;
  margin-top: 0.75rem;
}

.about-nid-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-nid-block h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.about-nid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.about-nid-frame {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-nid-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-mv {
  border-radius: 1rem;
  padding: 1rem;
}

.about-icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.about-icon-box svg {
  width: 1rem;
  height: 1rem;
}

.about-mv h3 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
}

.about-mv p,
.about-feature-list p,
.about-steps p {
  margin: 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.about-feature-list,
.about-steps,
.about-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.about-feature-list li,
.about-steps li,
.about-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -6px hsl(var(--primary) / 0.55);
}

.about-feature-icon svg {
  width: 1rem;
  height: 1rem;
}

.about-feature-title {
  font-size: 0.875rem !important;
  font-weight: 600;
  color: hsl(var(--foreground)) !important;
  margin-bottom: 0.15rem !important;
}

.about-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.about-stat {
  border-radius: 1rem;
  padding: 0.75rem;
  text-align: center;
}

.about-stat-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.about-stat > p:last-child {
  margin: 0.15rem 0 0;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

.about-contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-contact-icon svg {
  width: 1rem;
  height: 1rem;
}

.about-contact-list a {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.about-social-btns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.about-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.about-social:hover {
  opacity: 0.9;
}

.about-social svg {
  width: 1rem;
  height: 1rem;
}

.about-social.wa {
  background: hsl(142 70% 45%);
  box-shadow: 0 4px 20px hsl(142 70% 45% / 0.3);
}

.about-social.tg {
  background: hsl(200 100% 50%);
  box-shadow: 0 4px 20px hsl(200 100% 50% / 0.3);
}

.about-social.fb {
  background: hsl(220 100% 55%);
  box-shadow: 0 4px 20px hsl(220 100% 55% / 0.3);
}

.about-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid hsl(var(--primary));
  margin-bottom: 1rem;
}

.about-note svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.about-note p {
  margin: 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

/* ===== Transactions page ===== */
.tx-page .tx-main {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
  min-height: 100vh;
}

.tx-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tx-back {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.tx-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tx-back svg {
  width: 1rem;
  height: 1rem;
}

.tx-header h1 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}

.tx-header p {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.tx-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.tx-summary-card {
  border-radius: 1rem;
  padding: 1rem;
  background: hsl(var(--card));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-summary-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

.tx-summary-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-summary-icon svg {
  width: 0.9rem;
  height: 0.9rem;
}

.tx-summary-icon.deposit {
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
}

.tx-summary-icon.withdraw {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.tx-summary-amount {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.tx-summary-count {
  margin: 0.2rem 0 0;
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
}

.tx-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.875rem;
  background: hsl(var(--card));
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1rem;
}

.tx-tab {
  height: 2.35rem;
  border: none;
  border-radius: 0.7rem;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tx-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: hsl(var(--foreground));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tx-panel {
  border-radius: 1.5rem;
  padding: 1rem;
  min-height: 12rem;
}

.tx-empty {
  text-align: center;
  padding: 2.5rem 1rem;
}

.tx-empty-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.tx-empty-sub {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.tx-empty-cta {
  display: inline-flex;
  margin-top: 1rem;
  height: 2.5rem;
  padding: 0 1.1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 8px 20px -6px hsl(var(--primary) / 0.55);
}

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

.tx-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-item-icon svg {
  width: 1rem;
  height: 1rem;
}

.tx-item-icon.deposit {
  background: hsl(var(--primary) / 0.1);
  border: 1px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

.tx-item-icon.withdraw {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

.tx-item-body {
  flex: 1;
  min-width: 0;
}

.tx-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tx-item-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-item-amount {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tx-item-amount.deposit {
  color: hsl(var(--primary));
}

.tx-item-amount.withdraw {
  color: #4ade80;
}

.tx-item-meta,
.tx-item-date {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-item-date {
  font-size: 0.625rem;
  margin-top: 0.4rem;
}

.tx-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid;
  font-size: 0.625rem;
  font-weight: 600;
  flex-shrink: 0;
}

.tx-st-pending {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.3);
}

.tx-st-processing {
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.3);
}

.tx-st-done {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.3);
}

.tx-st-bad {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.3);
}

.tx-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.tx-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.tx-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tx-action-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-action-icon svg {
  width: 1rem;
  height: 1rem;
}

.tx-action-icon.deposit {
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--primary));
}

.tx-action-icon.withdraw {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

/* Multi-package */
.multi-pkg-summary {
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.multi-pkg-title {
  margin: 0;
  font-size: 0.875rem;
}

.multi-pkg-sub {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.active-pkg-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.active-pkg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.active-pkg-row strong {
  display: block;
  font-size: 0.875rem;
}

.active-pkg-row p {
  margin: 0.2rem 0 0;
  font-size: 0.6875rem;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 480px) {
  .about-social-btns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* ===== Professional Admin Console ===== */
.admin-body {
  --admin-bg: 222 26% 10%;
  --admin-surface: 222 22% 14%;
  --admin-elevated: 222 20% 17%;
  --admin-ink: 210 20% 94%;
  --admin-muted: 215 12% 62%;
  --admin-line: 220 16% 24%;
  --admin-sidebar: 222 28% 9%;
  --admin-sidebar-ink: 210 20% 92%;
  --admin-sidebar-muted: 215 12% 58%;
  --admin-sidebar-grad-top: 222 30% 13%;
  --admin-sidebar-grad-bottom: 222 28% 10%;
  --admin-nav-btn: 210 16% 78%;
  --admin-nav-hover-bg: 0 0% 100% / 0.06;
  --admin-nav-active-bg: 350 78% 54% / 0.18;
  min-height: 100vh;
  font-family: 'Hind Siliguri', 'DM Sans', sans-serif;
  color: hsl(var(--admin-ink));
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, hsl(350 40% 18% / 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, hsl(210 30% 16% / 0.4) 0%, transparent 50%),
    hsl(var(--admin-bg));
  background-attachment: fixed;
}

.admin-body.admin-theme-day {
  --admin-bg: 210 28% 96%;
  --admin-surface: 0 0% 100%;
  --admin-elevated: 210 24% 97%;
  --admin-ink: 222 32% 14%;
  --admin-muted: 215 14% 38%;
  --admin-line: 214 20% 86%;
  --admin-sidebar: 0 0% 100%;
  --admin-sidebar-ink: 222 32% 14%;
  --admin-sidebar-muted: 215 12% 42%;
  --admin-sidebar-grad-top: 0 0% 100%;
  --admin-sidebar-grad-bottom: 210 28% 97%;
  --admin-nav-btn: 215 14% 36%;
  --admin-nav-hover-bg: 222 30% 14% / 0.05;
  --admin-nav-active-bg: 350 78% 54% / 0.12;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, hsl(350 70% 92% / 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, hsl(210 60% 92% / 0.5) 0%, transparent 50%),
    hsl(var(--admin-bg));
}

.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.admin-sidebar-backdrop {
  display: none;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: min(17.5rem, 86vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.1rem 0.85rem 1rem;
  background: linear-gradient(180deg, hsl(var(--admin-sidebar-grad-top)) 0%, hsl(var(--admin-sidebar-grad-bottom)) 100%);
  color: hsl(var(--admin-sidebar-ink));
  border-right: 1px solid hsl(var(--admin-line));
  box-shadow: 8px 0 32px hsl(222 40% 6% / 0.18);
  transform: translateX(-105%);
  transition: transform 0.22s ease, background 0.2s ease, color 0.2s ease;
  overflow: hidden;
}

.admin-body.admin-theme-day .admin-sidebar {
  box-shadow: 8px 0 24px hsl(220 20% 40% / 0.08);
}

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

body.admin-sidebar-open .admin-sidebar-backdrop {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: hsl(222 30% 8% / 0.45);
  backdrop-filter: blur(2px);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.55rem 1rem;
  border-bottom: 1px solid hsl(var(--admin-line));
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.admin-brand img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  background: hsl(0 0% 100% / 0.06);
  padding: 0.2rem;
}

.admin-body.admin-theme-day .admin-brand img {
  background: hsl(222 30% 14% / 0.06);
}

.admin-brand strong {
  display: block;
  font-family: 'DM Sans', 'Hind Siliguri', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: hsl(var(--admin-sidebar-ink));
  background: none;
  -webkit-text-fill-color: hsl(var(--admin-sidebar-ink));
}

.admin-brand span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--admin-sidebar-muted));
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding: 0 0.15rem 0.5rem;
  scrollbar-width: thin;
}

.admin-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-nav-label {
  margin: 0 0 0.3rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--admin-sidebar-muted));
}

.admin-nav-btn {
  border: none;
  background: transparent;
  color: hsl(var(--admin-nav-btn));
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  position: relative;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
}

.admin-solo-exit[hidden] {
  display: none !important;
}

.admin-solo-exit {
  flex-shrink: 0;
  white-space: nowrap;
}

html.admin-solo .admin-sidebar,
html.admin-solo .admin-sidebar-backdrop,
body.admin-solo .admin-sidebar,
body.admin-solo .admin-sidebar-backdrop,
body.admin-solo .admin-menu-btn {
  display: none !important;
}

html.admin-solo .admin-shell,
body.admin-solo .admin-shell {
  grid-template-columns: 1fr !important;
}

html.admin-solo .admin-solo-exit,
body.admin-solo .admin-solo-exit {
  display: inline-flex !important;
}

body.admin-solo .admin-panel:not(.active) {
  display: none !important;
}

.admin-nav-btn:hover {
  background: hsl(var(--admin-nav-hover-bg));
  color: hsl(var(--admin-sidebar-ink));
}

.admin-nav-btn.active {
  background: hsl(var(--admin-nav-active-bg));
  color: hsl(var(--admin-sidebar-ink));
  box-shadow: inset 3px 0 0 hsl(350 78% 54%);
}

.admin-sidebar-foot {
  flex-shrink: 0;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--admin-line));
  margin-top: 0.5rem;
}

.admin-logout {
  width: 100%;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: hsl(var(--admin-sidebar-ink));
  border-radius: 0.55rem;
  font-weight: 600;
}

.admin-logout:hover {
  background: hsl(0 70% 45% / 0.2);
  border-color: hsl(0 70% 50% / 0.45);
  color: hsl(var(--admin-sidebar-ink));
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  min-width: 0;
  min-height: 100vh;
  padding: 0 1rem 1.5rem;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 -1rem;
  padding: 0.85rem 1rem;
  background: hsl(var(--admin-surface) / 0.88);
  border-bottom: 1px solid hsl(var(--admin-line));
  backdrop-filter: blur(10px);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.admin-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.55rem;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.55rem;
  background: hsl(var(--admin-surface));
  cursor: pointer;
  flex-shrink: 0;
}

.admin-menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: hsl(var(--admin-ink));
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.admin-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  height: 2.35rem;
  padding: 0 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
  color: hsl(var(--admin-ink));
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.admin-date-chip-sep {
  opacity: 0.45;
  font-weight: 600;
}

.admin-date-chip-time {
  margin-left: 0.2rem;
  padding-left: 0.45rem;
  border-left: 1px solid hsl(var(--admin-line));
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
}

.admin-date-board {
  max-width: 360px;
  width: 100%;
  margin: 0 auto 0.9rem 0;
  padding: 0.7rem 0.75rem 0.75rem;
}

.admin-date-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.admin-date-board-head strong {
  font-size: 0.8rem;
}

.admin-date-board-weekday {
  font-size: 0.68rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.admin-date-pick-row {
  margin-bottom: 0.5rem;
}

.admin-date-pick-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.72;
  margin-bottom: 0.25rem;
}

.admin-date-pick-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.admin-date-input {
  flex: 1 1 8.5rem;
  min-width: 7.5rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: hsl(var(--foreground));
  padding: 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.02em;
}

.admin-date-input:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.55);
}

.admin-date-input.is-invalid {
  border-color: hsl(0 72% 52% / 0.75);
  box-shadow: 0 0 0 1px hsl(0 72% 52% / 0.25);
}

.admin-date-step-btn,
.admin-date-clear-btn {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: hsl(var(--foreground));
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
}

.admin-date-step-btn:hover,
.admin-date-clear-btn:hover {
  border-color: hsl(var(--primary) / 0.55);
  color: hsl(var(--primary));
}

.admin-date-clear-btn {
  font-size: 1.05rem;
  opacity: 0.85;
}

.admin-date-pick-hint {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  opacity: 0.65;
  line-height: 1.35;
}

.admin-date-today-btn {
  flex-shrink: 0;
  height: 2.1rem;
  padding: 0 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: hsl(var(--foreground));
  font-size: 0.72rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.admin-date-today-btn.is-active,
.admin-date-today-btn:hover {
  border-color: hsl(var(--primary) / 0.55);
  color: hsl(var(--primary));
}

.admin-date-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.admin-date-unit {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  border-radius: 0.55rem;
  padding: 0.4rem 0.35rem;
  text-align: center;
}

.admin-date-unit-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.12rem;
}

.admin-date-unit-value {
  display: block;
  font-size: 1.1rem;
  line-height: 1.1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.admin-date-unit-time .admin-date-unit-value {
  font-size: 0.95rem;
}

.admin-date-unit-sub {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0.75;
}

.admin-date-today-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.admin-date-today-stat {
  border: 1px dashed hsl(var(--admin-line));
  border-radius: 0.5rem;
  padding: 0.35rem 0.45rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  width: 100%;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.admin-date-today-stat.is-clickable {
  cursor: pointer;
}

.admin-date-today-stat.is-clickable:hover {
  border-color: hsl(var(--primary) / 0.55);
  color: hsl(var(--primary));
}

.admin-date-today-stat span {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.72;
}

.admin-date-today-stat strong {
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-date-page-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.admin-date-page-links-inline {
  grid-template-columns: 1fr;
}

.admin-date-page-link {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: inherit;
  border-radius: 0.5rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.admin-date-page-link:hover {
  border-color: hsl(var(--primary) / 0.55);
  color: hsl(var(--primary));
}

.admin-day-page-bar {
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  max-width: none;
  width: 100%;
}

.admin-date-pick-row-wide {
  max-width: 360px;
}

.admin-day-page-selected {
  margin: 0.45rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.admin-day-page-hint {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

.admin-day-page-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

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

.admin-day-page-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  border-radius: 0.85rem;
  padding: 1rem 1.05rem;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  min-height: 140px;
}

.admin-day-page-card:hover {
  border-color: hsl(var(--primary) / 0.6);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.25);
}

.admin-day-page-card-label {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.8;
}

.admin-day-page-card-value {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.admin-day-page-card small {
  font-size: 0.7rem;
  opacity: 0.7;
}

.admin-day-page-card-cta {
  margin-top: auto;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
  color: hsl(var(--primary));
}

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

.admin-day-user-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.65rem;
  background: hsl(var(--admin-elevated));
  margin-bottom: 0.5rem;
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

.admin-day-user-card strong {
  display: block;
  font-size: 0.88rem;
}

.admin-day-user-card small {
  display: block;
  margin-top: 0.15rem;
  opacity: 0.7;
  font-size: 0.72rem;
}

.admin-day-user-card > span {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.admin-day-report {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.45rem;
}

.admin-day-report-block h4 {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.admin-day-report-block h4 em {
  font-style: normal;
  color: hsl(var(--primary));
}

.admin-day-report-list {
  max-height: 140px;
  overflow: auto;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.5rem;
  background: hsl(var(--admin-elevated));
}

.admin-day-report-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.4rem 0.45rem;
  border-bottom: 1px solid hsl(var(--admin-line) / 0.7);
  font-size: 0.68rem;
}

.admin-day-report-row:last-child {
  border-bottom: none;
}

.admin-day-report-row strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
}

.admin-day-report-row small {
  display: block;
  margin-top: 0.1rem;
  opacity: 0.65;
  font-size: 0.6rem;
}

.admin-day-report-row > span {
  flex-shrink: 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.admin-day-report-empty {
  padding: 0.55rem 0.45rem;
  font-size: 0.66rem;
  opacity: 0.65;
  text-align: center;
}

@media (max-width: 640px) {
  .admin-date-chip {
    display: none;
  }
  .admin-date-board {
    max-width: 100%;
  }
}

.admin-theme-toggle.user-lang-toggle,
.admin-lang-toggle.user-lang-toggle {
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
  box-shadow: none;
  height: 2.35rem;
  padding: 0.2rem;
  border-radius: 0.55rem;
}

.admin-theme-toggle .user-lang-btn,
.admin-lang-toggle .user-lang-btn {
  color: hsl(var(--admin-ink));
  min-width: 1.85rem;
  height: 1.85rem;
  font-size: 0.68rem;
}

.admin-theme-toggle .user-lang-btn.is-active,
.admin-lang-toggle .user-lang-btn.is-active {
  background: hsl(350 78% 54%);
  color: #fff;
  box-shadow: none;
}

.admin-theme-toggle .user-lang-btn:hover:not(.is-active),
.admin-lang-toggle .user-lang-btn:hover:not(.is-active) {
  background: hsl(350 78% 54% / 0.12);
}

.admin-body .glass-card {
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
  box-shadow: 0 1px 2px hsl(222 30% 20% / 0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.admin-body.admin-theme-day .glass-card {
  box-shadow: 0 1px 3px hsl(220 20% 40% / 0.08);
}

.admin-body.admin-theme-day .btn-outline {
  color: hsl(var(--admin-ink));
  border-color: hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
}

.admin-body.admin-theme-day input,
.admin-body.admin-theme-day select,
.admin-body.admin-theme-day textarea {
  color: hsl(var(--admin-ink));
  background: hsl(var(--admin-elevated));
  border-color: hsl(var(--admin-line));
}

.admin-notif-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.admin-notif-wrap {
  position: relative;
  flex-shrink: 0;
}

.admin-notif-sound-btn.is-muted {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
}

.admin-notif-sound-btn .admin-notif-sound-off[hidden],
.admin-notif-sound-btn .admin-notif-sound-on[hidden] {
  display: none !important;
}

.admin-notif-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
  color: hsl(var(--admin-ink));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.admin-notif-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.admin-notif-btn:hover {
  border-color: hsl(350 78% 54% / 0.55);
  color: #fff;
  background: hsl(350 78% 54% / 0.14);
}

.admin-notif-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: hsl(350 78% 54%);
  color: #fff;
  border: 1.5px solid hsl(var(--admin-surface));
  font-size: 0.58rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.admin-notif-badge[hidden] {
  display: none !important;
}

.admin-notif-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(92vw, 22rem);
  max-height: min(70vh, 24rem);
  display: flex;
  flex-direction: column;
  border-radius: 0.85rem;
  background: hsl(222 22% 12%);
  border: 1px solid hsl(var(--admin-line));
  box-shadow: 0 18px 40px -12px hsl(0 0% 0% / 0.65);
  z-index: 80;
  overflow: hidden;
}

.admin-notif-panel[hidden] {
  display: none !important;
}

.admin-notif-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid hsl(var(--admin-line));
}

.admin-notif-panel-head strong {
  font-size: 0.9rem;
  color: #fff;
}

.admin-notif-read-all {
  border: none;
  background: transparent;
  color: #fdba74;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.admin-notif-list {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.admin-notif-empty {
  margin: 0;
  padding: 1.25rem 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: hsl(210 14% 62%);
}

.admin-notif-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  width: 100%;
  border: none;
  border-bottom: 1px solid hsl(220 16% 20%);
  background: transparent;
  color: inherit;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font: inherit;
}

.admin-notif-item:hover {
  background: hsl(0 0% 100% / 0.04);
}

.admin-notif-item.is-unread {
  background: hsl(350 78% 54% / 0.1);
}

.admin-notif-item strong {
  font-size: 0.82rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.admin-notif-type {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: hsl(350 78% 54% / 0.2);
  color: #fda4af;
}

.admin-notif-item span {
  font-size: 0.76rem;
  color: hsl(210 14% 68%);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-notif-item em {
  font-style: normal;
  font-size: 0.66rem;
  opacity: 0.65;
  color: hsl(210 14% 58%);
}

.admin-search-bar,
.admin-search-form {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.admin-body .admin-search-bar input,
.admin-body .admin-search-form input,
.admin-body .admin-filter-input,
.admin-body .admin-filters select,
.admin-body .admin-balance-edit input,
.admin-body .admin-agents-form input,
.admin-body .admin-banner-upload input[type="text"],
.admin-body .admin-banner-upload input[type="file"],
.admin-body .admin-broadcast-form input,
.admin-body .admin-broadcast-form textarea,
.admin-body .admin-broadcast-form select,
.admin-body .admin-pkg-days-row input,
.admin-body .admin-pkg-table input[type="number"],
.admin-body .admin-pkg-table input[type="text"] {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
  color: hsl(var(--admin-ink));
  border-radius: 0.55rem;
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.admin-body .admin-search-bar input:focus,
.admin-body .admin-search-form input:focus,
.admin-body .admin-filter-input:focus,
.admin-body .admin-filters select:focus,
.admin-body .admin-agents-form input:focus,
.admin-body .admin-broadcast-form input:focus,
.admin-body .admin-broadcast-form textarea:focus,
.admin-body .admin-broadcast-form select:focus,
.admin-body .admin-pkg-table input:focus {
  border-color: hsl(350 78% 54% / 0.55);
  box-shadow: 0 0 0 3px hsl(350 78% 54% / 0.12);
}

.admin-search-bar input,
.admin-search-form input,
.admin-filter-input {
  min-width: 10rem;
  flex: 1;
  padding: 0.55rem 0.75rem;
}

.admin-search-form {
  margin-top: 0.25rem;
  max-width: 28rem;
}

.admin-filter-input {
  max-width: 18rem;
}

.admin-ref-arrow {
  margin: 0.45rem 0;
  font-size: 0.75rem;
  color: hsl(var(--primary));
  font-weight: 700;
}

.admin-ref-score {
  text-align: right;
}

.admin-ref-score strong {
  display: block;
  font-size: 1.15rem;
  color: hsl(var(--admin-ink));
}

.admin-ref-score span {
  font-size: 0.6875rem;
  color: hsl(var(--admin-muted));
}

.admin-filters select {
  max-width: 16rem;
  padding: 0.55rem 0.75rem;
}

.admin-ref-item {
  border-left: 3px solid hsl(var(--primary) / 0.65);
}

.admin-top-ref-podium-wrap {
  margin: 0.75rem 0 1.25rem;
}

.admin-top-ref-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  align-items: end;
}

.admin-top-ref-podium-slot {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
}

.admin-top-ref-podium-slot.is-empty {
  visibility: hidden;
  min-height: 1px;
  padding: 0;
  border: none;
}

.admin-top-ref-podium-slot.is-gold {
  border-color: color-mix(in srgb, #f0b90b 55%, transparent);
  box-shadow: 0 10px 28px rgba(240, 185, 11, 0.18);
  transform: translateY(-0.35rem);
  background: color-mix(in srgb, #f0b90b 10%, hsl(var(--admin-surface)));
}

.admin-top-ref-podium-slot.is-silver {
  border-color: color-mix(in srgb, #94a3b8 50%, transparent);
  background: color-mix(in srgb, #94a3b8 8%, hsl(var(--admin-surface)));
}

.admin-top-ref-podium-slot.is-bronze {
  border-color: color-mix(in srgb, #d97706 50%, transparent);
  background: color-mix(in srgb, #d97706 8%, hsl(var(--admin-surface)));
}

.admin-top-ref-medal {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.admin-top-ref-name {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.admin-top-ref-phone,
.admin-top-ref-bonus {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
}

.admin-top-ref-count {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.9rem;
}

.admin-top-ref-count strong {
  color: hsl(var(--primary));
  font-size: 1.2rem;
}

.admin-top-ref-rank {
  margin-right: 0.25rem;
}

.admin-top-ref-row.is-top3 {
  border-left-color: #f0b90b;
}

@media (max-width: 720px) {
  .admin-top-ref-podium {
    grid-template-columns: 1fr;
  }
  .admin-top-ref-podium-slot.is-gold {
    transform: none;
    order: -1;
  }
}

.admin-user-detail {
  padding: 1.15rem;
  border-radius: 0.85rem;
  display: grid;
  gap: 1rem;
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
}

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

.admin-detail-label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  color: hsl(var(--primary));
  font-weight: 700;
}

.admin-user-detail h3 {
  margin: 0;
  font-size: 1.25rem;
  color: hsl(var(--admin-ink));
}

.admin-user-phone {
  margin: 0.25rem 0 0;
  font-family: ui-monospace, monospace;
  color: hsl(var(--admin-muted));
}

.admin-user-balance {
  text-align: right;
}

.admin-user-balance span {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
}

.admin-user-balance strong {
  font-size: 1.35rem;
  color: hsl(var(--admin-ink));
}

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

.admin-detail-grid > div {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
}

.admin-detail-grid span {
  display: block;
  font-size: 0.6875rem;
  color: hsl(var(--admin-muted));
  margin-bottom: 0.2rem;
}

.admin-detail-grid strong {
  font-size: 0.875rem;
  word-break: break-word;
  color: hsl(var(--admin-ink));
}

.admin-detail-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--admin-ink));
}

.admin-detail-block > p {
  margin: 0;
  font-size: 0.8125rem;
  color: hsl(var(--admin-muted));
}

.admin-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.admin-mini-list li {
  font-size: 0.8125rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
  color: hsl(var(--admin-ink));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-ref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.55rem;
}

.admin-ref-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.admin-user-msg-card .admin-user-msg-target {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.admin-user-msg-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.admin-user-msg-form {
  display: grid;
  gap: 0.7rem;
}

.admin-user-msg-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-user-msg-form input,
.admin-user-msg-form textarea,
.admin-user-msg-form select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
}

.admin-user-msg-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.admin-trust-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-trust-check input {
  width: auto;
}

.admin-trust-block {
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated) / 0.45);
  display: grid;
  gap: 0.65rem;
}

.admin-trust-block h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-trust-preview {
  max-width: 280px;
}

.admin-trust-preview .admin-banner-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.admin-trust-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.admin-trust-nid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.admin-trust-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-banner-card.is-hidden-card {
  opacity: 0.55;
}

.user-notif-item.is-warning,
.notif-page-item.is-warning {
  border-color: hsl(38 90% 48% / 0.55);
  background: hsl(38 90% 48% / 0.08);
}

.admin-tx-mini li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.admin-tx-mini .mono {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
  width: 100%;
}

.admin-tx-steps {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.admin-tx-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  position: relative;
  padding-bottom: 0.85rem;
}

.admin-tx-step:last-child {
  padding-bottom: 0;
}

.admin-tx-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 1.55rem;
  bottom: 0;
  width: 2px;
  background: hsl(var(--admin-line));
}

.admin-tx-step-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--admin-ink));
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
  position: relative;
  z-index: 1;
}

.admin-tx-step-body {
  min-width: 0;
  padding: 0.15rem 0 0;
}

.admin-tx-step-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.65rem;
}

.admin-tx-step-top strong {
  font-size: 0.9rem;
  color: hsl(var(--admin-ink));
}

.admin-tx-step-meta {
  margin: 0.25rem 0 0.45rem;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
  line-height: 1.45;
  word-break: break-word;
}

.admin-tx-step-meta .mono {
  font-family: ui-monospace, monospace;
  color: hsl(var(--admin-ink));
}

.admin-tx-more {
  margin-top: 0.85rem;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.65rem;
  background: hsl(var(--admin-elevated));
  padding: 0.55rem 0.75rem;
}

.admin-tx-more > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--primary));
  list-style: none;
}

.admin-tx-more > summary::-webkit-details-marker {
  display: none;
}

.admin-tx-more > summary::before {
  content: '▸ ';
}

.admin-tx-more[open] > summary::before {
  content: '▾ ';
}

.admin-tx-more .admin-hint {
  margin: 0.45rem 0 0;
}

.admin-tx-more .admin-tx-steps {
  margin-top: 0.45rem;
}

.admin-user-tx-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.admin-user-tx-head h4 {
  margin: 0;
}

.admin-user-tx-filter {
  min-width: 10rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  .admin-detail-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.admin-topbar h1 {
  font-family: 'DM Sans', 'Hind Siliguri', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: hsl(var(--admin-ink));
}

.admin-topbar p {
  margin: 0.15rem 0 0;
  color: hsl(var(--admin-muted));
  font-size: 0.8125rem;
}

.admin-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  max-width: 72rem;
}

.admin-panel.active {
  display: flex;
}

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

.admin-stat {
  padding: 1.05rem 1.1rem;
  border-radius: 0.85rem;
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
  box-shadow: 0 1px 2px hsl(220 30% 20% / 0.04);
}

.admin-stat-label,
.admin-stat span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: hsl(var(--admin-muted));
  margin-bottom: 0.4rem;
}

.admin-stat-value,
.admin-stat strong {
  font-family: 'DM Sans', 'Hind Siliguri', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: hsl(var(--admin-ink));
  line-height: 1.15;
}

.admin-two-col {
  display: grid;
  gap: 1rem;
}

.admin-card-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.admin-card-head-row h2 {
  margin: 0;
}

.admin-page-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(var(--admin-muted));
  white-space: nowrap;
}

.admin-overview-pagination {
  margin-top: 0.75rem;
  border-top-color: hsl(var(--admin-line));
}

.admin-overview-list {
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.admin-overview-list .admin-tx-item {
  padding: 0.7rem 0.8rem;
}

.admin-overview-list .admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-overview-list .admin-actions .btn {
  flex: 1 1 auto;
  min-width: 4.5rem;
  width: auto;
}

.admin-body .admin-card,
.admin-body .glass-card.admin-card {
  padding: 1.15rem 1.2rem;
  border-radius: 0.9rem;
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
  box-shadow: 0 1px 2px hsl(220 30% 20% / 0.04);
  backdrop-filter: none;
}

.admin-tx-modal[hidden] {
  display: none !important;
}

.admin-tx-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-tx-modal-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(222 30% 8% / 0.55);
  backdrop-filter: blur(3px);
}

.admin-tx-modal-card {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: 1rem 1.1rem 1.1rem;
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.9rem;
  box-shadow: 0 18px 50px hsl(222 40% 6% / 0.35);
}

.admin-tx-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
}

.admin-tx-detail-hero .admin-badge {
  display: inline-block;
  margin-bottom: 0.4rem;
}

.admin-tx-detail-amount {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.admin-tx-detail-hero small {
  display: block;
  opacity: 0.72;
  font-size: 0.72rem;
}

.admin-tx-detail-hero-user {
  text-align: right;
}

.admin-tx-detail-hero-user strong {
  display: block;
  font-size: 0.95rem;
}

.admin-tx-detail-hero-user small {
  margin-top: 0.15rem;
}

.admin-tx-detail-section {
  margin-bottom: 0.85rem;
}

.admin-tx-detail-section h4 {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: hsl(var(--primary));
}

.admin-tx-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.admin-tx-modal-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.admin-tx-modal-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.5rem;
  background: hsl(var(--admin-elevated));
  color: hsl(var(--admin-ink));
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.admin-tx-detail-grid {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.admin-tx-detail-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 38%) 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.55rem;
  background: hsl(var(--admin-elevated));
}

.admin-tx-detail-row dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
  white-space: normal;
  word-break: break-word;
}

.admin-tx-detail-row dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  word-break: break-word;
  text-align: right;
}

.admin-tx-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

@media (max-width: 520px) {
  .admin-tx-detail-row {
    grid-template-columns: 1fr;
  }
}

.admin-card h2 {
  font-family: 'DM Sans', 'Hind Siliguri', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: hsl(var(--admin-ink));
}

.admin-hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: hsl(var(--admin-muted));
  line-height: 1.45;
}

.admin-list {
  display: grid;
  gap: 0.65rem;
  -webkit-user-select: text;
  user-select: text;
}

.admin-tx-item {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
  -webkit-user-select: text;
  user-select: text;
}

.admin-tx-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.admin-tx-top strong {
  color: hsl(var(--admin-ink));
}

.admin-tx-top p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
}

.admin-tx-meta {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
  word-break: break-word;
}

.admin-user-password {
  color: hsl(152 55% 55%);
  font-weight: 700;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  letter-spacing: 0.02em;
}

.admin-btn-delete {
  background: hsl(0 55% 28% / 0.35);
  color: hsl(0 90% 78%);
  border: 1px solid hsl(0 55% 45% / 0.45);
  font-weight: 700;
}

.admin-btn-delete:hover {
  background: hsl(0 72% 45%);
  border-color: hsl(0 72% 45%);
  color: #fff;
}

.admin-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: hsl(220 16% 22%);
  color: hsl(var(--admin-muted));
  white-space: nowrap;
}

.admin-badge.pending {
  background: hsl(38 70% 28% / 0.45);
  color: hsl(38 95% 72%);
}

.admin-badge.approved {
  background: hsl(152 65% 32%);
  color: #fff;
  border: 1px solid hsl(152 70% 42%);
}

.admin-badge.rejected {
  background: hsl(0 72% 42%);
  color: #fff;
  border: 1px solid hsl(0 75% 52%);
}

.admin-actions,
.admin-balance-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.admin-balance-edit input,
.admin-agents-form input,
.admin-filters select {
  width: 100%;
  max-width: 14rem;
  padding: 0.55rem 0.75rem;
}

.admin-brand-logo-preview {
  margin-top: 0.65rem;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.85rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.admin-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-theme-card {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  border-radius: 0.7rem;
  padding: 0.45rem;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.admin-theme-card.is-active {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.28);
}

.admin-theme-swatch {
  height: 1.6rem;
  border-radius: 0.45rem;
  margin-bottom: 0.35rem;
}

.admin-theme-card small {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 720px) {
  .admin-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admin-deposit-bonus-tiers {
  display: grid;
  gap: 0.65rem;
}

.admin-support-welcome-form {
  max-width: 48rem;
}

.admin-support-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
}

.admin-support-welcome-grid label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-support-welcome-grid input {
  width: 100%;
}

.admin-support-welcome-full {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .admin-support-welcome-grid {
    grid-template-columns: 1fr;
  }
}

.admin-db-enable {
  margin: 0.25rem 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.admin-db-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.admin-db-subhead {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: hsl(var(--foreground));
}

.admin-db-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.admin-db-preview {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid hsl(var(--border));
  background: linear-gradient(160deg, hsl(222 30% 8%), hsl(225 28% 6%));
}

.admin-db-preview-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid hsl(220 16% 100% / 0.1);
  background: hsl(222 24% 100% / 0.04);
  font-weight: 700;
}

.admin-db-amt {
  color: hsl(var(--foreground));
}

.admin-db-arrow {
  color: hsl(var(--accent-gold));
  font-weight: 900;
}

.admin-db-bonus {
  color: hsl(var(--accent-gold));
}

.admin-db-bonus small {
  color: hsl(var(--foreground));
  font-weight: 600;
  margin-left: 0.15rem;
}

@media (max-width: 800px) {
  .admin-db-layout {
    grid-template-columns: 1fr;
  }
}

.deposit-bonus-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.65rem;
  align-items: end;
}

.binance-rate-row {
  grid-template-columns: 1fr 0.85fr 1fr auto;
}

.binance-rate-row label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

#binance-rate-form {
  max-width: 36rem;
}

.deposit-bonus-row .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--admin-ink));
}

.deposit-bonus-row input {
  width: 100%;
  max-width: none;
}

@media (max-width: 640px) {
  .deposit-bonus-row,
  .binance-rate-row {
    grid-template-columns: 1fr;
  }
}

.admin-agents-form {
  display: grid;
  gap: 0.85rem;
  max-width: 22rem;
}

.admin-agents-form-wide {
  max-width: 42rem;
}

.admin-methods-list {
  display: grid;
  gap: 0.85rem;
}

.admin-method-card {
  border: 1px solid hsl(var(--border));
  border-radius: 0.85rem;
  padding: 0.85rem;
  background: hsl(222 24% 100% / 0.03);
  display: grid;
  gap: 0.65rem;
}

.admin-method-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-method-id {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: hsl(var(--muted-foreground));
}

.admin-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.65rem;
}

.admin-method-grid label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-method-grid input,
.admin-method-grid select {
  width: 100%;
}

.admin-method-logo-field {
  grid-column: 1 / -1;
}

.admin-method-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
}

.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--admin-muted, 220 10% 40%));
  cursor: pointer;
  user-select: none;
}

.admin-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: #e67e22;
  cursor: pointer;
}

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

.deposit-method-logo-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  flex-shrink: 0;
}

.deposit-method-logo-area .deposit-method-logo-fallback {
  width: 100%;
  height: 100%;
}

/* Author display must not override the HTML hidden attribute */
.deposit-method-logo-fallback[hidden] {
  display: none !important;
}

.deposit-method-logo-box .deposit-method-logo-fallback,
.deposit-method-logo-box img.deposit-method-logo-fallback {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
}

.admin-agents-form .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--admin-ink));
}

.admin-agents-form input {
  max-width: none;
}

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

.admin-banner-upload {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
}

.admin-banner-upload .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--admin-ink));
}

.admin-banner-upload input[type="text"],
.admin-banner-upload input[type="file"] {
  width: 100%;
  max-width: none;
  padding: 0.55rem 0.75rem;
}

.admin-popup-every-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
  font-size: 0.9rem;
  line-height: 1.4;
  color: hsl(var(--admin-ink));
  cursor: pointer;
}

.admin-popup-every-label input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: hsl(var(--primary));
}

.admin-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.85rem;
}

/* Global task links pool box */
.task-links-pool-box {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.task-links-pool-box h3 {
  font-size: 1rem;
}

.task-links-pool-box textarea {
  width: 100%;
  min-height: 6rem;
  font-size: 0.8rem;
  line-height: 1.4;
  word-break: break-all;
}

/* Task ads: keep previous image-card layout + multi-link fields */
.admin-task-links-grid {
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.admin-task-link-card .admin-banner-thumb img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.admin-task-link-card .task-ad-link-input {
  width: 100%;
  min-height: 5.5rem;
  font-size: 0.78rem;
  line-height: 1.35;
  word-break: break-all;
}

.admin-task-link-card .admin-task-img-replace input[type="file"] {
  font-size: 0.75rem;
  max-width: 100%;
}

.admin-popups-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.admin-popups-grid .admin-banner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
}

.admin-popups-grid .admin-banner-card img {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 12rem;
  object-fit: cover;
}

.admin-popups-grid .admin-banner-card-meta {
  min-width: 8.5rem;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  border-left: 1px solid hsl(var(--admin-line));
}

.admin-popups-count {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--admin-ink));
}

@media (max-width: 640px) {
  .admin-popups-grid .admin-banner-card {
    grid-template-columns: 1fr;
  }
  .admin-popups-grid .admin-banner-card-meta {
    border-left: none;
    border-top: 1px solid hsl(var(--admin-line));
  }
}

.admin-banner-card {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
  box-shadow: 0 1px 2px hsl(220 30% 20% / 0.04);
}

.admin-banner-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.admin-banner-thumb:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: -2px;
}

.admin-banner-card img,
.admin-banner-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: hsl(var(--admin-elevated));
  pointer-events: none;
}

.admin-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-image-lightbox[hidden] {
  display: none !important;
}

.admin-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(222 30% 4% / 0.82);
  backdrop-filter: blur(4px);
}

.admin-image-lightbox-sheet {
  position: relative;
  z-index: 1;
  width: min(96vw, 56rem);
  max-height: 92vh;
  padding: 0.5rem;
  border-radius: 0.85rem;
  background: hsl(var(--admin-surface, 222 22% 14%));
  border: 1px solid hsl(var(--admin-line, 220 16% 24%));
  box-shadow: 0 24px 60px -12px hsl(0 0% 0% / 0.55);
}

.admin-image-lightbox-sheet img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 1rem);
  height: auto;
  object-fit: cover;
  border-radius: 0.55rem;
  background: hsl(222 28% 8%);
}

.admin-image-lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: hsl(0 0% 0% / 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

body.admin-lightbox-open {
  overflow: hidden;
}

.admin-ban-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: hsl(0 72% 46%);
  vertical-align: middle;
}

.admin-tx-item.is-banned-user {
  border-color: hsl(0 70% 45% / 0.45);
  background: hsl(0 55% 20% / 0.12);
}

.admin-btn-ban {
  background: hsl(0 72% 42%);
  color: #fff;
  border: none;
}

.admin-btn-ban:hover:not(:disabled) {
  filter: brightness(1.08);
}

.admin-btn-unban {
  border-color: hsl(145 55% 38%);
  color: hsl(145 55% 42%);
}

.admin-btn-unban:hover:not(:disabled) {
  background: hsla(145, 55%, 38%, 0.12);
}

.admin-btn-ban:disabled,
.admin-btn-unban:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: none;
}

.admin-active-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: hsl(145 55% 36%);
}

.admin-slide-edit-card .admin-banner-card-meta .form-group label {
  font-size: 0.7rem;
  opacity: 0.85;
}

.admin-slide-edit-card .slide-edit-title,
.admin-slide-edit-card .slide-edit-subtitle {
  width: 100%;
  font-size: 0.85rem;
}

.admin-banner-card-meta {
  padding: 0.55rem 0.65rem 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.admin-banner-card-meta p {
  margin: 0;
  font-size: 0.75rem;
  color: hsl(var(--admin-muted));
  line-height: 1.35;
  word-break: break-word;
}

.admin-broadcast-form {
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.admin-broadcast-form .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--admin-ink));
}

.admin-broadcast-form input,
.admin-broadcast-form textarea,
.admin-broadcast-form select {
  width: 100%;
  max-width: none;
  padding: 0.55rem 0.75rem;
}

.admin-broadcast-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.admin-pkg-days-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-pkg-days-row #pkg-add-btn {
  margin-left: auto;
}

.admin-pkg-table th:last-child,
.admin-pkg-table td:last-child {
  width: 5.5rem;
  text-align: center;
  white-space: nowrap;
}

.admin-pkg-days-row label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--admin-ink));
}

.admin-pkg-days-row input {
  width: 6rem;
  max-width: none;
  padding: 0.45rem 0.65rem;
}

.admin-pkg-table-wrap {
  overflow-x: auto;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
}

.admin-pkg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
  font-size: 0.8125rem;
}

.admin-pkg-table th,
.admin-pkg-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid hsl(var(--admin-line));
  text-align: left;
  vertical-align: middle;
  color: hsl(var(--admin-ink));
}

.admin-pkg-table th {
  font-size: 0.72rem;
  font-weight: 700;
  color: hsl(var(--admin-muted));
  background: hsl(var(--admin-elevated));
  white-space: nowrap;
}

.admin-pkg-table input[type="number"],
.admin-pkg-table input[type="text"] {
  width: 100%;
  min-width: 4.5rem;
  max-width: 9rem;
  padding: 0.4rem 0.5rem;
}

.admin-pkg-table input[data-field="name"] {
  min-width: 7rem;
  max-width: 11rem;
}

.admin-pkg-total {
  font-weight: 700;
  color: hsl(152 55% 58%);
  white-space: nowrap;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.admin-empty {
  margin: 0;
  padding: 1.25rem 0;
  text-align: center;
  color: hsl(var(--admin-muted));
  font-size: 0.875rem;
}

.admin-body .btn-outline {
  border-color: hsl(var(--admin-line));
  color: hsl(var(--admin-ink));
  background: hsl(var(--admin-elevated));
}

.admin-body .btn-outline:hover {
  border-color: hsl(350 50% 50%);
  background: hsl(350 50% 22% / 0.45);
}

.admin-users-pagination {
  margin-top: 0.75rem;
}

@media (min-width: 960px) {
  .admin-shell {
    grid-template-columns: 16.5rem 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    transform: none;
    width: 16.5rem;
    height: 100vh;
    box-shadow: none;
  }

  .admin-sidebar-backdrop,
  body.admin-sidebar-open .admin-sidebar-backdrop {
    display: none !important;
  }

  .admin-menu-btn {
    display: none;
  }

  .admin-main {
    padding: 0 1.5rem 2rem;
  }

  .admin-topbar {
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
  }

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

  .admin-stats .admin-stat:nth-child(n+5) {
    grid-column: span 1;
  }

  .admin-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* AdsPro-style 3-step account verification wizard */
.acct-wizard {
  padding-bottom: 5.5rem;
}

.acct-steps-simple {
  margin-bottom: 1.25rem;
}

.acct-step-line.filled {
  background: hsl(var(--success));
}

.acct-wizard-card {
  padding: 1rem 1.05rem 1.15rem;
  border-radius: 1rem;
}

.acct-wizard-hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.acct-field-label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.acct-select-wrap {
  margin-bottom: 0.9rem;
}

.acct-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 2.25rem 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9rem;
}

.acct-select:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.acct-fee-banner {
  margin: 0 0 0.65rem;
  padding: 0.95rem 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: #fff;
  text-align: center;
}

.acct-fee-banner > p {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  opacity: 0.95;
}

.acct-fee-banner > strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.acct-fee-note {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.15rem 0.1rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
}

.acct-fee-check {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
}

.acct-reject-banner {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  background: hsl(0 70% 45% / 0.15);
  border: 1px solid hsl(0 70% 50% / 0.35);
  color: hsl(0 90% 72%);
  font-size: 0.78rem;
}

.acct-step .acct-step svg,
.acct-step svg {
  display: block;
}

.acct-phone-wrap {
  position: relative;
}

.acct-phone-wrap > svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.acct-phone-wrap input {
  padding-left: 2.35rem !important;
}

.acct-next-btn {
  width: 100%;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.acct-summary-box {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: #fff;
}

.acct-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
}

.acct-summary-row span {
  opacity: 0.9;
}

.acct-summary-row strong {
  font-weight: 700;
}

.acct-summary-fee {
  margin-top: 0.25rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.acct-gateway-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.acct-gateway-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.4rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.acct-gateway-btn img {
  width: 100%;
  max-width: 5.5rem;
  height: 3.35rem;
  object-fit: contain;
  object-position: center;
  border-radius: 0.55rem;
  background: #000;
  padding: 0.2rem 0.3rem;
  display: block;
  box-sizing: border-box;
}

.acct-gateway-btn.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.15);
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.35);
}

.acct-gateway-check {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.55rem;
  display: grid;
  place-items: center;
}

.acct-pay-box {
  padding: 0.85rem;
  border-radius: 0.75rem;
  border: 1px dashed hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.12);
}

.acct-pay-title {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.acct-pay-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.acct-pay-number-row strong {
  font-size: 1.05rem;
  color: hsl(var(--primary));
  letter-spacing: 0.02em;
}

.acct-copy-btn {
  border: none;
  border-radius: 0.45rem;
  padding: 0.35rem 0.7rem;
  background: hsl(var(--primary));
  color: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.acct-pay-foot {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
}

.acct-home-btn {
  width: 100%;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.acct-verify-topbar h1 {
  margin: 0;
}

.acct-verify-topbar .subtitle {
  display: none;
}

/* Pending verify ? waiting (not success) */
.acct-waiting {
  text-align: center;
  padding: 1.5rem 1.15rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.acct-waiting-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(38 90% 50% / 0.18);
  border: 1px solid hsl(38 90% 55% / 0.35);
  color: hsl(38 95% 58%);
  animation: acct-wait-pulse 1.6s ease-in-out infinite;
}

.acct-waiting-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.acct-waiting h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.acct-waiting > p {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

@keyframes acct-wait-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

/* Withdraw payment form (dropdown + summary) */
.wd-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  margin-bottom: 0.85rem;
}

.wd-notice-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(210 90% 55% / 0.18);
  color: hsl(210 90% 62%);
}

.wd-notice-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.wd-notice strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.wd-notice p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
}

.wd-balance-card {
  margin-bottom: 0.85rem;
  padding: 1.15rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  color: #fff;
  box-shadow: 0 10px 28px -12px hsl(var(--primary) / 0.55);
}

.wd-balance-label {
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

.wd-balance-value {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.wd-balance-pending {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  opacity: 0.9;
}

.wd-form-card {
  padding: 1.05rem 1.1rem 1.2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.wd-label {
  display: block;
  margin: 0.85rem 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.wd-label:first-child {
  margin-top: 0;
}

.wd-select-wrap {
  margin-bottom: 0.25rem;
}

.wd-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 2.25rem 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aaa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9rem;
}

.wd-select:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.wd-input-wrap {
  position: relative;
  margin-bottom: 0.25rem;
}

.wd-input-wrap > svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--primary));
  pointer-events: none;
}

.wd-input-wrap input {
  width: 100%;
  padding: 0.75rem 0.85rem 0.75rem 2.35rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9rem;
}

.wd-input-wrap input:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.wd-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: hsl(0 75% 62%);
}

.wd-summary {
  margin: 1rem 0;
  padding: 0.85rem 0.95rem;
  border-radius: 0.75rem;
  border-left: 3px solid hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
}

.wd-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.28rem 0;
  font-size: 0.78rem;
}

.wd-summary-row span {
  color: hsl(var(--muted-foreground));
}

.wd-summary-row strong {
  font-weight: 700;
}

/* Withdraw verify gate + video player extras */
.acct-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border: none;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.acct-video-play svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.15rem;
}

.acct-video-fallback {
  position: absolute;
  inset: 0;
}

.wd-verify-gate {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.12);
}

.wd-verify-gate-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

.wd-verify-gate-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.wd-verify-gate strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.wd-verify-gate p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: hsl(var(--muted-foreground));
}

.acct-fee-btn {
  width: 100%;
  margin: 0.85rem 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.acct-why {
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.acct-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
}

/* Withdraw page large video frame */
.wd-hero-video {
  padding: 0.65rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.wd-hero-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #0a0a0a;
}

.wd-hero-video-frame video,
.wd-hero-youtube {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  background: #000;
}

.wd-hero-video-frame video:not(.is-ready) {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.wd-hero-video-frame video.is-ready {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.wd-hero-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(160deg, #1a0f14, #120c10 55%, #0a0a0a);
  color: #fff;
  cursor: pointer;
  text-align: center;
  padding: 1rem;
}

.wd-hero-video-placeholder[hidden] {
  display: none;
}

.wd-hero-video-play {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--primary));
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.35rem;
}

.wd-hero-video-play svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.15rem;
}

.wd-hero-video-placeholder p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.wd-hero-video-placeholder small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .wd-hero-video-frame {
    min-height: 320px;
  }
}

.acct-verify-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.acct-video-wrap .acct-video-play[hidden] {
  display: none;
}

/* Animated verification guide (when mp4 missing) */
.acct-guide-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.85rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, hsl(var(--primary) / 0.35), transparent 55%),
    linear-gradient(160deg, #1a0f14 0%, #2a1218 55%, #12080c 100%);
  display: flex;
  flex-direction: column;
}

.acct-guide-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.1rem 0.75rem;
  text-align: center;
  animation: acctGuideFade 0.45s ease;
}

.acct-guide-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.acct-guide-text {
  margin: 0;
  max-width: 18rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
}

.acct-guide-dots {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
}

.acct-guide-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.acct-guide-dot.is-active {
  width: 1.1rem;
  background: hsl(var(--primary));
}

.acct-guide-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem 0.7rem;
  background: rgba(0, 0, 0, 0.35);
}

.acct-guide-play {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.acct-guide-progress {
  flex: 1;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.acct-guide-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: hsl(var(--primary));
  border-radius: inherit;
}

.acct-guide-count {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

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

/* Floating Help + WhatsApp stack (site-wide, right side) */
.banned-user-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20050;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #7a1f1f 0%, #b33a3a 100%);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

body.is-banned-user {
  padding-top: 2.75rem;
}

body.is-banned-user .floating-support-stack {
  bottom: 1.5rem;
}

body.banned-page {
  padding-top: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(180, 60, 60, 0.28), transparent 55%),
    linear-gradient(165deg, #12151c 0%, #1a1f2a 45%, #0f1218 100%);
}

.banned-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 5.5rem;
}

.banned-card {
  width: min(26rem, 100%);
  text-align: center;
  padding: 2rem 1.35rem 1.6rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  animation: banned-card-in 0.45s ease both;
}

@keyframes banned-card-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.banned-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffb4b4;
  background: rgba(180, 50, 50, 0.22);
  border: 1px solid rgba(255, 140, 140, 0.35);
}

.banned-icon svg {
  width: 2rem;
  height: 2rem;
}

.banned-brand {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f0a060;
}

.banned-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 4vw, 1.55rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
}

.banned-sub {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.5;
}

.banned-user-meta {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.banned-actions {
  display: grid;
  gap: 0.65rem;
}

.banned-actions .btn {
  width: 100%;
}

.banned-hint {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

body.banned-page .floating-support-stack {
  bottom: 1.35rem;
}

.floating-support-stack {
  position: fixed;
  right: 0.85rem;
  bottom: 5.75rem;
  z-index: 20001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  pointer-events: none;
}

.floating-support-stack > a,
.floating-support-stack > button {
  pointer-events: auto;
}

body:not(.app-page) .floating-support-stack {
  bottom: 1.25rem;
}

.floating-help,
.floating-whatsapp {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

/* Help contact modal (medium overlay on same page) */
.help-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.help-contact-modal[hidden] {
  display: none !important;
}

.help-contact-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(222 40% 6% / 0.72);
  backdrop-filter: blur(5px);
}

.help-contact-sheet {
  position: relative;
  z-index: 1;
  width: min(92vw, 26rem);
  max-height: min(88vh, 36rem);
  overflow: auto;
  border-radius: 1.15rem;
  padding: 1.25rem 1.15rem 1.35rem;
  background: hsl(160 25% 9%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -16px hsl(0 0% 0% / 0.65);
  animation: helpModalIn 0.28s ease;
}

@keyframes helpModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.help-contact-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.help-contact-sheet h2 {
  margin: 0 1.5rem 0.35rem 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.help-contact-sub {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}

.help-contact-form .form-group {
  margin-bottom: 0.85rem;
}

.help-contact-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: hsl(0 0% 90%);
}

.help-contact-form input,
.help-contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(160 20% 7%);
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  resize: vertical;
}

.help-contact-form input:focus,
.help-contact-form textarea:focus {
  border-color: hsl(var(--primary) / 0.55);
}

.help-contact-form input.is-account-filled,
.help-contact-form input.is-account-filled:read-only {
  opacity: 0.92;
  cursor: default;
  color: hsl(0 0% 92%);
}

.help-contact-submit {
  width: 100%;
  margin-top: 0.25rem;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.85rem;
  font-weight: 700;
}

.help-contact-submit svg {
  width: 1.1rem;
  height: 1.1rem;
}

body.help-modal-open {
  overflow: hidden;
}

/* Help/chat open → hide floating help so Send button is clickable */
body.help-modal-open .floating-support-stack,
body.help-modal-open #floating-help,
body.help-modal-open .floating-help {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.floating-help[hidden],
.floating-whatsapp[hidden],
.floating-telegram[hidden],
.floating-facebook[hidden],
.floating-custom[hidden] {
  display: none !important;
}

.floating-help {
  position: relative;
  background: linear-gradient(135deg, #e11d48, #f97316);
  color: #fff;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5);
}

.floating-help-badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #fff;
  color: #e11d48;
  font-size: 0.62rem;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.floating-help-label {
  position: absolute;
  right: calc(100% + 0.4rem);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: #1e293b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.floating-help:hover .floating-help-label,
.floating-help:focus-visible .floating-help-label,
.floating-help.is-tip-open .floating-help-label,
.floating-whatsapp:hover .floating-help-label,
.floating-whatsapp:focus-visible .floating-help-label,
.floating-whatsapp.is-tip-open .floating-help-label,
.floating-telegram:hover .floating-help-label,
.floating-telegram:focus-visible .floating-help-label,
.floating-telegram.is-tip-open .floating-help-label,
.floating-facebook:hover .floating-help-label,
.floating-facebook:focus-visible .floating-help-label,
.floating-facebook.is-tip-open .floating-help-label,
.floating-custom:hover .floating-help-label,
.floating-custom:focus-visible .floating-help-label,
.floating-custom.is-tip-open .floating-help-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.floating-telegram,
.floating-facebook,
.floating-custom {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-telegram {
  background: #229ED9;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
}

.floating-facebook {
  background: #1877F2;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.45);
}

.floating-custom {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.45);
}

.floating-telegram svg,
.floating-facebook svg,
.floating-custom svg {
  width: 1.35rem;
  height: 1.35rem;
}

.floating-telegram:hover,
.floating-facebook:hover,
.floating-custom:hover,
.floating-telegram:focus-visible,
.floating-facebook:focus-visible,
.floating-custom:focus-visible {
  transform: scale(1.06);
}

/* Admin: floating support button tiers */
.admin-support-btns-box {
  margin: 1.25rem 0 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--admin-line));
  border-radius: 0.75rem;
  background: hsl(var(--admin-elevated));
}

.admin-support-btns-box h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.admin-support-btns-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0.75rem 0;
}

.admin-support-btn-row {
  display: grid;
  grid-template-columns: auto minmax(7rem, 1fr) minmax(5rem, 0.8fr) minmax(7rem, 1.2fr) 4rem auto;
  gap: 0.45rem;
  align-items: center;
}

.admin-support-btn-en {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-support-btn-row input,
.admin-support-btn-row select {
  width: 100%;
  min-height: 2.2rem;
  padding: 0.35rem 0.45rem;
  border-radius: 0.45rem;
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
}

.admin-support-btns-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .admin-support-btn-row {
    grid-template-columns: 1fr 1fr;
  }
  .admin-support-btn-row [data-sb-remove] {
    grid-column: 1 / -1;
  }
}

.floating-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.floating-help svg,
.floating-whatsapp svg {
  width: 1.4rem;
  height: 1.4rem;
}

.floating-help:hover,
.floating-help:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.floating-help:hover,
.floating-help:focus-visible {
  box-shadow: 0 8px 22px hsl(var(--primary) / 0.55);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
}

@media (min-width: 768px) {
  .floating-support-stack {
    right: 1.25rem;
  }

  .floating-help,
  .floating-whatsapp {
    width: 3.15rem;
    height: 3.15rem;
  }

  .floating-help svg,
  .floating-whatsapp svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* ===== Task ad modal (random image 5s → progress) ===== */
body.task-ad-open {
  overflow: hidden;
}

.task-ad-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.task-ad-modal[hidden] {
  display: none !important;
}

.task-ad-panel {
  width: min(100%, 28rem);
  background: #111;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.task-ad-media {
  position: relative;
  width: 100%;
  min-height: 14rem;
  max-height: min(78vh, 40rem);
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.task-ad-media img {
  width: 100%;
  height: auto;
  max-height: min(78vh, 40rem);
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0a0a0a;
}

.task-ad-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  text-decoration: none;
  color: inherit;
}

.task-ad-link[hidden],
.task-ad-media > img[hidden] {
  display: none !important;
}

.task-ad-open-btn {
  display: inline-flex;
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}

.task-ad-open-btn[hidden] {
  display: none !important;
}

.task-ad-timer {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.task-ad-footer {
  padding: 1rem 1.1rem 1.15rem;
}

.task-ad-status {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f5f5f5;
}

.task-ad-progress {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.task-ad-progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6a00, #ff2d55);
  transition: width 0.05s linear;
}

.task-ad-pct {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

/* Help chat thread (user modal) */
/* Sequential chat bubbles (greeting → welcome → language) */
.help-seq-item,
.help-seq-time {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.help-seq-item.is-visible,
.help-seq-time.is-visible {
  opacity: 1;
  transform: none;
}

.help-seq-item.is-leaving {
  opacity: 0 !important;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.help-seq-time {
  align-self: flex-start;
  margin: -0.15rem 0 0.35rem 0.35rem;
  font-size: 0.68rem;
  color: hsl(var(--muted-foreground));
}

.help-chat-lang-card {
  align-self: flex-start;
  width: min(100%, 20rem);
  margin: 0.1rem 0 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: hsl(160 18% 12%);
}

.help-lang-box-en {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.help-lang-box-bn {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.45;
}

.help-lang-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.help-lang-btn {
  min-height: 2.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: hsl(160 18% 10%);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.help-lang-btn:hover:not(:disabled) {
  border-color: rgba(249, 115, 22, 0.65);
  background: hsl(160 18% 12%);
}

.help-lang-btn.active,
.help-lang-btn:focus-visible {
  outline: none;
  border-color: #f97316;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.22), rgba(249, 115, 22, 0.22));
}

.help-lang-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.help-contact-modal.is-form-mode .help-chat-thread,
.help-contact-modal.is-form-mode .help-chat-user-meta,
.help-contact-modal.is-form-mode .help-chat-intro-panel {
  display: none !important;
}

.help-contact-modal.is-chat-mode .help-chat-thread {
  gap: 0.5rem;
}

.help-chat-closed-banner {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #ffe4e6;
  background: rgba(225, 29, 72, 0.18);
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.help-chat-closed-banner[hidden] {
  display: none !important;
}

.help-chat-system {
  align-self: center;
  max-width: 95%;
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.14);
}

.help-chat-system p {
  margin: 0;
  font-size: 0.72rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.35;
}

.help-chat-system span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.62rem;
  opacity: 0.65;
}

.admin-support-bubble.system {
  align-self: center;
  max-width: 92%;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: hsl(var(--muted-foreground));
  border-radius: 999px;
}

.help-chat-user-meta {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}

.help-chat-user-meta[hidden] {
  display: none !important;
}

.help-contact-modal.is-chat-mode .help-contact-sheet {
  max-height: min(94vh, 46rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.help-contact-modal.is-chat-mode #help-identity-fields,
.help-contact-modal.is-chat-mode .help-message-label {
  display: none !important;
}

.help-contact-modal.is-chat-mode .help-chat-thread {
  /* Intro + language card fits without scrollbar on first open */
  max-height: min(68vh, 28rem);
  min-height: min(56vh, 24rem);
  flex: 1 1 auto;
  margin-bottom: 0.65rem;
}

.help-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  max-width: 100%;
}

.help-image-preview[hidden] {
  display: none !important;
}

.help-image-preview-item {
  position: relative;
  flex: 0 0 auto;
}

.help-image-preview img,
.help-image-preview-item img {
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 0.65rem;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.help-image-clear {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 1.45rem;
  height: 1.45rem;
  border: none;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.help-composer-row {
  display: contents;
}

.help-composer-field {
  position: relative;
}

.help-emoji-btn {
  display: none;
}

.help-attach-btn {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px hsl(var(--primary) / 0.4);
}

.help-attach-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.help-attach-btn:hover {
  filter: brightness(1.06);
  color: #fff;
}

.help-contact-submit .help-send-label {
  margin-left: 0.15rem;
}

.help-chat-img-link,
.help-chat-img-btn {
  display: block;
  margin: 0 0 0.35rem;
  border-radius: 0.55rem;
  overflow: hidden;
  line-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  max-width: 100%;
}

.help-chat-img {
  display: block;
  max-width: min(100%, 14rem);
  max-height: 12rem;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 0.55rem;
}

.help-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.help-image-lightbox[hidden] {
  display: none !important;
}

.help-image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(222 40% 4% / 0.88);
  backdrop-filter: blur(4px);
}

.help-image-lightbox-sheet {
  position: relative;
  z-index: 1;
  max-width: min(94vw, 36rem);
  max-height: min(88vh, 40rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-image-lightbox-sheet img {
  display: block;
  max-width: min(94vw, 36rem);
  max-height: min(84vh, 38rem);
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 20px 50px -16px hsl(0 0% 0% / 0.7);
  background: #0b1220;
}

.help-image-lightbox-close {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border: none;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.help-lightbox-open {
  overflow: hidden;
}

.help-chat-bubble.has-image p:empty {
  display: none;
}

.help-contact-modal.is-form-mode .help-contact-form {
  display: flex;
  flex-direction: column;
}

.help-contact-modal.is-form-mode #help-identity-fields {
  order: 1;
}

.help-contact-modal.is-form-mode .help-image-preview {
  order: 2;
}

.help-contact-modal.is-form-mode .help-message-group {
  order: 3;
}

.help-contact-modal.is-form-mode .help-attach-btn {
  display: none !important;
}

.help-contact-modal.is-form-mode .help-contact-submit {
  order: 5;
}

.help-contact-modal.is-form-mode .help-emoji-btn {
  display: none !important;
}

.help-contact-modal.is-chat-mode .help-image-preview {
  width: 100%;
  margin: 0 0 0.45rem;
}

.help-contact-modal.is-chat-mode .help-contact-form {
  margin-top: 0.35rem;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem;
}

.help-contact-modal.is-chat-mode .help-composer-row {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.15rem 0 0.05rem;
}

.help-contact-modal.is-chat-mode #help-identity-fields {
  display: none !important;
}

.help-contact-modal.is-chat-mode .help-message-group {
  margin: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
}

.help-contact-modal.is-chat-mode .help-composer-field {
  width: 100%;
}

.help-contact-modal.is-chat-mode .help-contact-form textarea#help-contact-message {
  min-height: 2.55rem !important;
  max-height: 2.55rem !important;
  height: 2.55rem !important;
  padding: 0.55rem 2.4rem 0.55rem 1rem !important;
  line-height: 1.35 !important;
  font-size: 0.88rem !important;
  resize: none !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #1f2937 !important;
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
}

.help-contact-modal.is-chat-mode .help-contact-form textarea#help-contact-message::placeholder {
  color: #9ca3af;
}

.help-contact-modal.is-chat-mode .help-contact-form textarea#help-contact-message:focus {
  border-color: hsl(var(--primary)) !important;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.18);
  outline: none;
}

.help-contact-modal.is-chat-mode .help-emoji-btn {
  display: inline-flex;
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
}

.help-contact-modal.is-chat-mode .help-emoji-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.help-contact-modal.is-chat-mode .help-emoji-btn:hover {
  color: #6b7280;
}

.help-contact-modal.is-chat-mode .help-attach-btn {
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  flex: 0 0 auto;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  box-shadow: 0 2px 10px hsl(var(--primary) / 0.4);
}

.help-contact-modal.is-chat-mode .help-contact-submit {
  width: 2.55rem !important;
  min-width: 2.55rem !important;
  max-width: 2.55rem !important;
  height: 2.55rem !important;
  min-height: 2.55rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #9ca3af !important;
}

.help-contact-modal.is-chat-mode .help-contact-submit svg {
  width: 1.35rem;
  height: 1.35rem;
}

.help-contact-modal.is-chat-mode .help-contact-submit:hover {
  color: hsl(var(--primary)) !important;
  background: transparent !important;
}

.help-contact-modal.is-chat-mode .help-contact-submit .help-send-label {
  display: none !important;
}

.help-chat-empty {
  margin: auto;
  text-align: center;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  padding: 1.25rem 0.5rem;
}

.help-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 11rem;
  overflow-y: auto;
  margin: 0 0 1rem;
  padding: 0.65rem;
  border-radius: 0.75rem;
  background: hsl(160 22% 6%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-chat-thread[hidden] {
  display: none !important;
}

.help-chat-bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.help-chat-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.help-chat-bubble span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  opacity: 0.7;
}

.help-chat-bubble.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, #e11d48, #f97316);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.help-chat-bubble.admin {
  align-self: flex-start;
  background: hsl(160 18% 14%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border-bottom-left-radius: 0.25rem;
}

/* Admin support chat panel */
.admin-support-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1rem;
  align-items: stretch;
  min-height: min(82vh, 44rem);
}

.admin-support-list-card,
.admin-support-chat-card {
  display: flex;
  flex-direction: column;
  min-height: min(82vh, 44rem);
}

.admin-support-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-support-list-head h2 {
  margin: 0;
  font-size: 1rem;
}

.admin-support-thread-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: min(78vh, 42rem);
}

.admin-support-thread-item {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: hsl(160 18% 10%);
  color: inherit;
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.admin-support-thread-item:hover,
.admin-support-thread-item.active {
  border-color: hsl(var(--primary) / 0.45);
  background: hsl(160 20% 12%);
}

.admin-support-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.admin-support-thread-top strong {
  font-size: 0.9rem;
}

.admin-support-unread {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.admin-support-thread-phone,
.admin-support-thread-preview {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.admin-support-thread-preview {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-support-thread-time {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  opacity: 0.65;
}

.admin-support-empty {
  margin: auto;
  text-align: center;
  color: hsl(var(--muted-foreground));
  padding: 2rem 1rem;
}

.admin-support-chat-box {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0.5rem;
}

.admin-support-chat-box[hidden],
.admin-support-empty[hidden] {
  display: none !important;
}

.admin-support-userbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-support-userbar-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.admin-support-danger-btn {
  border-color: rgba(239, 68, 68, 0.55) !important;
  color: #fca5a5 !important;
}

.admin-support-danger-btn:hover {
  background: rgba(239, 68, 68, 0.16) !important;
}

.admin-support-notify {
  flex: 0 0 auto;
  padding: 0.55rem 0.65rem;
  border-radius: 0.7rem;
  background: hsl(160 18% 8%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-support-notify-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

.admin-support-notify-row input,
.admin-support-notify-row textarea {
  width: 100%;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: hsl(160 20% 7%);
  color: inherit;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.45rem 0.6rem;
}

.admin-support-notify-row input {
  grid-column: 1 / -1;
}

.admin-support-notify-row textarea {
  min-height: 2.4rem;
  resize: vertical;
}

.admin-support-notify-row .btn {
  align-self: stretch;
  white-space: nowrap;
}

.admin-support-details {
  padding: 0.45rem 0.65rem;
  border-radius: 0.7rem;
  background: hsl(160 18% 8%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.admin-support-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-support-details-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  min-width: 0;
  font-size: 0.78rem;
  color: #e2e8f0;
}

.admin-support-details-chips em {
  font-style: normal;
  margin-right: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.68rem;
}

.admin-support-more-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: hsl(160 18% 12%);
  color: #fdba74;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-support-more-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: #fff;
}

.admin-support-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-support-details-grid[hidden] {
  display: none !important;
}

.admin-support-details-grid > div {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.admin-support-details-grid span {
  font-size: 0.66rem;
  color: hsl(var(--muted-foreground));
}

.admin-support-details-grid strong {
  font-size: 0.78rem;
  font-weight: 600;
  word-break: break-word;
}

.admin-support-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: min(52vh, 28rem);
  max-height: none;
  height: min(62vh, 34rem);
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: hsl(160 22% 6%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-support-bubble {
  max-width: 85%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.admin-support-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-support-bubble span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  opacity: 0.7;
}

.admin-support-bubble.user {
  align-self: flex-start;
  background: hsl(160 18% 14%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 0.25rem;
}

.admin-support-bubble.admin {
  align-self: flex-end;
  background: linear-gradient(135deg, #e11d48, #f97316);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.admin-support-img-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 0.35rem;
}

.admin-support-img-del {
  display: block;
  margin-top: 0.35rem;
  width: 100%;
  min-height: 1.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(225, 29, 72, 0.45);
  background: rgba(225, 29, 72, 0.16);
  color: #fecdd3;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-support-img-del:hover {
  background: rgba(225, 29, 72, 0.28);
  color: #fff;
}

.admin-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.admin-confirm-modal[hidden] {
  display: none !important;
}

.admin-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: hsl(222 40% 6% / 0.72);
  backdrop-filter: blur(4px);
}

.admin-confirm-sheet {
  position: relative;
  z-index: 1;
  width: min(92vw, 22rem);
  padding: 1.25rem 1.15rem 1.15rem;
  border-radius: 1rem;
  background: hsl(160 25% 10%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px -16px hsl(0 0% 0% / 0.65);
}

.admin-confirm-sheet h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #fff;
}

.admin-confirm-sheet p {
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.admin-confirm-actions {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-end;
}

.admin-confirm-actions .btn {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

/* Soft-dark admin — support + confirm overrides */
.admin-body .admin-support-thread-item {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-elevated));
  color: hsl(var(--admin-ink));
}

.admin-body .admin-support-thread-item:hover,
.admin-body .admin-support-thread-item.active {
  border-color: hsl(350 78% 54% / 0.45);
  background: hsl(350 40% 18% / 0.45);
}

.admin-body .admin-support-thread-phone,
.admin-body .admin-support-thread-preview,
.admin-body .admin-support-empty {
  color: hsl(var(--admin-muted));
}

.admin-body .admin-support-notify,
.admin-body .admin-support-details {
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
}

.admin-body .admin-support-notify-row input,
.admin-body .admin-support-notify-row textarea {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-bg));
  color: hsl(var(--admin-ink));
}

.admin-body .admin-support-details-chips {
  color: hsl(var(--admin-ink));
}

.admin-body .admin-support-details-chips em,
.admin-body .admin-support-details-grid span {
  color: hsl(var(--admin-muted));
}

.admin-body .admin-support-more-btn {
  border: 1px solid hsl(var(--admin-line));
  background: hsl(var(--admin-surface));
  color: hsl(24 95% 68%);
}

.admin-body .admin-support-details-grid {
  border-top-color: hsl(var(--admin-line));
}

.admin-body .admin-support-details-grid strong {
  color: hsl(var(--admin-ink));
}

.admin-body .admin-support-messages {
  background: hsl(var(--admin-bg));
  border: 1px solid hsl(var(--admin-line));
}

.admin-body .admin-support-bubble.user {
  background: hsl(var(--admin-elevated));
  border: 1px solid hsl(var(--admin-line));
  color: hsl(var(--admin-ink));
}

.admin-body .admin-support-img-del {
  border: 1px solid hsl(0 55% 45% / 0.45);
  background: hsl(0 55% 28% / 0.35);
  color: hsl(0 90% 78%);
}

.admin-body .admin-confirm-sheet {
  background: hsl(var(--admin-surface));
  border: 1px solid hsl(var(--admin-line));
  box-shadow: 0 24px 60px -16px hsl(222 40% 4% / 0.65);
}

.admin-body .admin-confirm-sheet h3 {
  color: hsl(var(--admin-ink));
}

.admin-body .admin-confirm-sheet p {
  color: hsl(var(--admin-muted));
}

.admin-body .admin-menu-btn {
  background: hsl(var(--admin-surface));
  border-color: hsl(var(--admin-line));
}

.admin-body .admin-menu-btn span {
  background: hsl(var(--admin-ink));
}

.admin-support-reply {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-support-reply-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

/* Match user Help chat composer */
.admin-support-reply.is-user-style .admin-support-reply-row {
  flex-wrap: nowrap;
  align-items: center;
  padding: 0.15rem 0 0.05rem;
}

.admin-support-reply.is-user-style .admin-support-field {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.admin-support-reply.is-user-style #support-reply-input {
  width: 100%;
  min-height: 2.55rem !important;
  max-height: 2.55rem !important;
  height: 2.55rem !important;
  margin: 0;
  padding: 0.55rem 1rem !important;
  line-height: 1.35 !important;
  font-size: 0.88rem !important;
  resize: none !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fff !important;
  color: #1f2937 !important;
  border: 1px solid #d1d5db !important;
  box-shadow: none !important;
  font-family: inherit;
}

.admin-support-reply.is-user-style #support-reply-input::placeholder {
  color: #9ca3af;
}

.admin-support-reply.is-user-style #support-reply-input:focus {
  outline: none;
  border-color: hsl(var(--primary)) !important;
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.18);
}

.admin-support-reply.is-user-style .help-attach-btn {
  width: 2.55rem;
  height: 2.55rem;
  margin: 0;
  flex: 0 0 auto;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px hsl(var(--primary) / 0.4);
}

.admin-support-reply.is-user-style .admin-support-send {
  width: 2.55rem !important;
  min-width: 2.55rem !important;
  max-width: 2.55rem !important;
  height: 2.55rem !important;
  min-height: 2.55rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #9ca3af !important;
}

.admin-support-reply.is-user-style .admin-support-send svg {
  width: 1.35rem;
  height: 1.35rem;
}

.admin-support-reply.is-user-style .admin-support-send:hover {
  color: hsl(var(--primary)) !important;
  background: transparent !important;
}

.admin-support-reply.is-user-style .admin-support-send .help-send-label {
  display: none !important;
}

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

  .admin-support-list-card,
  .admin-support-chat-card {
    min-height: 0;
  }

  .admin-support-thread-list {
    max-height: 14rem;
  }
}

/* Global action reply popup (deposit / withdraw / plan / task) */
.action-reply-modal {
  position: fixed;
  inset: 0;
  z-index: 12100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.action-reply-modal[hidden] {
  display: none !important;
}
.action-reply-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(4px);
}
.action-reply-sheet {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 1.1rem;
  background: linear-gradient(165deg, #1a1f2e 0%, #12151f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: action-reply-in 0.28s ease-out;
}
@keyframes action-reply-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.action-reply-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(53, 138, 112, 0.2);
  color: #4ade80;
}
.action-reply-modal[data-type="error"] .action-reply-icon {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}
.action-reply-modal[data-type="info"] .action-reply-icon {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}
.action-reply-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}
.action-reply-sheet h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f3f4f6;
}
.action-reply-sheet p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9ca3af;
}
.action-reply-actions {
  display: grid;
  gap: 0.55rem;
}
.action-reply-ok,
.action-reply-cta {
  width: 100%;
}
/* .btn sets display:inline-flex which otherwise shows empty CTA above ঠিক আছে */
.action-reply-cta[hidden],
.btn.action-reply-cta[hidden] {
  display: none !important;
}
body.action-reply-open {
  overflow: hidden;
}

/* Withdraw success popup */
.wd-success-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.wd-success-modal[hidden] {
  display: none !important;
}
.wd-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(4px);
}
.wd-success-sheet {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: 1.1rem;
  background: linear-gradient(165deg, #1a1f2e 0%, #12151f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  text-align: center;
  animation: wd-success-in 0.28s ease-out;
}
@keyframes wd-success-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.wd-success-icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.wd-success-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}
.wd-success-sheet h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f3f4f6;
}
.wd-success-sheet p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9ca3af;
}
.wd-success-ok {
  width: 100%;
}
body.wd-success-open {
  overflow: hidden;
}
