/* ══════════════════════════════════════════════════════════
   BITCENT — dashboard.css
   Sidebar · Topbar · Stats · Area chart · Donut · Cycles ·
   Table · Right panel · Toast · Responsive
══════════════════════════════════════════════════════════ */

/* ── Reset & base ────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-family:'Inter',sans-serif;font-size:14px;background:#07111f;color:#eaf2fb;min-height:100%}
body{display:flex;min-height:100vh;overflow-x:hidden}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:none;background:none}

/* ── Design tokens ───────────────────────────────────────── */
:root{
  --bg:      #07111f;
  --card:    #0d1e30;
  --deep:    #060f1c;
  --border:  #192c40;
  --border2: #1e3450;
  --text:    #eaf2fb;
  --text2:   #9fb0c3;
  --text3:   #4f6b85;
  --gold:    #f7a928;
  --gold2:   #ff6b35;
  --teal:    #2dd4bf;
  --blue:    #60a5fa;
  --purple:  #a78bfa;
  --green:   #50d69b;
  --red:     #f87171;
  --r:       14px;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar{
  position:fixed;top:0;left:0;bottom:0;width:64px;
  background:#060f1c;border-right:1px solid var(--border);
  display:flex;flex-direction:column;align-items:center;
  padding:20px 0;gap:4px;z-index:100;
}
.sidebar-brand{display:flex;align-items:center;justify-content:center;margin-bottom:28px}
.sidebar-logo{
  display:grid;place-items:center;width:36px;height:36px;border-radius:10px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));color:#07111f;font-size:20px;font-weight:800;
}
.sidebar-nav{display:flex;flex-direction:column;gap:4px;flex:1}
.sidebar-link{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:12px;color:var(--text3);
  transition:background .15s,color .15s;
}
.sidebar-link svg{width:18px;height:18px}
.sidebar-link:hover,.sidebar-link.active{background:var(--card);color:var(--gold)}
.sidebar-link.active::before{
  content:'';position:absolute;left:-1px;top:50%;transform:translateY(-50%);
  width:3px;height:22px;border-radius:0 3px 3px 0;background:var(--gold);
}
.sidebar-link::after{
  content:attr(data-tip);position:absolute;left:calc(100% + 10px);top:50%;
  transform:translateY(-50%);background:var(--card);border:1px solid var(--border2);
  color:var(--text);font-size:12px;font-weight:600;padding:4px 10px;
  border-radius:8px;white-space:nowrap;pointer-events:none;
  opacity:0;transition:opacity .15s;z-index:200;
}
.sidebar-link:hover::after{opacity:1}
.sidebar-logout{margin-top:auto;color:var(--text3)}
.sidebar-logout:hover{background:#1a0a0a;color:var(--red)}

/* ── Main wrapper ────────────────────────────────────────── */
.dash-wrap{margin-left:64px;flex:1;display:flex;flex-direction:column;min-height:100vh}

/* ── Topbar ──────────────────────────────────────────────── */
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:0 28px;height:64px;border-bottom:1px solid var(--border);
  background:rgba(7,17,31,.95);backdrop-filter:blur(12px);
  position:sticky;top:0;z-index:50;flex-shrink:0;
}
.topbar-title{font-size:18px;font-weight:800;color:var(--text)}
.topbar-date{margin-left:14px;font-size:12px;color:var(--text3);font-weight:500}
.topbar-right{display:flex;align-items:center;gap:14px}
.topbar-invest-btn{
  display:inline-flex;align-items:center;gap:6px;padding:8px 16px;
  border-radius:10px;background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#07111f;font-size:12px;font-weight:700;transition:filter .15s;
}
.topbar-invest-btn:hover{filter:brightness(1.1)}
.topbar-user{display:flex;align-items:center;gap:10px}
.topbar-avatar{
  width:36px;height:36px;border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  display:grid;place-items:center;font-size:15px;font-weight:700;color:#07111f;flex-shrink:0;
}
.topbar-name{display:block;font-size:13px;font-weight:600;color:var(--text);line-height:1.2}
.topbar-email{display:block;font-size:11px;color:var(--text3);line-height:1.2}

/* ── Content grid ────────────────────────────────────────── */
.content-grid{
  display:grid;grid-template-columns:1fr 300px;gap:24px;
  padding:24px 28px;flex:1;align-items:start;
}

