:root{
  --bg:#070b16;
  --panel:#0b1224;
  --card:rgba(255,255,255,.035);
  --stroke:rgba(255,255,255,.07);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.55);

  --blue:#2d6bff;
  --green:#19e6a3;

  --radius:22px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

.bg-glow{
  position:fixed; inset:-80px;
  background:
    radial-gradient(900px 520px at 35% 10%, rgba(45,107,255,.22), transparent 60%),
    radial-gradient(780px 520px at 78% 55%, rgba(25,230,163,.15), transparent 60%),
    radial-gradient(700px 500px at 20% 75%, rgba(45,107,255,.12), transparent 60%);
  pointer-events:none;
  filter: blur(2px);
  opacity:.95;
}

a{color:inherit; text-decoration:none}

.app{
  position:relative;
  display:flex;
  min-height:100vh;
  padding:22px;
  gap:18px;
}

.sidebar{
  width:82px;
  background: rgba(255,255,255,.025);
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:14px 10px;
}

.logo-badge{
  width:46px; height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.03em;
  background: linear-gradient(135deg, rgba(45,107,255,.95), rgba(25,230,163,.9));
  color:#06111e;
}

.side-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:18px;
  flex:1;
  width:100%;
  align-items:center;
}

.side-btn{
  width:46px; height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.18);
  transition: transform .15s ease, border-color .15s ease;
}

.side-btn:hover{transform: translateY(-1px); border-color: rgba(25,230,163,.25)}
.side-btn.active{outline:2px solid rgba(25,230,163,.30)}

.side-user{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:10px;
}
.avatar{
  width:40px; height:40px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  display:grid;
  place-items:center;
  font-weight:800;
}

.main{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-bottom:64px; /* space for bottom nav on mobile */
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:6px 6px 0;
  gap:12px;
}

.kicker{color:var(--muted); font-size:12px}
.headline{margin:2px 0 0; font-size:22px; font-weight:900; letter-spacing:-.02em}

.top-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(10px);
}
.pill-label{color:var(--muted); font-size:12px}
.pill-select{
  border:none;
  outline:none;
  background:transparent;
  color:var(--text);
  font-weight:700;
}

.icon-btn{
  width:46px; height:46px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.18);
  color:var(--text);
  cursor:pointer;
}

.grid{
  display:grid;
  grid-template-columns: 1.18fr 1fr .9fr;
  gap:16px;
  align-items:start;
}

.col{min-width:0}

.card{
  background: var(--card);
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  padding:18px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.card-inset{
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
}

.card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.card-head.compact{margin-bottom:12px}

.card-title{font-weight:900}
.card-title.small{font-size:14px; margin-top:10px}
.card-sub{color:var(--muted); font-size:12px; margin-top:4px}

.tag{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
  font-size:12px;
  color: rgba(255,255,255,.78);
}
.tag.soft{
  background: rgba(25,230,163,.10);
  border-color: rgba(25,230,163,.22);
  color: rgba(25,230,163,.95);
}

.dots{
  width:40px; height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.18);
  color:var(--text);
  cursor:pointer;
}

.link{
  font-size:12px;
  color: rgba(25,230,163,.92);
}
.link:hover{text-decoration:underline}

.hero{
  overflow:hidden;
  position:relative;
  min-height:340px;
}
.hero-body{
  margin-top:14px;
  display:grid;
  gap:16px;
}

.ring-wrap{display:flex; justify-content:center}
.ring{
  width:190px; height:190px;
  border-radius:999px;
  background:
    radial-gradient(circle at 35% 30%, rgba(45,107,255,.30), transparent 60%),
    radial-gradient(circle at 70% 75%, rgba(25,230,163,.22), transparent 62%),
    conic-gradient(from 220deg, rgba(25,230,163,.95), rgba(45,107,255,.95), rgba(25,230,163,.95));
  padding:10px;
  filter: drop-shadow(0 18px 45px rgba(0,0,0,.45));
}
.ring-inner{
  width:100%; height:100%;
  border-radius:999px;
  background: rgba(7,11,22,.92);
  border:1px solid rgba(255,255,255,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
}
.ring-amount{font-size:22px; font-weight:900}
.ring-delta{
  font-size:12px;
  color: rgba(25,230,163,.95);
  font-weight:800;
  background: rgba(25,230,163,.10);
  border:1px solid rgba(25,230,163,.20);
  padding:6px 10px;
  border-radius:999px;
}

.mini-row{display:flex; gap:12px}
.mini{
  flex:1;
  border-radius:18px;
  padding:14px;
}
.mini-top{display:flex; align-items:center; gap:10px}
.mini-dot{
  width:10px; height:10px;
  border-radius:999px;
  display:inline-block;
}
.mini-dot.green{background: rgba(25,230,163,.95); box-shadow: 0 0 18px rgba(25,230,163,.35)}
.mini-dot.blue{background: rgba(45,107,255,.95); box-shadow: 0 0 18px rgba(45,107,255,.35)}
.mini-label{color: var(--muted); font-size:12px}
.mini-val{font-weight:900; font-size:18px; margin-top:8px}
.mini-sub{color: var(--muted); font-size:12px; margin-top:4px}

.list .rows{margin-top:6px}
.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.row:last-child{border-bottom:none}
.row-left{display:flex; align-items:center; gap:12px}
.row-ico{
  width:40px; height:40px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.07);
  display:grid;
  place-items:center;
}
.row-name{font-weight:800}
.row-meta{font-size:12px; color:var(--muted); margin-top:3px}
.row-amt{font-weight:900}

