/* CopyTrade v1.1 | Premium visual refinement of the ORIGINAL prototype */
:root {
 --bg-app:#080d15; --bg-surface:#0e1623; --bg-elevated:#141e2d;
 --text-primary:#f5f8fc; --text-muted:#8392a8;
 --border:rgba(151,178,212,.13); --border-subtle:rgba(151,178,212,.09);
 --brand:#6ee7cd; --positive:#3ce0ad; --negative:#ff8190;
 --radius-sm:10px; --radius-md:14px; --radius-lg:18px;
 --duration-fast:180ms;
}
* { -webkit-tap-highlight-color:transparent; }
body { background:#080d15!important; letter-spacing:-.008em; }
.app-shell { background:radial-gradient(ellipse 850px 470px at 80% 0%,rgba(44,136,155,.065),transparent 75%),#080d15; }
.sidebar { background:linear-gradient(180deg,#0c131f,#0a111b)!important; border-right:1px solid rgba(185,214,242,.095)!important; }
.sidebar-brand { padding-block:25px!important; margin-bottom:8px; }
.sidebar-brand-text {font-size:20px!important;letter-spacing:-.055em;font-weight:750!important;}
.sidebar-section {font-size:10px!important;letter-spacing:.15em!important;color:#64748b!important;font-weight:750!important;}
.sidebar-item {border:1px solid transparent;border-radius:11px!important;transition:background .17s ease,color .17s ease,transform .17s ease!important;}
.sidebar-item:hover {background:rgba(255,255,255,.045)!important;color:#f8fafc!important;transform:translateX(2px);}
.sidebar-item.active {background:linear-gradient(90deg,rgba(99,223,203,.13),rgba(99,223,203,.04))!important;border-color:rgba(107,230,208,.15)!important;color:#93f1dd!important;}
.sidebar-user {background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);border-radius:12px;margin:8px 0;}
.topbar {background:rgba(8,13,21,.78)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(185,214,242,.09)!important;min-height:66px;}
.topbar-title {font-size:14px!important;font-weight:700!important;letter-spacing:-.015em;}
.main-scroll {padding:30px clamp(16px,3.5vw,42px)!important;}
.page-header {padding-bottom:9px!important;margin-bottom:26px!important;}
.page-header h1 {font-weight:760!important;font-size:clamp(25px,3vw,32px)!important;letter-spacing:-.052em!important;line-height:1.22!important;}
.page-header p {margin-top:7px;color:#8494aa!important;font-size:13px!important;line-height:1.6;}
.card,.metric-card {background:linear-gradient(160deg,rgba(21,32,48,.98),rgba(13,23,37,.98))!important;border:1px solid rgba(175,200,228,.105)!important;box-shadow:0 9px 28px rgba(0,0,0,.11)!important;border-radius:17px!important;}
.card:hover {border-color:rgba(175,200,228,.17)!important;}
.metric-card {padding:22px 22px 20px!important;min-height:125px;position:relative;overflow:hidden;}
.metric-card:after {content:'';position:absolute;right:-28px;top:-44px;width:105px;height:105px;border-radius:50%;background:radial-gradient(circle,rgba(94,223,203,.10),transparent 73%);pointer-events:none;}
.metric-label {font-size:11px!important;letter-spacing:.065em!important;font-weight:650!important;color:#92a0b4!important;text-transform:uppercase;}
.metric-value {font-size:clamp(23px,2vw,29px)!important;line-height:1.25!important;letter-spacing:-.045em!important;font-weight:750!important;font-variant-numeric:tabular-nums;}
.metric-change {font-size:11px!important;font-weight:600;}
.card-header {border-bottom:1px solid rgba(175,200,228,.08)!important;min-height:54px;}
.card-title {font-size:14px!important;font-weight:700!important;letter-spacing:-.015em;}
.card-body {padding:21px!important;}
.grid-2,.grid-3,.grid-4,.metrics-strip {gap:15px!important;}
.btn,.tab-btn,button {transition:transform .15s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;}
.btn {border-radius:11px!important;min-height:40px!important;font-weight:670!important;}
.btn-primary {background:linear-gradient(135deg,#85ead7,#5bd6c5)!important;color:#062521!important;border:0!important;box-shadow:0 6px 24px rgba(62,211,183,.15)!important;}
.btn-primary:hover {filter:brightness(1.06);transform:translateY(-1px);}
.btn-secondary {background:#1b293b!important;border:1px solid rgba(175,200,228,.14)!important;color:#e1e9f4!important;}
input,select,textarea {color-scheme:dark;}
input:focus-visible,select:focus-visible,textarea:focus-visible {outline:2px solid rgba(107,230,208,.24);outline-offset:1px;}
.table-wrap {border:1px solid var(--border)!important;border-radius:16px!important;overflow:auto;background:#101927;}
.table th {background:#151f2e!important;color:#9aaac0!important;font-size:10px!important;letter-spacing:.085em!important;text-transform:uppercase;padding:15px 17px!important;white-space:nowrap;}
.table td {padding:15px 17px!important;border-top:1px solid rgba(175,200,228,.075)!important;}
.table tbody tr:hover td {background:rgba(255,255,255,.025);}
.badge {border-radius:7px!important;font-size:10px!important;font-weight:680!important;letter-spacing:.03em!important;}
.tabs {border-bottom:1px solid rgba(175,200,228,.12)!important;gap:6px;}
.tab-btn {font-size:12px!important;font-weight:650!important;padding:11px 16px!important;}
.empty-state {min-height:155px;}
.prototype-notice {display:flex;align-items:center;gap:10px;border:1px solid rgba(130,190,210,.18);border-radius:12px;background:linear-gradient(105deg,rgba(98,193,192,.095),rgba(90,128,171,.045));padding:12px 15px;margin:0 0 22px;color:#a8c3d4;font-size:12px;line-height:1.55;}
.prototype-notice strong {color:#d7eff0;}
.ct-statement-card {margin:0 0 22px;}
.ct-performance-card {position:relative;overflow:hidden;}
.ct-chart-subhead {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#98a9ba;}
.ct-chart-subhead b {font-size:12px;color:#e8f5f3;font-variant-numeric:tabular-nums;}
.ct-chart-canvas {display:block;width:100%;height:214px;cursor:crosshair;}
.ct-chart-tooltip {margin-top:7px;min-height:17px;color:#a9b9ce;font-size:11px;}
.ct-footnote {padding-top:10px;border-top:1px solid rgba(175,200,228,.08);font-size:10px;color:#6f8096;line-height:1.6;}
.ct-chip {display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:100px;background:rgba(113,231,207,.095);color:#87e9d4;font-size:10px;font-weight:700;}
.ct-status-dot {width:6px;height:6px;border-radius:100%;background:currentColor;}
@media(max-width:1150px){ .metrics-strip {grid-template-columns:repeat(2,minmax(0,1fr))!important;} .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))!important;} }
@media(max-width:720px){ .main-scroll{padding:20px 14px!important;} .sidebar{width:72px!important;min-width:72px!important;} .sidebar-brand-text,.sidebar-section,.sidebar-user-info,.sidebar-signout{display:none!important;} .sidebar-item{justify-content:center;font-size:0!important;padding:12px 0!important;gap:0!important;} .sidebar-item svg{width:20px;height:20px;flex-shrink:0;} .sidebar-brand{padding:25px 20px!important;} .sidebar-avatar{margin:auto;} .sidebar-user{justify-content:center;padding:9px!important;} .topbar-search{display:none!important;} .page-header{flex-wrap:wrap;gap:12px;} .grid-2,.grid-3,.grid-4,.metrics-strip{grid-template-columns:1fr!important;} .metric-card{min-height:112px;} .card-body{padding:16px!important;} .ct-chart-canvas{height:180px;} }
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
@media(max-width:720px) { .sidebar {display:flex!important;} .main-content{margin-left:72px!important;} .topbar{padding-inline:14px!important;} }
