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

:root {
  --primary: #00B368;
  --primary-50: #EBFBF3;
  --primary-100: #D1FAE5;
  --primary-200: #A7F3D0;
  --primary-500: #00B368;
  --primary-600: #009E5A;
  --primary-700: #00824A;
  --primary-light: #EBFBF3;
  --primary-border: rgba(0, 179, 104, 0.22);
  --primary-glow: 0 8px 24px -4px rgba(0, 179, 104, 0.28);
  --primary-grad: linear-gradient(135deg, #00B368 0%, #009E5A 100%);
  --bg: #F8FAFC;
  --surface-50: #F8FAFC;
  --surface-100: #F1F5F9;
  --surface-200: #E2E8F0;
  --surface-300: #CBD5E1;
  --card: #FFFFFF;
  --card-subtle: #F8FAFC;
  --card-hover: #F1F5F9;
  --text-main: #0F172A;
  --text-body: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-card: #E2E8F0;
  --ok: #00B368;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --r: 12px;
  --rl: 16px;
  --rxl: 24px;
  --rpill: 9999px;
  --sh-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
  --sh-md: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --sh-lg: 0 12px 32px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --sh-elevated: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

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

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
  touch-action: manipulation;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  justify-content: center;
  padding-bottom: 95px;
}

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

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

input, button, select, textarea {
  font-family: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: rgba(0, 179, 104, 0.2);
  color: #00B368;
}

.shell, .app-shell, .app-wrapper {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.top-bar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.page-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.2px;
}

.back-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: var(--sh-sm);
  flex-shrink: 0;
}

.back-btn:hover {
  border-color: var(--primary-border);
  color: var(--primary);
  transform: translateX(-1px);
}

.back-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.page-content, .content {
  padding: 16px 18px calc(env(safe-area-inset-bottom, 0px) + 96px) 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bottom-nav-container {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.bottom-nav {
  pointer-events: auto;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #041c11;
  border-top: 1px solid rgba(0, 179, 104, 0.3);
  height: 74px;
  min-height: 74px;
  padding: 6px 8px calc(env(safe-area-inset-bottom, 0px) + 6px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  border-radius: 20px 20px 0 0;
}

.bottom-nav .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 0;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 0;
}

.bottom-nav .nav-item .ni-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 32px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.bottom-nav .nav-item svg {
  width: 24px;
  height: 24px;
  stroke: #94a3b8;
  fill: none;
  stroke-width: 2.2;
}

.bottom-nav .nav-item span {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.bottom-nav .nav-item.active {
  color: #00B368;
}

.bottom-nav .nav-item.active .ni-icon {
  background: rgba(0, 179, 104, 0.25);
  border: 1.5px solid #00B368;
}

.bottom-nav .nav-item.active svg {
  stroke: #FFFFFF;
}

.bottom-nav .nav-item.active span {
  color: #00B368;
  font-weight: 800;
}

.bottom-nav .nav-item-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #94a3b8;
  margin-top: -24px;
}

.bottom-nav .center-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00B368 0%, #22c55e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 179, 104, 0.55);
  border: 3.5px solid #041c11;
  transition: transform 0.18s ease;
}

.bottom-nav .center-btn svg {
  width: 28px;
  height: 28px;
  stroke: #041c11;
  stroke-width: 3;
}

.bottom-nav .center-btn:hover {
  transform: scale(1.08);
}

.bottom-nav .nav-item-center span {
  font-size: 11.5px;
  font-weight: 700;
  color: #a7f3d0;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

.card-box, .fp-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  margin: 0 18px 14px 18px;
  box-shadow: var(--sh-sm);
  transition: border-color 0.18s ease;
}

.page-content > .card-box,
.page-content > .fp-card {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.card-box:hover {
  border-color: rgba(203, 213, 225, 0.9);
}

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

.card-box-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.1px;
}

.card-box-title svg {
  width: 17px;
  height: 17px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.2;
}

.fp-hero-balance {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-balance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fp-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.fp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-border);
  animation: pulseDot 1.8s infinite;
}

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

.fp-balance-val {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.8px;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fp-balance-val .cur {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-muted);
}

.fp-balance-sub {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 600;
}

.fp-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fp-btn-primary {
  height: 44px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.22);
  transition: all 0.18s ease;
}

.fp-btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.fp-btn-secondary {
  height: 44px;
  border-radius: var(--rl);
  background: var(--surface-100);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.fp-btn-secondary:hover {
  background: var(--surface-200);
  transform: translateY(-1px);
}

.fp-btn-primary svg, .fp-btn-secondary svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.fp-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.fp-kpi-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fp-kpi-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
}

.fp-kpi-val {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

.fp-kpi-val.green {
  color: var(--primary);
}

.fp-quick-grid {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  box-shadow: var(--sh-sm);
}

.fp-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.fp-quick-item:hover {
  transform: translateY(-2px);
}

.fp-quick-item:active {
  transform: scale(0.92);
}

.fp-quick-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--rl);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-sm);
  transition: all 0.18s ease;
}