/* ── Stat cards ──────────────────────────────────────────── */
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.stat-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--r);
  padding:18px 16px;display:flex;align-items:center;gap:14px;
  transition:border-color .2s,transform .2s;position:relative;overflow:hidden;
}
.stat-card:hover{border-color:var(--border2);transform:translateY(-2px)}
.stat-icon{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;
}
.stat-icon svg{width:18px;height:18px}
.stat-icon-green {background:rgba(45,212,191,.12);color:var(--teal)}
.stat-icon-orange{background:rgba(247,169,40,.12);color:var(--gold)}
.stat-icon-blue  {background:rgba(96,165,250,.12);color:var(--blue)}
.stat-icon-purple{background:rgba(167,139,250,.12);color:var(--purple)}

/* Animated counter */
.stat-value{
  font-size:22px;font-weight:800;color:var(--text);line-height:1.1;
  transition:color .3s;
}
.stat-value.counting{color:var(--gold)}
.stat-label{font-size:11px;color:var(--text3);font-weight:600;letter-spacing:.04em;margin-top:3px}
.stat-trend{
  position:absolute;top:12px;right:12px;
  display:flex;align-items:center;font-size:10px;font-weight:700;
  padding:2px 7px;border-radius:20px;
}
.stat-trend-up{background:rgba(80,214,155,.12);color:var(--green)}
.stat-trend-down{background:rgba(248,113,113,.12);color:var(--red)}

/* ── Generic chart card ──────────────────────────────────── */
.chart-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r);padding:20px;margin-bottom:20px;
}
.chart-card:last-child{margin-bottom:0}
.chart-card-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px}
.chart-card-title{font-size:15px;font-weight:700;color:var(--text)}
.chart-card-sub{font-size:11px;color:var(--text3);margin-top:3px}

/* Two-column charts row */
.charts-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}
.chart-card-half{margin-bottom:0}