.chips{display:flex; gap:12px}
.chip{
  flex:1;
  border-radius:18px;
  padding:14px;
}
.chip-top{display:flex; justify-content:space-between; align-items:center}
.chip-name{color:var(--muted); font-size:12px}
.chip-badge{
  width:26px; height:26px;
  border-radius:12px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.08);
  font-weight:900;
  font-size:12px;
}
.chip-badge.green{background: rgba(25,230,163,.12); color: rgba(25,230,163,.95); border-color: rgba(25,230,163,.20)}
.chip-badge.red{background: rgba(255,90,90,.12); color: rgba(255,150,150,.95); border-color: rgba(255,90,90,.18)}
.chip-val{font-weight:900; font-size:18px; margin-top:10px}

.send .send-to{display:grid; gap:12px}
.send-avatars{display:flex; align-items:center; gap:8px}
.face{
  width:34px; height:34px;
  border-radius:999px;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  display:grid;
  place-items:center;
  font-weight:900;
}
.face.plus{
  background: rgba(45,107,255,.15);
  border-color: rgba(45,107,255,.25);
}

.send-method{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-radius:18px;
  padding:14px;
}
.visa{font-weight:900; letter-spacing:.08em}
.dots2{color:var(--muted); font-weight:700}
.chev{color:var(--muted)}

.field{
  margin-top:12px;
  border-radius:18px;
  padding:14px;
}
label{display:block; font-size:12px; color:var(--muted)}
input{
  width:100%;
  margin-top:8px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
input:focus{
  border-color: rgba(25,230,163,.22);
  box-shadow: 0 0 0 4px rgba(25,230,163,.08);
}

.primary{
  width:100%;
  margin-top:12px;
  padding:14px;
  border:none;
  border-radius:16px;
  cursor:pointer;
  background: linear-gradient(135deg, rgba(45,107,255,.95), rgba(25,230,163,.92));
  color:#06111e;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow: 0 14px 40px rgba(45,107,255,.18);
}
.primary:hover{filter:brightness(1.05)}
.hint{color:var(--muted); font-size:12px; margin-top:10px}

.right-panel .visa-card{
  margin-top:10px;
  height:150px;
  border-radius:20px;
  padding:16px;
  background:
    radial-gradient(420px 260px at 20% 25%, rgba(45,107,255,.45), transparent 55%),
    radial-gradient(420px 260px at 80% 75%, rgba(25,230,163,.24), transparent 55%),
    rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.07);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.visa-row{display:flex; align-items:center; justify-content:space-between}
.visa-brand{font-weight:900; letter-spacing:.08em}
.visa-chip{
  width:36px; height:26px; border-radius:8px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.10);
}
.visa-num{font-weight:900; letter-spacing:.12em}
.visa-meta{display:flex; justify-content:space-between; color:rgba(255,255,255,.75); font-size:12px}

.big-balance{margin-top:14px}
.bal-label{color:var(--muted); font-size:12px}
.bal-val{font-weight:900; font-size:28px; margin-top:4px}

.divider{
  height:1px;
  background: rgba(255,255,255,.07);
  margin:16px 0 10px;
}

.activities{margin-top:8px; display:grid; gap:10px}
.act{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
}
.act:last-child{border-bottom:none}
.act-left{display:flex; align-items:center; gap:10px}
.act-ico{
  width:34px; height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:900;
  background: rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
}
.act-ico.green{background: rgba(25,230,163,.14); border-color: rgba(25,230,163,.22); color: rgba(25,230,163,.95)}
.act-ico.blue{background: rgba(45,107,255,.14); border-color: rgba(45,107,255,.22); color: rgba(45,107,255,.95)}
.act-name{font-weight:800}
.act-sub{font-size:12px; color:var(--muted); margin-top:2px}
.act-amt{font-weight:900}

.bottom-nav{
  display:none;
  position:fixed;
  left:14px; right:14px; bottom:14px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(7,11,22,.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  padding:10px 8px;
  gap:6px;
  z-index:50;
}

.bnav{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px 6px;
  border-radius:18px;
  color: rgba(255,255,255,.75);
  font-weight:800;
  font-size:14px;
}
.bnav span{
  font-size:11px;
  color: rgba(255,255,255,.55);
  font-weight:700;
}
.bnav.active{
  color: rgba(25,230,163,.95);
  background: rgba(25,230,163,.10);
  border:1px solid rgba(25,230,163,.18);
}

/* Responsive */
@media (max-width: 1100px){
  .grid{grid-template-columns: 1fr 1fr; }
  .right{grid-column: 1 / -1;}
}
@media (max-width: 900px){
  .sidebar{display:none;}
  .app{padding:14px;}
  .grid{grid-template-columns: 1fr;}
  .bottom-nav{display:flex;}
}