.fp-quick-ic svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.fp-quick-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-body);
  text-align: center;
}

.fp-menu-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fp-section-title {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  padding: 0 4px;
}

.fp-menu-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.fp-menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease;
}

.fp-menu-row:last-child {
  border-bottom: none;
}

.fp-menu-row:hover {
  background: var(--surface-50);
}

.fp-menu-row:active {
  background: var(--surface-100);
}

.fp-menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fp-menu-ic {
  width: 38px;
  height: 38px;
  border-radius: var(--r);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-menu-ic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.fp-menu-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.fp-menu-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-menu-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-menu-arr {
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fp-menu-arr svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.3;
  fill: none;
}

.fp-user-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.fp-user-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.fp-user-avatar {
  width: 54px;
  height: 54px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.25);
  flex-shrink: 0;
  position: relative;
}

.fp-user-verified {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-user-verified svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
}

.fp-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fp-user-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-user-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
}

.fp-btn-logout {
  width: 100%;
  height: 48px;
  border-radius: var(--rxl);
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.fp-btn-logout:hover {
  background: rgba(239, 68, 68, 0.12);
  transform: translateY(-1px);
}

.fp-btn-logout svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.filters, .tabs-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 18px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar, .tabs-scroll::-webkit-scrollbar {
  display: none;
}

.chip, .tab-pill {
  padding: 8px 16px;
  border-radius: var(--rpill);
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip:hover, .tab-pill:hover {
  border-color: var(--primary-border);
  color: var(--text-main);
}

.chip.on, .chip.active, .tab-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 179, 104, 0.22);
}

.tab-pill .count {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: var(--rpill);
  background: rgba(0, 0, 0, 0.08);
}

.chip.on .count, .tab-pill.active .count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 4px;
}

.sec-in {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.sec-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.sec-lnk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 6px 14px;
  border-radius: var(--rpill);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.sec-lnk:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 179, 104, 0.22);
}

.sec-lnk svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 4px;
}

.filters::-webkit-scrollbar {
  display: none;
}

.plans {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.home-page-wrap {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background: #effbf5;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.home-hero-wrap {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
}

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

.home-hero-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hero-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(4, 28, 17, 0.88);
  border: 1.5px solid rgba(0, 179, 104, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  transition: all 0.18s ease;
}

.hero-action-btn:hover {
  transform: scale(1.05);
  border-color: #00B368;
}

.hero-action-btn svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  fill: none;
  stroke-width: 2.2;
}

.hero-action-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  border: 1px solid #041c11;
}

.user-status-capsule {
  margin: -16px 14px 0 14px;
  position: relative;
  z-index: 5;
  background: linear-gradient(90deg, #dcfce7 0%, #ecfdf5 100%);
  border: 1.5px solid rgba(0, 179, 104, 0.28);
  border-radius: 9999px;
  padding: 6px 12px 6px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.08);
}

.user-status-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #062b1d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.user-avatar-circle svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.user-status-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-status-greeting {
  font-size: 11px;
  font-weight: 500;
  color: #475569;
}

.user-status-phone {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.user-vip-pill {
  background: #062b1d;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(6, 43, 29, 0.2);
  transition: transform 0.18s ease;
}

.user-vip-pill:hover {
  transform: translateY(-1px);
}

.user-vip-pill svg {
  width: 14px;
  height: 14px;
}

.home-content {
  padding: 12px 14px 120px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-balance-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 18px 16px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.balance-card-wallet-img {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 105px;
  height: 105px;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.balance-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 2;
}

.balance-card-val {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 4px 0 6px;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}

.balance-card-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.balance-today-pill {
  background: #dcfce7;
  color: #00B368;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
}

.balance-comm-text {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}

.balance-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.bal-btn-deposit {
  background: #00B368;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.25);
  transition: transform 0.18s ease;
}

.bal-btn-deposit:hover {
  transform: translateY(-1px);
}

.bal-btn-deposit svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
}

.bal-btn-withdraw {
  background: #FFFFFF;
  border: 1.5px solid #00B368;
  color: #00B368;
  font-weight: 800;
  font-size: 14px;
  border-radius: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.bal-btn-withdraw:hover {
  background: #f0fdf4;
  transform: translateY(-1px);
}

.bal-btn-withdraw .arrow-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00B368;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.bal-btn-withdraw .arrow-circle svg {
  width: 13px;
  height: 13px;
  stroke: #FFFFFF;
  stroke-width: 2.8;
}

.kpi-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi-dual-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.kpi-dual-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00B368;
  flex-shrink: 0;
}

.kpi-dual-icon svg {
  width: 22px;
  height: 22px;
  stroke: #00B368;
  stroke-width: 2.2;
}

.kpi-dual-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kpi-dual-lbl {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.3px;
}

.kpi-dual-val {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin: 1px 0;
  white-space: nowrap;
}

.kpi-dual-sub {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 500;
  white-space: nowrap;
}

.actions-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.action-tile-item {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  text-decoration: none;
  transition: transform 0.18s ease;
}

.action-tile-item:hover {
  transform: translateY(-2px);
  border-color: #00B368;
}

.action-tile-item svg {
  width: 26px;
  height: 26px;
  stroke: #0f172a;
  fill: none;
  stroke-width: 2;
}

.action-tile-item span {
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  white-space: nowrap;
}

.affiliate-promo-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #052618 0%, #0d462c 60%, #062b1b 100%);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 179, 104, 0.3);
  box-shadow: 0 4px 16px rgba(5, 38, 24, 0.2);
}

