/* ========================================================================= */
/* UI/UX Pro Max - High-End Component Stylesheet                             */
/* Standard: Apple / Stripe / ShopBack Tier-1 Aesthetic                     */
/* ========================================================================= */

/* ========================================================================= */
/* 1. Header & Navigation Bar (Glassmorphism)                                */
/* ========================================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  height: 74px;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--slate-900);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.brand-logo span span {
  color: #059669;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-600);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--slate-900);
}

.nav-link.active {
  color: #059669;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-quick-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1.5px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
  transition: all var(--transition-fast);
}

.user-header-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #e2e8f0;
  padding: 4px 12px 4px 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.user-header-pill:hover {
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.12);
}

.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #10b981;
}

.user-header-info {
  display: flex;
  flex-direction: column;
}

.user-header-name {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.user-header-subid {
  font-size: 0.6875rem;
  color: #059669;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Member Profile Banner Hub */
.member-profile-banner {
  background: white;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.member-profile-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.member-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #a7f3d0;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.member-profile-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-display);
}

.member-tier-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #fcd34d;
}

.member-profile-meta {
  font-size: 0.8125rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.member-profile-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wallet-quick-pill:hover {
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.wallet-quick-icon {
  width: 26px;
  height: 26px;
  background: #ecfdf5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
}

.wallet-quick-text {
  display: flex;
  flex-direction: column;
}

.wallet-quick-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.wallet-quick-amount {
  font-size: 0.875rem;
  font-weight: 800;
  color: #065f46;
  font-family: var(--font-display);
}

/* ========================================================================= */
/* Section Headers & Global Utilities                                        */
/* ========================================================================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.animate-fade-in {
  animation: fadeInTab 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ========================================================================= */
/* 2. Hero Section (2-Column Desktop, 1-Column Mobile)                       */
/* ========================================================================= */
.hero-section {
  position: relative;
  padding: 56px 0 64px 0;
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
              #ffffff;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #047857;
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 4vw, 3.125rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 540px;
}

/* Master Converter Card */
.converter-card {
  background: white;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  padding: 20px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(0,0,0,0.02);
  margin-bottom: 20px;
}

.converter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.converter-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 6px 8px 6px 14px;
  transition: all var(--transition-fast);
}

.converter-input-wrap:focus-within {
  background: white;
  border-color: #059669;
  box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.15);
}

.converter-icon {
  color: var(--slate-400);
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.converter-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate-900);
  outline: none;
  font-family: inherit;
}

.converter-input::placeholder {
  color: var(--slate-400);
}

.converter-paste-btn {
  background: white;
  border: 1px solid #cbd5e1;
  color: var(--slate-700);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.converter-paste-btn:hover {
  background: #ecfdf5;
  border-color: #34d399;
  color: #059669;
}

.hero-assurances {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-assurance-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-600);
}

/* Right Column: Hero Live Mockup Phone Widget */
.hero-mockup-wrap {
  position: relative;
}

.hero-mockup-card {
  background: #0f172a;
  border-radius: 24px;
  padding: 24px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.mockup-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.mockup-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--shopee-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: white;
  flex-shrink: 0;
}

.mockup-notification {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Converted Result Box */
.converter-result {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
}

.result-grid {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: center;
}

.result-image {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background: white;
}

.result-details h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
  line-height: 1.35;
}

.result-cashback-badge {
  display: inline-flex;
  align-items: center;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #a7f3d0;
}

.result-meta {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 4px;
}

/* ========================================================================= */
/* 3. Platform Showcase Grid                                                 */
/* ========================================================================= */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0;
}

.platform-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.platform-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.platform-logo-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
  color: white;
}

.platform-card.shopee .platform-logo-box { background: var(--shopee-gradient); }
.platform-card.tiktok .platform-logo-box { background: var(--tiktok-gradient); }
.platform-card.lazada .platform-logo-box { background: var(--lazada-gradient); }
.platform-card.tiki .platform-logo-box { background: var(--tiki-gradient); }

.platform-card-rate {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #a7f3d0;
}

.platform-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.platform-card-desc {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.45;
}

/* ========================================================================= */
/* 4. Interactive Savings Calculator Widget                                  */
/* ========================================================================= */
.calc-box {
  background: white;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.06);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.calc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #059669;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-box {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: white;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 32px -8px rgba(6, 78, 59, 0.3);
}

.calc-result-amount {
  font-size: clamp(2rem, 3.5vw, 2.625rem);
  font-weight: 800;
  color: #34d399;
  font-family: var(--font-display);
  margin: 8px 0;
}

/* ========================================================================= */
/* 5. Deals & Vouchers Cards (High-Converting E-Commerce Cards)              */
/* ========================================================================= */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.deal-card {
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}

.deal-thumb-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background: #f8fafc;
  overflow: hidden;
}

.deal-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.deal-card:hover .deal-thumb {
  transform: scale(1.06);
}

.deal-platform-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.deal-cashback-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #059669;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.deal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.deal-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.deal-sale-price {
  font-size: 1.1875rem;
  font-weight: 800;
  color: #dc2626;
  font-family: var(--font-display);
}

.deal-original-price {
  font-size: 0.75rem;
  color: var(--slate-400);
  text-decoration: line-through;
}

.deal-progress-wrap {
  margin-bottom: 12px;
}

.deal-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.deal-progress-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.deal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);
  border-radius: var(--radius-full);
}

