/* public/css/main.css — Base styles, CSS custom properties, typography, layout */

/* ── Custom properties ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  /* Premium Telegram Blue + White Theme */

  /* Backgrounds */
  --color-bg:             #f3f8ff;
  --color-bg-surface:     #ffffff;
  --color-bg-elevated:    #eef6ff;
  --color-bg-soft:        #e3f2ff;
 
  /* Blue Accent */
  --color-accent:         #2AABEE;
  --color-accent-hover:   #1b98d8;
  --color-accent-dark:    #1278bd;
  --color-accent-soft:    #dff4ff;
  --color-accent-light:   #f0faff;
 
  /* Premium Gradients */
  --gradient-primary:     linear-gradient(135deg, #58c8ff 0%, #2AABEE 45%, #158bd3 100%);
  --gradient-card-blue:   linear-gradient(135deg, #66ccff 0%, #2AABEE 55%, #0f83c8 100%);
  --gradient-page:        linear-gradient(180deg, #f8fcff 0%, #eef7ff 45%, #ffffff 100%);
  --gradient-soft-card:   linear-gradient(135deg, #ffffff 0%, #f4fbff 100%);
 
  /* Status Colors */
  --color-success:        #21c45d;
  --color-success-soft:   #e4fbeD;
 
  --color-warning:        #f59e0b;
  --color-warning-soft:   #fff4da;
 
  --color-danger:         #ef4444;
  --color-danger-soft:    #fee2e2;
 
  --color-purple:         #8b5cf6;
  --color-purple-soft:    #eee9ff;
 
  /* Text */
  --color-text-primary:   #111827;
  --color-text-secondary: #4b647a;
  --color-text-muted:     #8aa0b4;
  --color-text-inverse:   #ffffff;
 
  /* Borders */
  --color-border:         rgba(17, 24, 39, 0.08);
  --color-border-strong:  rgba(17, 24, 39, 0.14);
  --color-blue-border:    rgba(42, 171, 238, 0.18);
 
  /* Shadows */
  --shadow-xs:            0 1px 3px rgba(17, 24, 39, 0.05);
  --shadow-sm:            0 4px 12px rgba(17, 24, 39, 0.07);
  --shadow-md:            0 10px 26px rgba(17, 24, 39, 0.10);
  --shadow-blue:          0 12px 28px rgba(42, 171, 238, 0.28);
 
  /* Spacing */
  --space-1: 0.375rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
 
  /* Radii */
  --radius-sm: 0.45rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.6rem;
 
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
 
  /* Transitions */
  --transition-fast: 0.12s ease;
  --transition-base: 0.22s ease;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*{ box-sizing: border-box; margin: 0; padding: 0; font-family: "Poppins", sans-serif; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; background-color: var(--color-bg); color: var(--color-text-secondary); font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { color: var(--color-text-primary); font-weight: 700; line-height: 1.25; }

h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.95rem; }
p { line-height: 1.65; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-accent-hover); }
/* ── Layout ────────────────────────────────────────────────────────────── */
.main-content { min-height: calc(100vh - 56px); padding-bottom: 60px; /* space for bottom nav on mobile */ }
.page-section { max-width: 760px; margin: 0 auto; padding: var(--space-4) var(--space-3); }
.container { max-width: 960px; margin: 0 auto; padding: 0 var(--space-3); }

/* ── Utility ───────────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.text-muted    { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-primary  { color: var(--color-text-primary); }
.text-accent   { color: var(--color-accent); }
.text-success  { color: var(--color-success); }
.text-danger   { color: var(--color-danger); }
.text-warning  { color: var(--color-warning); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.font-bold   { font-weight: 700; }
.font-mono   { font-family: var(--font-mono); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

/* ── Divider ───────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--color-border); border: none; margin: var(--space-4) 0; }

/* ── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.25); }

/* ── Focus ─────────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ── Selection ─────────────────────────────────────────────────────────── */
::selection { background: rgba(42, 171, 238, 0.3); color: var(--color-text-primary); }

/* ── Images ────────────────────────────────────────────────────────────── */
img { max-width: 100%; height: auto; display: block; }

/* ── Tables ────────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th { padding: var(--space-2) var(--space-3); text-align: left; color: var(--color-text-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--color-border); }
td { padding: var(--space-2) var(--space-3); color: var(--color-text-secondary); border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }



.dashboard-page { width: 100%; max-width: 430px; margin: 0 auto; padding: 0.75rem 0.85rem 6rem; background: radial-gradient(circle at top left, rgba(42, 171, 238, 0.16), transparent 34%), linear-gradient(180deg, #f7fbff 0%, #eef7ff 45%, #ffffff 100%); }
/* Hero */
.dashboard-hero { position: relative; overflow: hidden; border-radius: 1.6rem; background: linear-gradient(135deg, #5ac9ff 0%, #2AABEE 48%, #0878c7 100%); box-shadow: 0 20px 40px rgba(42, 171, 238, 0.32); color: #ffffff; }
.dashboard-hero__content { position: relative; z-index: 2; padding: 1.1rem; }
.dashboard-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.dashboard-eyebrow { margin: 0 0 0.15rem; color: rgba(255, 255, 255, 0.78); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.dashboard-title { margin: 0; color: #ffffff; font-size: 1.45rem; font-weight: 900; letter-spacing: -0.04em; }
.dashboard-avatar { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 1rem; background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.32); backdrop-filter: blur(10px); font-size: 1rem; font-weight: 900; }
.dashboard-hero__balance span, .dashboard-hero__meta small { display: block; color: rgba(255, 255, 255, 0.72); font-size: 0.72rem; font-weight: 700; }
.dashboard-hero__balance strong { display: block; margin-top: 0.25rem; color: #ffffff; font-size: 2rem; font-weight: 950; letter-spacing: -0.06em; line-height: 1; }
.dashboard-hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; margin-top: 1.1rem; }
.dashboard-hero__meta div { padding: 0.75rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(12px); }
.dashboard-hero__meta b { display: block; margin-top: 0.18rem; color: #ffffff; font-size: 0.88rem; line-height: 1.25; }
.dashboard-hero__orb { position: absolute; border-radius: 999px; background: rgba(255, 255, 255, 0.22); pointer-events: none; }
.dashboard-hero__orb--one { width: 7rem; height: 7rem; top: -2.5rem; right: -2rem; }
.dashboard-hero__orb--two { width: 4rem; height: 4rem; bottom: 1.5rem; right: 1rem; background: rgba(255, 255, 255, 0.12); }

/* Quick actions */
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.65rem; margin: 0.9rem 0 1rem; }
.quick-action { min-height: 4.7rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.38rem; padding: 0.65rem 0.4rem; border-radius: 1.1rem; background: #ffffff; border: 1px solid rgba(42, 171, 238, 0.12); box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06); color: #111827; text-align: center; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.quick-action:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(42, 171, 238, 0.16); color: #111827; }
.quick-action__icon { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 0.8rem; background: #e7f6ff; color: #2AABEE; font-size: 1rem; font-weight: 900; }
.quick-action span:last-child { font-size: 0.68rem; font-weight: 800; line-height: 1.2; }
.quick-action--primary { background: linear-gradient(135deg, #ffffff 0%, #e8f7ff 100%); border-color: rgba(42, 171, 238, 0.24); }
.quick-action--primary .quick-action__icon { background: #2AABEE; color: #ffffff; }
.quick-action--admin { grid-column: span 4; }

/* Section titles */
.section-title-row { margin-bottom: 0.75rem; }
.section-title-row--split { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.section-kicker { margin: 0 0 0.12rem; color: #2AABEE; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.section-title-row h2 { margin: 0; color: #111827; font-size: 1rem; font-weight: 900; letter-spacing: -0.03em; }
.section-link { color: #2AABEE; font-size: 0.78rem; font-weight: 900; white-space: nowrap; }

/* Wallet cards */
.wallet-section, .stats-section, .recent-section { margin-top: 1.1rem; }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.wallet-card { position: relative; overflow: hidden; min-height: 8rem; padding: 0.85rem; border-radius: 1.25rem; background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06); }
.wallet-card::after { content: ""; position: absolute; width: 5.5rem; height: 5.5rem; right: -2.4rem; bottom: -2.4rem; border-radius: 999px; background: var(--wallet-soft); }
.wallet-card--blue { --wallet-main: #2AABEE; --wallet-soft: rgba(42, 171, 238, 0.13); }
.wallet-card--green { --wallet-main: #22c55e; --wallet-soft: rgba(34, 197, 94, 0.13); }
.wallet-card--orange { --wallet-main: #f59e0b; --wallet-soft: rgba(245, 158, 11, 0.15); }
.wallet-card--purple { --wallet-main: #8b5cf6; --wallet-soft: rgba(139, 92, 246, 0.14); }
.wallet-card__icon { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; margin-bottom: 0.7rem; border-radius: 0.85rem; background: var(--wallet-soft); color: var(--wallet-main); font-size: 1rem; }
.wallet-card__body { position: relative; z-index: 2; }
.wallet-card__body span { display: block; color: #6b7f92; font-size: 0.68rem; font-weight: 800; line-height: 1.2; }
.wallet-card__body strong { display: block; margin-top: 0.35rem; color: #111827; font-size: 1.15rem; font-weight: 950; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.wallet-card__body small { display: block; margin-top: 0.25rem; color: #94a3b8; font-size: 0.68rem; font-weight: 700; }

/* Promo card */
.promo-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1rem; border-radius: 1.35rem; background: radial-gradient(circle at right, rgba(255, 255, 255, 0.2), transparent 30%), linear-gradient(135deg, #061d37 0%, #0d4f8b 48%, #2AABEE 100%); box-shadow: 0 16px 34px rgba(13, 79, 139, 0.25); color: #ffffff; }
.promo-card__badge { display: inline-flex; margin-bottom: 0.42rem; padding: 0.22rem 0.55rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.92); font-size: 0.62rem; font-weight: 900; text-transform: uppercase; }
.promo-card h2 { margin: 0; color: #ffffff; font-size: 1.05rem; font-weight: 950; letter-spacing: -0.04em; }
.promo-card p { max-width: 14rem; margin: 0.28rem 0 0; color: rgba(255, 255, 255, 0.78); font-size: 0.72rem; line-height: 1.45; }
.promo-card__button { flex-shrink: 0; padding: 0.65rem 0.85rem; border-radius: 0.9rem; background: #ffffff; color: #0878c7; font-size: 0.72rem; font-weight: 950; text-decoration: none; }
.promo-card__button:hover { color: #0878c7; }
/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.stat-card { padding: 0.85rem; border-radius: 1.15rem; background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05); }
.stat-card__icon { display: block; margin-bottom: 0.45rem; font-size: 1rem; }
.stat-card__label { display: block; color: #8aa0b4; font-size: 0.68rem; font-weight: 800; }
.stat-card__value { display: block; margin-top: 0.2rem; color: #111827; font-size: 1rem; font-weight: 950; overflow-wrap: anywhere; }

/* Investments */
.investment-list { display: flex; flex-direction: column; gap: 0.7rem; }
.investment-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.8rem; border-radius: 1.2rem; background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.investment-item:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(42, 171, 238, 0.14); }
.investment-item__left { min-width: 0; display: flex; align-items: center; gap: 0.7rem; }
.investment-item__icon { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; flex-shrink: 0; border-radius: 0.9rem; background: #e7f6ff; color: #2AABEE; font-size: 0.72rem; font-weight: 950; }
.investment-item strong { display: block; color: #111827; font-size: 0.9rem; font-weight: 950; }
.investment-item span { display: block; margin-top: 0.12rem; color: #8aa0b4; font-size: 0.68rem; line-height: 1.35; }
.investment-item__right { flex-shrink: 0; text-align: right; }
.investment-item__right small { display: block; margin-top: 0.18rem; color: #8aa0b4; font-size: 0.65rem; font-weight: 700; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; padding: 0.22rem 0.55rem; border-radius: 999px; font-size: 0.62rem; font-weight: 950; text-transform: uppercase; }

.status-pill--active { color: #16a34a; background: #dcfce7; }
.status-pill--completed { color: #64748b; background: #f1f5f9; }
/* Empty state */ .empty-state { min-height: 13rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; padding: 1.5rem 1rem; border-radius: 1.35rem; background: #ffffff; border: 1px dashed rgba(42, 171, 238, 0.24); box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05); text-align: center; }
.empty-state__icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 1rem; background: #e7f6ff; font-size: 1.35rem; }
.empty-state h2 { margin: 0; color: #111827; font-size: 1rem; font-weight: 950; }
.empty-state p { max-width: 17rem; margin: 0; color: #8aa0b4; font-size: 0.76rem; line-height: 1.5; }
.empty-state__button { margin-top: 0.45rem; width: 100%; max-width: 18rem; min-height: 2.65rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 0.95rem; background: linear-gradient(135deg, #58c8ff 0%, #2AABEE 55%, #158bd3 100%); color: #ffffff; font-size: 0.78rem; font-weight: 950; box-shadow: 0 12px 24px rgba(42, 171, 238, 0.24); }
.empty-state__button:hover { color: #ffffff; }
.deposit-wallet-card { margin-bottom: var(--space-4, 1.5rem); padding: var(--space-4, 1.5rem); background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06); border-radius: 20px; }
.deposit-form-card{ background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06); border-radius: 20px; }
.btn--primary {
  margin-top: 0.45rem;
  width: 100%;
  /* max-width: 18rem; */
  max-width: 100%;
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, #58c8ff 0%, #2AABEE 55%, #158bd3 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(42, 171, 238, 0.24);
  border: unset;
}
div.deposit-wallet-card__address-wrap{ background-color: #fff; }

span.deposit-wallet-card__label{ font-size: 10px; }
input.input-wrap__field{ background-color: #fff; }

div.calculator-card, div.card  { border-radius: 1.15rem; background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.06); box-shadow: 0 10px 22px rgba(17, 24, 39, 0.05); }



/* nav Bar Css */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    height: 68px;
    background: #fff;
    border-top: 1px solid #e8edf5;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    transform: translateX(-50%);
        min-width: 430px;
}

svg.nav-icon {
    width: 24px;
    height: 24px;
}

.nav-item{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#94A3B8;
    transition:all .25s ease;
    cursor:pointer;
}

.nav-item span{
    font-size:13px;
    font-weight:500;
}

.nav-item.active{
    color:#2F80ED;
}

/* Icon Colors */
.nav-item svg.nav-icon path{
    transition:all .25s ease;
}

.icon-nav-about path, .icon-nav-home path {
    stroke: none;
}

.nav-item.active .icon-nav-about path, .nav-item.active .icon-nav-home path {
    stroke: none !important;
    fill:#2F80ED;
}

.nav-item.active svg.nav-icon path{
    stroke:#2F80ED;
}



/* Share page  */

.title-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.title-row i{
    font-size:34px;
    color:#ff7a00;
}

.header h1{
    font-size:22px;
    font-weight:700;
}

.header p{
    color:#777;
    margin-top:12px;
    font-size:16px;
}

.stats-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:24px;
}

.stat-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

.stat-card i{
    font-size:30px;
    color:#425466;
    margin-bottom:12px;
}

.stat-card h2{
    font-size:20px;
    margin-bottom:4px;
}

.stat-card span{
    color:#667085;
}

.how-card{
    background:#fff;
    border-radius:16px;
    padding:20px;
    margin-top:24px;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}

.how-card h3{
    font-size:18px;
    margin-bottom:18px;
}

.step{
    display:flex;
    gap:12px;
    margin-bottom:14px;
}

.step-number{
    width:26px;
    height:26px;
    min-width:26px;
    border-radius:50%;
    background:#dce9ff;
    color:#3b82f6;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:700;
}

.step h4{
    font-size:16px;
    margin-bottom:4px;
}

.step p{
    color:#667085;
    line-height:1.4;
}

.bonus-card{
    margin-top:28px;
    background:linear-gradient(135deg,#66aaf7,#3e7fda);
    border-radius:18px;
    padding:18px;
    color:#fff;
    box-shadow:0 10px 24px rgba(62,127,218,.35);
}

.bonus-header{
    display:flex;
    gap:14px;
    align-items:flex-start;
}

.bonus-header i{
    font-size:34px;
}

.bonus-header h2{
    font-size:18px;
    font-weight:800;
}

.bonus-header p{
    margin-top:4px;
    opacity:.95;
}

.referral-box{
    margin-top:18px;
    display:flex;
    gap:10px;
}

.referral-box input{
    flex:1;
    border:none;
    border-radius:10px;
    padding:14px;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:14px;
    outline:none;
}

.referral-box input::placeholder{
    color:#fff;
}

.referral-box button{
    border:none;
    border-radius:12px;
    background:#fff;
    color:#2f80ed;
    padding:0 24px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:10px;
}

.referral-box button:hover{
    background:#f5f7ff;
}

/* Earnings Card */
.earnings-card{
    background:linear-gradient(90deg,#f4f6fa,#e8eef7);
    border-radius:16px;
    padding:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.title{
    display:flex;
    align-items:center;
    gap:8px;
    color:#5d6777;
    font-size:15px;
    font-weight:600;
}

.title i{
    color:#ff7a00;
}

.earnings-content h1{
    font-size:52px;
    color:#111827;
    margin:8px 0;
}

.earnings-content p{
    color:#4b5563;
    font-size:15px;
}

.claim-btn{
    border:none;
    background:#2f80ed;
    color:#fff;
    padding:14px 32px;
    border-radius:14px;
    font-size:20px;
    cursor:pointer;
    box-shadow:0 6px 14px rgba(47,128,237,.25);
}

/* Section Header */
.section-header{
    margin:22px 0 14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

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

.left i{
    color:#3b82f6;
}

.section-header h3{
    color:#1f2937;
}

.section-header a{
    text-decoration:none;
    color:#64748b;
    font-size:14px;
}

/* Level Cards */
.levels{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.level-card {
    background: #fff;
    border-radius: 20px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.right-cont {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.level {
    color: #3b82f6;
    font-size: 20px;
    font-weight: 500;
    width: 38px;
}

.info h4, .reward h4 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 600;
}

.info p, .reward p {
    color: #64748b;
    font-size: 14px;
    line-height: normal;
}

.bonus-header .lucide-gift-icon {
    width: 50px;
    height: 50px;
}
.reward{
    text-align:right;
}

.reward h4{
    color:#2f80ed;
}

/* Footer */
.total-earned{
    margin-top:20px;
    background:#fff;
    border-radius:18px;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 4px 10px rgba(0,0,0,.06);
}

.total-earned span{
    font-size:18px;
    color:#1f2937;
}

.amount{
    display:flex;
    align-items:center;
    gap:10px;
}

.amount i{
    font-size:24px;
    color:#475569;
}

.amount span{
    color:#2f80ed;
    font-weight:700;
    font-size:20px;
}







/* Responsive */

@media (min-width: 640px) {
  .dashboard-page { max-width: 760px; padding-top: 1.2rem; }
  .quick-actions { grid-template-columns: repeat(5, 1fr); }
  .quick-action--admin { grid-column: auto; }
  .wallet-grid, .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .wallet-card { min-height: 9rem; }
  nav.bottom-nav {
    min-width: 760px;
}
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    .page-section { padding: var(--space-3) var(--space-2); }
    .bottom-nav {
    padding: 0 1rem;
}
svg.nav-icon {
    width: 20px;
    height: 20px;
}
}


@media (max-width: 360px) {
  .dashboard-page { padding-left: 0.65rem; padding-right: 0.65rem; }
  .quick-actions { gap: 0.5rem; }
  .quick-action { min-height: 4.35rem; }
  .wallet-grid, .stats-grid { gap: 0.55rem; }
  .wallet-card, .stat-card { padding: 0.72rem; }
  .promo-card { align-items: flex-start; flex-direction: column; }
  .promo-card__button { width: 100%; text-align: center; }
.bottom-nav {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    min-width: 100%;
}
}