.affiliate-trophy-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.affiliate-left {
  position: relative;
  z-index: 2;
  max-width: 65%;
}

.affiliate-tag {
  font-size: 10px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.affiliate-title {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 2px 0 3px;
  line-height: 1.2;
}

.affiliate-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.affiliate-btn {
  position: relative;
  z-index: 2;
  background: #4ade80;
  color: #042113;
  font-weight: 800;
  font-size: 12.5px;
  border-radius: 9999px;
  padding: 7px 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(74, 222, 128, 0.35);
  white-space: nowrap;
  transition: transform 0.18s ease;
}

.affiliate-btn:hover {
  transform: scale(1.04);
}

.plan-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.plan-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.plan-section-link {
  font-size: 12px;
  font-weight: 700;
  color: #00B368;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.plan-filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.plan-filter-chips::-webkit-scrollbar {
  display: none;
}

.plan-chip {
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: #f1f5f9;
  color: #475569;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.plan-chip.active {
  background: #00874e;
  color: #FFFFFF;
}

.compact-plan-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.compact-plan-card:hover {
  transform: translateY(-1px);
  border-color: #00B368;
}

.compact-plan-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.compact-plan-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff8e7;
  flex-shrink: 0;
}

.compact-plan-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.compact-plan-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-plan-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-plan-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.compact-plan-price {
  font-size: 14.5px;
  font-weight: 900;
  color: #0f172a;
}

.compact-plan-arrow {
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
}

.plan-card, .prow {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease;
}

.plan-card:hover, .prow:hover {
  border-color: var(--primary-border);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.pc-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pc-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--rl);
  background: var(--surface-100);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pc-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.pc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  border-radius: var(--rl);
  padding: 10px;
  text-align: center;
}

.pc-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pm-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pm-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.pm-val.g {
  color: var(--primary);
}

.pc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.pc-price-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.pc-price-val {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
}

.pc-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 179, 104, 0.2);
  transition: all 0.18s ease;
}

.pc-btn:hover:not(:disabled) {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.pc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--text-light);
  box-shadow: none;
}

.invest-hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ih-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ih-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ih-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ih-val {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
}

.ih-val.accent {
  color: var(--primary);
}

.tab-nav {
  display: flex;
  background: var(--surface-100);
  border-radius: var(--rpill);
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--rpill);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: var(--sh-sm);
}

.pane {
  display: none;
}

.pane.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rbcard {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rbhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rbico {
  width: 40px;
  height: 40px;
  border-radius: var(--rl);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rbico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.rbhtx {
  flex: 1;
  min-width: 0;
}

.rno {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

.rcode {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  font-family: monospace;
}

.rstat {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rstat.end {
  background: var(--surface-100);
  color: var(--text-muted);
  border-color: var(--border);
}

.rstat .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.rbstats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  border-radius: var(--rl);
  padding: 10px;
  text-align: center;
}

.rbstats .st {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rbstats .st .l {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rbstats .st .v {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-main);
}

.rbstats .st .v.up {
  color: var(--primary);
}

.rbprog {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rbprog-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.rbbar {
  height: 7px;
  border-radius: var(--rpill);
  background: var(--surface-200);
  overflow: hidden;
}

.rbfill {
  height: 100%;
  border-radius: var(--rpill);
  background: var(--primary-grad);
}

.rbprog-bot {
  font-size: 10.5px;
  color: var(--text-light);
  font-weight: 600;
}

.rbmeta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.mrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

.mrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-light);
  fill: none;
}

.mrow b {
  color: var(--text-main);
}

.btn-new-plan {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 6px 12px;
  border-radius: var(--rpill);
  text-decoration: none;
}

.empty-state {
  text-align: center;
  padding: 44px 20px;
  background: #FFFFFF;
  border-radius: var(--rxl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty-state svg, .empty-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 1.8;
}

.empty-state-title, .empty-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
}

.empty-state-desc, .empty-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.45;
}

.btn-empty-action, .btn-invite {
  margin-top: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 179, 104, 0.22);
}

.btn-empty-action:hover, .btn-invite:hover {
  background: var(--primary-600);
}

.aff-hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aff-hero-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aff-hero-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.aff-hero-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.aff-hero-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.6px;
}

.btn-withdraw-affiliate {
  height: 44px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.22);
  transition: all 0.18s ease;
}