.deal-coupon-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.deal-coupon-code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-800);
  letter-spacing: 0.05em;
}

.deal-copy-btn {
  background: white;
  border: 1px solid #cbd5e1;
  color: #059669;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.deal-copy-btn:hover {
  background: #ecfdf5;
  border-color: #34d399;
}

/* ========================================================================= */
/* 6. Buttons & Utilities                                                    */
/* ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
  background: white;
  border: 1.5px solid #cbd5e1;
  color: var(--slate-700);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
  border-radius: 8px;
}

/* ========================================================================= */
/* 7. Real-Time Floating Social Proof Toast                                  */
/* ========================================================================= */
.social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.16);
  border: 1.5px solid #a7f3d0;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 360px;
}

.social-proof-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Modals & Forms */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--slate-900);
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-400);
  cursor: pointer;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: white;
  font-size: 0.9375rem;
  color: var(--slate-900);
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f172a;
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.toast.success { border-left: 4px solid #10b981; }
.toast.error { border-left: 4px solid #ef4444; }
.toast.info { border-left: 4px solid #3b82f6; }

/* ========================================================================= */
/* 8. Filter Bar & Categories                                                */
/* ========================================================================= */
.filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid #e2e8f0;
  background: white;
  color: var(--slate-600);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: #cbd5e1;
  color: var(--slate-900);
}

.filter-btn.active {
  background: #059669;
  color: white;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

/* ========================================================================= */
/* 9. Wallet & Analytics Hub                                                 */
/* ========================================================================= */
.wallet-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.wallet-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.wallet-card.primary {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: white;
  border: none;
  box-shadow: 0 12px 28px -4px rgba(6, 78, 59, 0.3);
}

.wallet-card.primary .wallet-card-title { color: #a7f3d0; }
.wallet-card.primary .wallet-card-amount { color: #34d399; }
.wallet-card.primary .wallet-card-meta { color: rgba(255, 255, 255, 0.8); }

.wallet-card-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.wallet-card-amount {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.wallet-card-meta {
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* Data Tables */
.table-card {
  background: white;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  margin-bottom: 32px;
}

.table-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--slate-900);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: #f8fafc;
  padding: 12px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e2e8f0;
}

.data-table td {
  padding: 14px 20px;
  font-size: 0.875rem;
  color: var(--slate-700);
  border-bottom: 1px solid #f1f5f9;
}

.data-table tr:hover td {
  background: #f8fafc;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.pending { background: #fef3c7; color: #b45309; }
.status-badge.approved { background: #d1fae5; color: #047857; }
.status-badge.paid { background: #dbeafe; color: #1d4ed8; }
.status-badge.rejected { background: #fee2e2; color: #b91c1c; }

/* Platform Badges */
.badge-shopee { background: #fff1ee; color: #ee4d2d; border: 1px solid #ffccbe; }
.badge-tiktok { background: #f3f4f6; color: #000000; border: 1px solid #e5e7eb; }
.badge-lazada { background: #eef0fa; color: #0f146d; border: 1px solid #c7cef3; }
.badge-tiki { background: #edf6ff; color: #1a94ff; border: 1px solid #bce0fd; }

/* ========================================================================= */
/* 10. Referral Hub                                                          */
/* ========================================================================= */
.referral-card {
  background: #0f172a;
  color: white;
  border-radius: 20px;
  padding: 36px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.referral-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ========================================================================= */
/* 11. FAQ Accordion                                                         */
/* ========================================================================= */
.faq-card {
  background: white;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-card:hover {
  border-color: #cbd5e1;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ========================================================================= */
/* 12. Footer                                                                */
/* ========================================================================= */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 56px 0 28px 0;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 18px;
}

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

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: white;
}

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

/* VietQR Modal */
.vietqr-card {
  text-align: center;
  padding: 20px;
}

.vietqr-img {
  width: 240px;
  height: 240px;
  margin: 0 auto 16px auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* ========================================================================= */
/* 14. 7-Day Streak & Gamified Rewards                                       */
/* ========================================================================= */
.streak-day {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.streak-day.active {
  background: #ecfdf5;
  border-color: #10b981;
}

.streak-day.today {
  background: #059669;
  color: white;
  border-color: #047857;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.streak-day.today .streak-label,
.streak-day.today .streak-reward,
.streak-day.today .streak-status {
  color: white !important;
}

.streak-day.jackpot {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #f59e0b;
}

.streak-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
}

.streak-reward {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--slate-900);
  font-family: var(--font-display);
}

.streak-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
}

/* Mission Items */
.mission-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  margin-bottom: 12px;
  background: white;
  gap: 16px;
}

.mission-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mission-icon {
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
}

.mission-title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--slate-900);
}

.mission-desc {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.mission-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mission-reward {
  font-size: 1rem;
  font-weight: 800;
  color: #059669;
  font-family: var(--font-display);
}

/* Order Lookup Steps */
.lookup-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.lookup-step {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  position: relative;
}

.lookup-step.done {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.lookup-step.current {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.lookup-step-icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.lookup-step-title {
  font-size: 0.75rem;
  font-weight: 800;
}

.lookup-step-desc {
  font-size: 0.6875rem;
  color: var(--slate-500);
  margin-top: 2px;
}

/* ========================================================================= */
/* 15. Premium Auth Segmented Buttons                                        */
/* ========================================================================= */
.btn-auth-tab {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-auth-tab.active {
  background: white;
  color: #059669;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