/* ── Chart tabs ──────────────────────────────────────────── */
.chart-tabs{display:flex;gap:2px;background:#0a192b;border:1px solid var(--border);border-radius:9px;padding:3px}
.chart-tab{
  padding:5px 12px;border-radius:7px;font:600 11px 'Inter';
  color:var(--text3);transition:background .15s,color .15s;
}
.chart-tab.active{background:var(--gold);color:#07111f}
.chart-tab:not(.active):hover{background:var(--border);color:var(--text)}

/* ── Chart legend ────────────────────────────────────────── */
.chart-legend{display:flex;align-items:center;gap:14px;font-size:11px;color:var(--text2);margin-bottom:12px}
.legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0}
.legend-teal{background:var(--teal)}
.legend-gold{background:var(--gold)}

/* ── Area chart ──────────────────────────────────────────── */
.chart-y-axis{
  display:flex;flex-direction:column;justify-content:space-between;
  height:200px;padding:4px 0;margin-bottom:-200px;position:relative;
  pointer-events:none;z-index:1;
}
.chart-y-label{font-size:9px;color:var(--text3);text-align:right;width:36px}
.chart-wrap{
  position:relative;overflow:hidden;border-radius:8px;cursor:crosshair;
  margin-left:40px;
}
.chart-empty{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  height:200px;gap:8px;color:var(--text3);
}
.chart-empty span{font-size:36px}
.chart-empty p{font-size:13px}
.btn-link{color:var(--gold);font-size:13px;font-weight:600}
.btn-link:hover{text-decoration:underline}
.chart-xaxis{
  display:flex;justify-content:space-between;padding:6px 4px 2px;
  font-size:10px;color:var(--text3);margin-left:40px;
}

/* SVG chart paths — drawn via stroke-dashoffset animation */
.chart-line-inv{
  fill:none;stroke:var(--teal);stroke-width:2.5;
  stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:2000;stroke-dashoffset:2000;
  transition:stroke-dashoffset 1.4s cubic-bezier(.4,0,.2,1);
}
.chart-line-ret{
  fill:none;stroke:var(--gold);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:2000;stroke-dashoffset:2000;
  transition:stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1) .1s;
}
.chart-line-inv.drawn,.chart-line-ret.drawn{stroke-dashoffset:0}
.chart-area-inv{fill:url(#gradTeal);opacity:0;transition:opacity .6s .4s}
.chart-area-ret{fill:url(#gradGold);opacity:0;transition:opacity .6s .2s}
.chart-area-inv.drawn,.chart-area-ret.drawn{opacity:1}

/* Hover dot */
.chart-dot{
  r:4;fill:var(--teal);stroke:#07111f;stroke-width:2;
  opacity:0;transition:opacity .1s;pointer-events:none;
}
.chart-dot-ret{fill:var(--gold)}
.chart-hover-line{stroke:#2a4361;stroke-width:1;stroke-dasharray:4 3;opacity:0;transition:opacity .1s}

/* Tooltip */
.chart-tooltip{
  position:absolute;background:#0a192b;border:1px solid var(--border2);
  border-radius:10px;padding:10px 13px;pointer-events:none;z-index:10;
  min-width:130px;box-shadow:0 8px 24px rgba(0,0,0,.4);
}
.ct-date{font-size:10px;color:var(--text3);font-weight:700;text-transform:uppercase;margin-bottom:6px}
.ct-row{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--text);margin-top:4px}
.ct-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.ct-dot-teal{background:var(--teal)}
.ct-dot-gold{background:var(--gold)}

/* Grid lines */
.chart-grid{stroke:var(--border);stroke-width:1;stroke-dasharray:3 4;opacity:.5}

/* ── Donut chart ─────────────────────────────────────────── */
.donut-wrap{
  display:flex;align-items:center;justify-content:center;
  gap:20px;margin:16px 0 14px;
}
.donut-segment{
  transition:stroke-dashoffset 1s cubic-bezier(.4,0,.2,1);
  stroke-dashoffset:289;/* = circumference, start full (empty) */
}
.donut-center{text-align:center}
.donut-total{font-size:18px;font-weight:800;color:var(--text)}
.donut-label{font-size:10px;color:var(--text3);font-weight:600;text-transform:uppercase;margin-top:2px}
.donut-legend{list-style:none;display:flex;flex-direction:column;gap:7px}
.donut-legend li{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text2)}
.donut-swatch{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.donut-li-name{flex:1}
.donut-li-amt{font-weight:700;color:var(--text)}
.donut-li-pct{font-size:10px;color:var(--text3);margin-left:4px}
.donut-empty{font-size:12px;color:var(--text3);padding:12px 0}

/* ── Active cycle progress ───────────────────────────────── */
.cycles-list{display:flex;flex-direction:column;gap:14px;margin-top:4px;max-height:260px;overflow-y:auto}
.cycles-list::-webkit-scrollbar{width:4px}
.cycles-list::-webkit-scrollbar-track{background:transparent}
.cycles-list::-webkit-scrollbar-thumb{background:var(--border2);border-radius:4px}
.cycle-item{background:var(--deep);border:1px solid var(--border);border-radius:11px;padding:13px 14px}
.cycle-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cycle-name{font-size:12px;font-weight:700;color:var(--text);max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cycle-amt{font-size:12px;font-weight:800;color:var(--gold)}
.cycle-track{height:7px;background:#1c3045;border-radius:4px;overflow:hidden;margin-bottom:6px}
.cycle-fill{
  height:100%;border-radius:4px;width:0%;
  background:linear-gradient(90deg,var(--teal),var(--blue));
  transition:width 1s cubic-bezier(.4,0,.2,1);
}
.cycle-fill-warning{background:linear-gradient(90deg,var(--gold),var(--gold2))}
.cycle-fill-done   {background:linear-gradient(90deg,var(--green),var(--teal))}
.cycle-meta{display:flex;justify-content:space-between;font-size:10px;color:var(--text3);font-weight:600}
.cycle-days-left{color:var(--teal)}
.cycle-days-left.warning{color:var(--gold)}
.cycle-days-left.done{color:var(--green)}
.cycles-empty{font-size:12px;color:var(--text3);padding:16px 0;text-align:center}

/* ── Investment history table ────────────────────────────── */
.table-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r);padding:20px;overflow:hidden;
}
.table-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.table-wrap{overflow-x:auto}
.inv-table{width:100%;border-collapse:collapse}
.inv-table th{
  font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text3);padding:0 12px 10px;text-align:left;border-bottom:1px solid var(--border);
}
.inv-table td{
  padding:12px 12px;font-size:12px;color:#c8dae8;border-bottom:1px solid #111f30;
  vertical-align:middle;
}
.inv-table tr:last-child td{border-bottom:none}
.inv-table tbody tr:hover td{background:#0a192b}

/* Row progress mini bar */
.row-progress{width:72px}
.row-prog-track{height:5px;background:#1c3045;border-radius:4px;overflow:hidden}
.row-prog-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,var(--teal),var(--blue));transition:width .8s ease}

.table-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:32px;color:var(--text3)}
.table-empty span{font-size:30px}
.table-empty a{color:var(--gold);font-weight:600}

/* Badges */
.badge{
  display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:20px;
  font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:capitalize;
}
.badge::before{content:'';width:5px;height:5px;border-radius:50%;flex-shrink:0}
.badge-active     {background:rgba(45,212,191,.12);color:var(--teal)}
.badge-active::before{background:var(--teal);animation:blink 1.6s ease-in-out infinite}
.badge-completed  {background:rgba(96,165,250,.12);color:var(--blue)}
.badge-completed::before{background:var(--blue)}
.badge-confirming {background:rgba(167,139,250,.12);color:var(--purple)}
.badge-confirming::before{background:var(--purple);animation:blink 1s ease-in-out infinite}
.badge-unpaid     {background:rgba(247,169,40,.12);color:var(--gold)}
.badge-unpaid::before{background:var(--gold)}
.badge-failed     {background:rgba(248,113,113,.12);color:var(--red)}
.badge-failed::before{background:var(--red)}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}

/* ── Right panel ─────────────────────────────────────────── */
.right-panel{display:flex;flex-direction:column;gap:16px;position:sticky;top:88px}
.panel-card{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:18px}
.panel-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.panel-card-title{font-size:13px;font-weight:700;color:var(--text);letter-spacing:.02em}

/* Portfolio summary card */
.portfolio-summary{background:linear-gradient(150deg,#0f2238,#0a192b)}
.ps-label{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text3);margin-bottom:6px}
.ps-value{font-size:28px;font-weight:800;color:var(--text);margin-bottom:4px}
.ps-sub{font-size:11px;color:var(--text3);margin-bottom:14px}
.ps-bar-wrap{margin-top:4px}
.ps-bar-track{height:6px;background:#1c3045;border-radius:4px;overflow:hidden;margin-bottom:7px}
.ps-bar-fill{
  height:100%;border-radius:4px;width:0%;
  background:linear-gradient(90deg,var(--gold),var(--green));
  transition:width 1.2s cubic-bezier(.4,0,.2,1);
}
.ps-bar-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--text3);font-weight:600}

/* Profile */
.btn-icon{
  display:grid;place-items:center;width:28px;height:28px;border-radius:8px;
  color:var(--text3);border:1px solid var(--border2);transition:all .15s;
}
.btn-icon:hover{border-color:var(--gold);color:var(--gold)}
.profile-avatar-lg{
  width:52px;height:52px;border-radius:50%;margin:0 auto 14px;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  display:grid;place-items:center;font-size:22px;font-weight:700;color:#07111f;
}
.profile-rows{display:flex;flex-direction:column;gap:1px}
.profile-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #111f30;gap:8px}
.profile-row:last-child{border-bottom:none}
.profile-label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#3b4f63;flex-shrink:0}
.profile-val{font-size:12px;color:#c8dae8;text-align:right;word-break:break-all}
.edit-fields{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.edit-label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:600;color:#7a92ab}
.edit-input{background:var(--deep);border:1px solid var(--border2);border-radius:8px;color:var(--text);padding:9px 12px;font:14px Inter;width:100%;transition:border-color .2s}
.edit-input:focus{outline:none;border-color:var(--gold)}
.edit-actions{display:flex;gap:8px}
.edit-msg{display:block;margin-top:6px;font-size:11px;color:var(--gold);min-height:16px}

/* Activity */
.activity-list{list-style:none;display:flex;flex-direction:column;gap:1px}
.activity-item{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #111f30}
.activity-item:last-child{border-bottom:none}
.activity-dot{width:8px;height:8px;border-radius:50%;margin-top:4px;flex-shrink:0}
.activity-dot-green{background:var(--teal)}
.activity-dot-orange{background:var(--gold)}
.activity-dot-blue{background:var(--blue)}
.activity-text{font-size:12px;color:#c8dae8;line-height:1.4}
.activity-time{font-size:11px;color:#3b4f63;margin-top:2px}
.activity-empty{font-size:12px;color:#3b4f63;padding:10px 0}

/* Quick links */
.panel-links{display:flex;flex-direction:column;gap:8px;padding:14px}
.panel-link-btn{
  display:flex;align-items:center;gap:8px;padding:11px 14px;border-radius:10px;
  font-size:13px;font-weight:600;background:#0a192b;border:1px solid var(--border2);
  color:#c8dae8;transition:all .15s;
}
.panel-link-btn:hover{border-color:var(--gold);color:var(--gold)}
.panel-link-tg{color:#229ed9}.panel-link-tg:hover{border-color:#229ed9;color:#229ed9}
.panel-link-email:hover{border-color:var(--blue);color:var(--blue)}

/* Buttons */
.btn-sm{
  display:inline-flex;align-items:center;padding:7px 14px;border-radius:9px;
  font:600 12px Inter;background:var(--gold);color:#07111f;border:none;cursor:pointer;transition:filter .15s;
}
.btn-sm:hover{filter:brightness(1.1)}
.btn-ghost-sm{background:transparent;border:1px solid var(--border2);color:#7a92ab}
.btn-ghost-sm:hover{border-color:var(--gold);color:var(--text)}

/* Toast */
#dashToast{
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--card);border:1px solid #2a4361;color:var(--text);
  padding:10px 20px;border-radius:12px;font:600 13px Inter;
  z-index:999;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;white-space:nowrap;
}

/* ── Loading skeleton ────────────────────────────────────── */
@keyframes shimmer{0%{background-position:-400px 0}100%{background-position:400px 0}}
.skeleton{
  background:linear-gradient(90deg,#0d1e30 25%,#162d47 50%,#0d1e30 75%);
  background-size:800px 100%;animation:shimmer 1.6s infinite linear;
  border-radius:6px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media(max-width:1200px){
  .charts-row{grid-template-columns:1fr}
}
@media(max-width:1100px){
  .content-grid{grid-template-columns:1fr}
  .right-panel{position:static}
}
@media(max-width:900px){
  .stats-row{grid-template-columns:repeat(2,1fr)}
  .charts-row{grid-template-columns:1fr}
}
@media(max-width:600px){
  .sidebar{
    top:auto;bottom:0;left:0;right:0;width:100%;height:58px;
    flex-direction:row;padding:0 8px;border-right:none;border-top:1px solid var(--border);
  }
  .sidebar-brand{display:none}
  .sidebar-nav{flex-direction:row;flex:1;justify-content:space-around}
  .sidebar-logout{margin-top:0}
  .sidebar-link::after{display:none}
  .sidebar-link.active::before{
    top:auto;bottom:-1px;left:50%;transform:translateX(-50%);
    width:22px;height:3px;border-radius:3px 3px 0 0;
  }
  .dash-wrap{margin-left:0;padding-bottom:70px}
  .topbar{padding:0 14px;height:56px}
  .topbar-title{font-size:15px}
  .topbar-email{display:none}
  .content-grid{padding:14px}
  .stats-row{grid-template-columns:repeat(2,1fr);gap:10px}
  .stat-value{font-size:18px}
  .chart-card{padding:14px}
  .topbar-date{display:none}
}

/* ── Test data button & modal ────────────────────────────── */
.topbar-test-btn{
  display:inline-flex;align-items:center;gap:5px;padding:7px 13px;
  border-radius:9px;font:600 12px 'Inter';cursor:pointer;
  background:#111f30;border:1px dashed #2a4361;color:#7a92ab;
  transition:border-color .15s,color .15s;
}
.topbar-test-btn:hover{border-color:var(--gold);color:var(--gold)}

.test-modal-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.65);
  display:flex;align-items:center;justify-content:center;
  z-index:800;padding:16px;backdrop-filter:blur(4px);
}
.test-modal{
  background:#0d1e30;border:1px solid #2a4361;border-radius:18px;
  width:min(420px,100%);padding:0;overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,.55);
}
.test-modal-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 20px;border-bottom:1px solid #192c40;
  font-size:14px;font-weight:700;color:#eaf2fb;
}
.test-modal-close{
  background:none;border:none;color:#4f6b85;font-size:22px;
  cursor:pointer;line-height:1;padding:0 2px;transition:color .15s;
}
.test-modal-close:hover{color:#eaf2fb}
.test-modal-body{padding:20px;display:flex;flex-direction:column;gap:14px}
.test-label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#4f6b85}
.test-input{
  background:#060f1c;border:1px solid #1e3450;border-radius:9px;
  color:#eaf2fb;padding:10px 12px;font:14px 'Inter';
  transition:border-color .2s;appearance:none;-webkit-appearance:none;
}
.test-input:focus{outline:none;border-color:var(--gold)}
.test-hint{font-size:11px;color:#3b4f63;line-height:1.6;margin-top:2px}
.test-hint code{color:#60a5fa;font-size:11px}
.test-modal-foot{
  display:flex;gap:10px;padding:16px 20px;
  border-top:1px solid #192c40;justify-content:flex-end;
}
.test-cancel{
  padding:9px 18px;border-radius:9px;font:600 13px 'Inter';
  background:transparent;border:1px solid #1e3450;color:#7a92ab;cursor:pointer;transition:all .15s;
}
.test-cancel:hover{border-color:var(--gold);color:#eaf2fb}
.test-submit{
  padding:9px 20px;border-radius:9px;font:600 13px 'Inter';
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#07111f;border:none;cursor:pointer;transition:filter .15s;
}
.test-submit:hover{filter:brightness(1.1)}
.test-submit:disabled{opacity:.5;cursor:not-allowed}
.test-msg{display:block;padding:0 20px 14px;font-size:11px;color:var(--teal);min-height:14px}