.btn-withdraw-affiliate:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.btn-withdraw-affiliate svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.aff-hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.aff-metric-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aff-metric-col .l {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.aff-metric-col .v {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
}

.aff-metric-col .v.red {
  color: var(--primary);
}

.invite-clean-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invite-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.invite-input-row {
  display: flex;
  gap: 8px;
}

.invite-input-box {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--rl);
  background: var(--surface-50);
  border: 1px solid var(--border);
  font-size: 12px;
  font-family: monospace;
  color: var(--text-main);
  outline: none;
}

.btn-copy-code {
  padding: 0 16px;
  height: 42px;
  border-radius: var(--rl);
  background: var(--surface-100);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-copy-code:hover {
  background: var(--surface-200);
}

.btn-share-whatsapp {
  height: 44px;
  border-radius: var(--rl);
  background: #25D366;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.18s ease;
}

.btn-share-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-1px);
}

.three-levels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.level-card-pill {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.level-card-pill:hover {
  border-color: var(--primary-border);
  transform: translateY(-2px);
}

.level-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

.level-count-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
}

.level-count-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
}

.level-pct-badge {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.modern-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.modern-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.modern-table-card th {
  background: var(--surface-50);
  padding: 10px 14px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.modern-table-card td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}

.modern-table-card tr:last-child td {
  border-bottom: none;
}

.modern-table-card td.highlight {
  font-weight: 800;
  color: var(--primary);
}

.recompra-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.rec-item-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 12px;
  text-align: center;
  box-shadow: var(--sh-sm);
}

.rec-item-lvl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.rec-item-pct {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
  margin-top: 2px;
}

.btn-rules-pill {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--surface-100);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--rpill);
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-rules-pill:hover {
  background: var(--surface-200);
  color: var(--text-main);
}

.summary-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.summary-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.summary-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  border-radius: var(--rl);
  padding: 10px;
  text-align: center;
}

.sum-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sum-lbl {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sum-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 4px;
}

.members-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 16px 18px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-av {
  width: 42px;
  height: 42px;
  border-radius: var(--rl);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.member-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.member-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}

.member-status {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--rpill);
  background: var(--surface-100);
  color: var(--text-muted);
}

.member-status.active {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.member-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.stat-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.hero-vault-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.vault-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.vault-top svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  fill: none;
}

.vault-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -1px;
  line-height: 1;
}

.vault-desc {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 280px;
}

.vault-btn-invite {
  margin-top: 6px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 179, 104, 0.22);
}

.vault-btn-invite svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
}

.chest-trail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trail-axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 28px;
  flex-shrink: 0;
}

.trail-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-100);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trail-item.ready .trail-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 179, 104, 0.4);
}

.trail-item.done .trail-dot {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.trail-dot svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.trail-line {
  width: 2px;
  min-height: 70px;
  background: var(--border);
  margin-top: 4px;
}

.trail-line.filled {
  background: var(--primary);
}

.trail-card {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 16px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tc-step {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.tc-val {
  font-size: 15px;
  font-weight: 900;
  color: var(--primary);
}

.tc-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tc-img-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--rl);
  background: var(--surface-50);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.tc-img-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tc-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.tc-status-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--rpill);
}

.tc-status-badge.done {
  background: var(--surface-100);
  color: var(--text-muted);
}

.tc-status-badge.ready {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.tc-status-badge.locked {
  background: var(--surface-100);
  color: var(--text-light);
}

.tc-prog-txt {
  font-weight: 700;
  color: var(--text-muted);
}

.tc-track {
  height: 6px;
  border-radius: var(--rpill);
  background: var(--surface-200);
  overflow: hidden;
}

.tc-bar {
  height: 100%;
  border-radius: var(--rpill);
  background: var(--primary);
}

.btn-trail {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--rl);
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-trail.claim {
  background: var(--primary-500);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 179, 104, 0.25);
}

.btn-trail.done {
  background: var(--surface-100);
  color: var(--text-muted);
  cursor: default;
}

.btn-trail.locked {
  background: var(--surface-100);
  color: var(--text-light);
  cursor: not-allowed;
}

.btn-trail svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.page-hero {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  box-shadow: var(--sh-sm);
  margin: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-content > .page-hero {
  margin: 0;
}

.page-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-hero-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.4px;
}

.page-hero-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.page-hero-val {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.page-hero-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.segmented-control {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-100);
  border-radius: var(--rpill);
  border: 1px solid var(--border);
  margin: 14px 18px;
}

.segmented-btn {
  flex: 1;
  height: 36px;
  border-radius: var(--rpill);
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  cursor: pointer;
}

.segmented-btn.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: var(--sh-sm);
}

.tx-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tx-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--sh-sm);
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.tx-ic {
  width: 40px;
  height: 40px;
  border-radius: var(--rl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-ic.in {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.tx-ic.out {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tx-ic.com {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.tx-ic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.3;
}

.tx-info, .tx-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tx-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-desc {
  font-size: 11.5px;
  color: var(--text-muted);
}

.tx-time {
  font-size: 10.5px;
  color: var(--text-light);
  font-weight: 600;
}

.tx-right {
  text-align: right;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
}

.tx-val {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text-main);
}

.tx-val.in {
  color: var(--primary);
}

.tx-val.out {
  color: var(--danger);
}

.tx-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--rpill);
}

.tx-badge.ok, .tx-badge.approved {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.tx-badge.pending {
  background: var(--warning-light);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.tx-badge.canceled, .tx-badge.rejected {
  background: var(--danger-light);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-body);
}

.input-box, .input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 0 14px;
  height: 48px;
  transition: all 0.18s ease;
  position: relative;
}

.input-box:focus-within, .input-wrap:focus-within {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 179, 104, 0.12);
}

.input-field, .form-input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  width: 100%;
}

.input-addon, .input-icon {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.input-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.input-suffix {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.input-suffix:hover {
  color: var(--text-main);
}

.btn-primary {
  width: 100%;
  height: 48px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.22);
  transition: all 0.18s ease;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.btn-secondary {
  width: 100%;
  height: 48px;
  border-radius: var(--rl);
  background: var(--surface-100);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-secondary:hover {
  background: var(--surface-200);
}

.btn-block {
  width: 100%;
  display: flex;
}

.btn-outline {
  width: 100%;
  height: 48px;
  border-radius: var(--rl);
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
  background: var(--surface-50);
}

.alert-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--rl);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.alert-box.success {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--primary-border);
}

.alert-box.danger {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.config-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 22px 20px;
  box-shadow: var(--sh-sm);
  margin-bottom: 14px;
}

.config-header {
  text-align: center;
  margin-bottom: 20px;
}

.config-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary);
}

.config-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.config-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
}

.config-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.config-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--rl);
  background: var(--surface-50);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.18s ease;
}

.config-option:hover {
  background: #FFFFFF;
  border-color: var(--primary-border);
  box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}

.option-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--rm);
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.option-content {
  flex: 1;
  min-width: 0;
}

.option-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.option-description {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 6px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--rpill);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 800;
}

.option-arrow {
  color: var(--text-light);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.amount-chip {
  height: 44px;
  border-radius: var(--rl);
  background: var(--surface-50);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.amount-chip span {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.amount-chip:hover {
  border-color: var(--primary-border);
}

.amount-chip.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.amount-chip.active span {
  color: var(--primary);
}

.modal-overlay, .md-ov, .al-ov, .loadov, .rmodal, .success-modal, .wb-ov {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open, .md-ov.open, .al-ov.open, .loadov.show, .rmodal.open, .success-modal.open, .wb-ov.open {
  display: flex !important;
}

.modal, .md, .al-box, .loadbox, .success-box, .wb-box, .rmodal .box {
  background: #FFFFFF;
  border-radius: var(--rxl);
  max-width: 400px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  position: relative;
}

.loadbox {
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  padding: 18px 24px;
}

.loadbox .spin {
  width: 22px;
  height: 22px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

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

.toast, .copy-toast, .toast-msg {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--rpill);
  font-size: 13px;
  font-weight: 700;
  display: none !important;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  box-shadow: var(--sh-lg);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show, .copy-toast.show, .toast-msg.show {
  display: flex !important;
  animation: toastFadeIn 0.2s ease;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

#apxov {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#apxbx {
  background: #FFFFFF;
  border-radius: var(--rxl);
  padding: 24px 20px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: var(--sh-lg);
}

#apxbx .ai {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

#apxbx .ai svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

#apxbx h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

#apxbx p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

#apxbx .ab {
  width: 100%;
  height: 44px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 8px;
}

#apxbx .as {
  width: 100%;
  height: 38px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.succ-ico, .rhead-icon, .wb-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.succ-ico svg, .rhead-icon svg, .wb-ic svg {
  width: 26px;
  height: 26px;
}

.rmodal .rx {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface-100);
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rmodal .rbtn {
  width: 100%;
  height: 44px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

.wb-dts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 12px;
  margin-bottom: 18px;
}

.wb-dt .n {
  font-size: 16px;
  font-weight: 900;
  color: var(--primary);
}

.wb-dt .l {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}

.wb-cta {
  width: 100%;
  height: 46px;
  border-radius: var(--rl);
  background: var(--primary-500);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.mh, .md-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mh h3, .md-ttl, .al-ttl {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.mh .x, .md-cl {
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.mh .x:hover, .md-cl:hover {
  background: var(--surface-100);
}

.hint, .al-txt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
}

.mfield-info, .pl-rw {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13px;
}

.mfield-info label, .pl-rw span {
  color: var(--text-muted);
  font-weight: 600;
}

.mfield-info .mval, .pl-rw b {
  font-weight: 800;
  color: var(--text-main);
}

.mfield-info .mval.highlight {
  color: var(--primary);
  font-size: 15px;
}

.macts, .al-acts {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.macts .cancel {
  flex: 1;
  height: 44px;
  background: var(--surface-100);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.macts .ok, .al-acts button {
  flex: 1;
  height: 44px;
  background: var(--primary-500);
  color: #FFFFFF;
  border-radius: var(--rl);
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.auth-shell {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 20px;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo {
  width: 58px;
  height: 58px;
  border-radius: var(--rl);
  margin: 0 auto 12px auto;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.2);
}

.auth-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.auth-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 24px 22px;
  box-shadow: var(--sh-sm);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
}

.alert-banner {
  padding: 12px 14px;
  border-radius: var(--rl);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.4;
  margin: 0 18px 14px 18px;
}

.page-content > .alert-banner {
  margin: 0;
}

.alert-banner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-banner.warning {
  background: var(--warning-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #B45309;
}

.alert-banner.danger {
  background: var(--danger-light);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

.alert-banner.success {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
}

.rmodal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rmodal.open {
  display: flex;
}

.rmodal .box {
  background: #FFFFFF;
  border-radius: var(--rxl);
  max-width: 400px;
  width: 100%;
  padding: 22px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  position: relative;
}

.rmodal .rx {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: none;
}

.rhead {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.rhead-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--rl);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rhead-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.rbody {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--text-body);
}

.ritem {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.rnum {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-radios{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;margin-bottom:8px;}.pill-radio-lbl{flex:1;min-width:60px;text-align:center;padding:8px 10px;background:#FFFFFF;border:1px solid var(--border);border-radius:var(--rl);font-size:12px;font-weight:800;color:var(--text-muted);cursor:pointer;transition:all 0.18s ease;display:flex;align-items:center;justify-content:center;}.pill-radio-lbl input{display:none;}.pill-radio-lbl.active{border-color:var(--primary);background:var(--primary-light);color:var(--primary);box-shadow:0 0 0 1px var(--primary);}

.summary-hero-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 22px 20px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-subtitle {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-plan-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.4px;
}

.hero-total-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.8px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--surface-50);
  border: 1px solid var(--border-light);
  border-radius: var(--rl);
  padding: 12px 10px;
  text-align: center;
  margin-top: 4px;
}

.hero-stat-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-stat-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stat-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.balance-status-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--sh-sm);
}

.bsc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bsc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.bsc-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.bsc-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.bsc-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.bsc-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--rpill);
}

.bsc-badge.ok {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.bsc-badge.warn {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.info-specs-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--rxl);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--sh-sm);
}

.specs-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.spec-lbl {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-val {
  font-weight: 800;
  color: var(--text-main);
}

.legal-notice-box {
  background: var(--surface-50);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 14px 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 440px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 18px calc(env(safe-area-inset-bottom, 0px) + 12px);
  z-index: 1000;
}

.btn-dock-action {
  width: 100%;
  height: 48px;
  border-radius: var(--rl);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-dock-action.primary {
  background: var(--primary-500);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.25);
}

.btn-dock-action.primary:hover {
  background: var(--primary-600);
}

.btn-dock-action.secondary {
  background: var(--surface-100);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-dock-action.secondary:hover {
  background: var(--surface-200);
}

#mdOv {
  position: fixed;
  inset: 0;
  background: rgba(4, 28, 17, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

#mdOv.open {
  display: flex !important;
  animation: mdOvFadeIn 0.22s ease-out;
}

@keyframes mdOvFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mdCardPop {
  0% { opacity: 0; transform: scale(0.92) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

#mdOv .md {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 390px;
  width: 100%;
  padding: 22px 20px 20px 20px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 179, 104, 0.2);
  position: relative;
  animation: mdCardPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

#mdOv .md-dr {
  width: 36px;
  height: 4px;
  border-radius: 9999px;
  background: #e2e8f0;
  margin: -4px auto 14px auto;
}

#mdOv .md-cl {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.18s ease;
  z-index: 5;
  padding: 0;
}

#mdOv .md-cl:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
  transform: rotate(90deg);
}

#mdOv .md-cl svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}

#mdOv .md-ttl {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
  padding-right: 36px;
  line-height: 1.2;
}

#mdOv .pl-c {
  background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid rgba(0, 179, 104, 0.25);
  border-radius: 18px;
  padding: 16px 16px 8px 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0, 179, 104, 0.08);
}

#mdOv .pl-nm {
  font-size: 14px;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

#mdOv .pl-pr {
  font-size: 26px;
  font-weight: 900;
  color: #00B368;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
  line-height: 1.1;
}

#mdOv .pl-rw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 12.5px;
  border-top: 1px dashed rgba(0, 179, 104, 0.22);
  border-bottom: none;
}

#mdOv .pl-rw span {
  color: #64748b;
  font-weight: 600;
}

#mdOv .pl-rw b {
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
}

#mdOv .pl-rw b#mdDiario {
  color: #00B368;
  font-weight: 900;
}

#mdOv .qty-r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  margin-bottom: 10px;
}

#mdOv .qty-r span:first-child {
  color: #64748b;
  font-weight: 700;
}

#mdOv .qty-r span:last-child {
  color: #065f46;
  font-weight: 800;
  background: #e6f7ef;
  border: 1px solid rgba(0, 179, 104, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
}

#mdOv .sld-t {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 179, 104, 0.06);
  border: 1px solid rgba(0, 179, 104, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
  margin-bottom: 14px;
}

#mdOv .sld-t b {
  color: #00B368;
  font-weight: 900;
  font-size: 13.5px;
}

#mdOv #mdBtnPay {
  width: 100%;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00C875 0%, #009E5B 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(0, 179, 104, 0.38);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.2px;
}

#mdOv #mdBtnPay:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 179, 104, 0.48);
}

#mdOv #mdBtnPay:active {
  transform: scale(0.98);
}

#mdOv .rem-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 14px;
}

#mdOv .rem-t {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

#mdOv .rem-t svg {
  stroke: #94a3b8;
}

#mdOv .rem-x {
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
}

#notifModal {
  position: fixed;
  inset: 0;
  background: rgba(4, 28, 17, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

#notifModal.open {
  display: flex !important;
  animation: mdOvFadeIn 0.22s ease-out;
}

#notifModal .md {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 390px;
  width: 100%;
  padding: 22px 20px 20px 20px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 179, 104, 0.2);
  position: relative;
  animation: mdCardPop 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
}

#notifModal .md-dr {
  width: 36px;
  height: 4px;
  border-radius: 9999px;
  background: #e2e8f0;
  margin: -4px auto 14px auto;
}

#notifModal .md-cl {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.18s ease;
  z-index: 5;
  padding: 0;
}

#notifModal .md-cl:hover {
  background: #fee2e2;
  border-color: #fecaca;
  color: #ef4444;
  transform: rotate(90deg);
}

#notifModal .md-cl svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}

.notif-bell-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 179, 104, 0.12);
  color: #00B368;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.notif-bell-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.notif-modal-sub {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
  margin-top: 4px;
  margin-bottom: 18px;
  padding: 0 6px;
}

.notif-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.notif-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  box-sizing: border-box;
}

.notif-btn-wa {
  background: #f0fdf4;
  border-color: rgba(37, 211, 102, 0.3);
}

.notif-btn-wa:hover {
  background: #dcfce7;
  border-color: #25d366;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}

.notif-btn-tg {
  background: #f0f9ff;
  border-color: rgba(0, 136, 204, 0.3);
}

.notif-btn-tg:hover {
  background: #e0f2fe;
  border-color: #0088cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.2);
}

.notif-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon-wa {
  background: #25d366;
  color: #ffffff;
}

.notif-icon-tg {
  background: #0088cc;
  color: #ffffff;
}

.notif-btn-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.notif-btn-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  margin-left: 12px;
  text-align: left;
}

.notif-btn-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-btn-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

.notif-arrow {
  width: 16px;
  height: 16px;
  stroke: #94a3b8;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  flex-shrink: 0;
}

.notif-close-btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.notif-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.profile-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px 16px;
}

.profile-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.18s ease;
}

.profile-nav-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: scale(1.05);
}

.profile-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.profile-page-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}

.profile-hero-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-initial {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00C875 0%, #009E5B 100%);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.3);
}

.profile-verified-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00B368;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-verified-badge svg {
  width: 11px;
  height: 11px;
  stroke: #FFFFFF;
  stroke-width: 3;
  fill: none;
}

.profile-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.profile-user-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.3px;
}

.profile-user-tel {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.profile-id-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  margin-top: 4px;
  width: fit-content;
  transition: all 0.18s ease;
}

.profile-id-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.profile-id-chip svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.profile-id-chip .copy-hint {
  font-size: 9.5px;
  background: #00B368;
  color: #FFFFFF;
  padding: 1px 5px;
  border-radius: 9999px;
  font-weight: 800;
  margin-left: 2px;
}

.profile-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.profile-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.profile-quick-tile:hover {
  transform: translateY(-2px);
}

.profile-quick-tile:active {
  transform: scale(0.94);
}

.profile-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dcfce7 0%, #ecfdf5 100%);
  border: 1.5px solid rgba(0, 179, 104, 0.22);
  color: #00B368;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.profile-quick-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.profile-quick-tile span {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

.profile-menu-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  padding: 0 4px;
}

.profile-menu-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.profile-menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  background: transparent;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.profile-menu-row:last-child {
  border-bottom: none;
}

.profile-menu-row:hover {
  background: #f8fafc;
}

.profile-menu-row:active {
  background: #f1f5f9;
}

.profile-menu-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-menu-ic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  color: #00B368;
  border: 1px solid rgba(0, 179, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-menu-ic svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.profile-menu-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.profile-menu-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-menu-hint {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-menu-arr {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-menu-arr svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.profile-btn-logout {
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background: rgba(239, 68, 68, 0.06);
  border: 1.5px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.profile-btn-logout:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  transform: translateY(-1px);
}

.profile-btn-logout svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.3;
  fill: none;
}

.al-ov {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 100050 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.al-ov.open {
  display: flex !important;
}

.al-box {
  background: #FFFFFF !important;
  border-radius: 24px !important;
  max-width: 360px !important;
  width: 100% !important;
  padding: 26px 20px 22px 20px !important;
  text-align: center !important;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  position: relative !important;
  animation: alCardPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

@keyframes alCardPop {
  0% { opacity: 0; transform: scale(0.9) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.al-ic {
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  margin: 0 auto 16px auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.al-ic svg {
  width: 32px !important;
  height: 32px !important;
  stroke: currentColor !important;
  stroke-width: 2.4 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  fill: none !important;
}

.al-ic.question {
  background: #E6F7EF !important;
  color: #00B368 !important;
  border: 2px solid rgba(0, 179, 104, 0.25) !important;
}

.al-ic.success {
  background: #ECFDF5 !important;
  color: #059669 !important;
  border: 2px solid rgba(5, 150, 105, 0.25) !important;
}

.al-ic.warning {
  background: #FEF3C7 !important;
  color: #D97706 !important;
  border: 2px solid rgba(217, 119, 6, 0.25) !important;
}

.al-ic.error {
  background: #FEE2E2 !important;
  color: #DC2626 !important;
  border: 2px solid rgba(220, 38, 38, 0.25) !important;
}

.al-ic.info {
  background: #E0F2FE !important;
  color: #0284C7 !important;
  border: 2px solid rgba(2, 132, 199, 0.25) !important;
}

.al-ic.loading {
  background: transparent !important;
  border: none !important;
}

.al-sp {
  width: 38px !important;
  height: 38px !important;
  border: 3.5px solid #E2E8F0 !important;
  border-top-color: #00B368 !important;
  border-radius: 50% !important;
  animation: alSpin 0.75s linear infinite !important;
}

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

.al-ttl {
  font-size: 19px !important;
  font-weight: 900 !important;
  color: #0F172A !important;
  letter-spacing: -0.3px !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.25 !important;
}

.al-txt {
  font-size: 13.5px !important;
  color: #64748B !important;
  margin: 0 0 20px 0 !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.al-acts {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
}

.al-btn {
  flex: 1 !important;
  height: 46px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.al-btn.p {
  background: linear-gradient(135deg, #00C875 0%, #009E5B 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 179, 104, 0.35) !important;
}

.al-btn.p:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0, 179, 104, 0.45) !important;
}

.al-btn.p:active {
  transform: scale(0.98) !important;
}

.al-btn.s {
  background: #F1F5F9 !important;
  color: #475569 !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: none !important;
}

.al-btn.s:hover {
  background: #E2E8F0 !important;
  color: #1E293B !important;
}

.al-btn.s:active {
  transform: scale(0.98) !important;
}

.checkin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.checkin-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.checkin-card-day {
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkin-card-val {
  font-size: 13.5px;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.2;
}

.checkin-card-status {
  font-size: 10px;
  font-weight: 800;
  border-radius: 9999px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.checkin-card.active {
  background: linear-gradient(145deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 2px solid #00B368;
  box-shadow: 0 6px 18px rgba(0, 179, 104, 0.25);
  transform: translateY(-2px);
}

.checkin-card.active .checkin-card-day {
  color: #065F46;
}

.checkin-card.active .checkin-card-val {
  color: #00B368;
  font-size: 14.5px;
}

.checkin-card.active .checkin-card-status {
  background: #00B368;
  color: #FFFFFF;
}

.checkin-card.done {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  opacity: 0.88;
}

.checkin-card.done .checkin-card-day {
  color: #94A3B8;
}

.checkin-card.done .checkin-card-val {
  color: #047857;
}

.checkin-card.done .checkin-card-status {
  background: #DCFCE7;
  color: #15803D;
}

.checkin-card:nth-child(7) {
  background: linear-gradient(145deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #FCD34D;
}

.checkin-card:nth-child(7) .checkin-card-val {
  color: #B45309;
}

.checkin-card:nth-child(7).active {
  background: linear-gradient(145deg, #FEF3C7 0%, #FDE68A 100%);
  border: 2px solid #F59E0B;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.checkin-card:nth-child(7).active .checkin-card-val {
  color: #92400E;
}

.floating-raspadinha-btn {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: frbBounce 2.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}

.frb-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FDE047 0%, #EAB308 40%, #B45309 100%);
  border: 2px solid #FEF08A;
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.48), 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.frb-icon svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.frb-badge {
  font-size: 10px;
  font-weight: 900;
  color: #FFFFFF;
  background: linear-gradient(135deg, #091724 0%, #152E46 100%);
  border: 1px solid rgba(253, 224, 71, 0.6);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-top: -6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  letter-spacing: -0.2px;
  text-transform: uppercase;
}

.floating-raspadinha-btn:active .frb-icon {
  transform: scale(0.92);
}

@keyframes frbBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}


