/* ============ NovaAPI brand theme (injected) ============ */
:root {
  --brand-primary: #6366f1;
  --brand-primary-soft: #818cf8;
  --brand-dark: #1e1b4b;
}
html { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
body { background: radial-gradient(1200px 600px at 80% -10%, rgba(99,102,241,.10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(99,102,241,.08), transparent 55%); background-attachment: fixed; }
/* login / auth screen polish */
[class*="login"], [class*="auth"], [class*="welcome"] { letter-spacing: .01em; }
/* primary buttons -> indigo */
button:not(:disabled), .ant-btn-primary { transition: all .18s ease; }
/* nicer cards */
.ant-card { border-radius: 14px !important; box-shadow: 0 1px 3px rgba(30,27,75,.06), 0 8px 24px -12px rgba(30,27,75,.12) !important; }
/* tables */
.ant-table { border-radius: 12px !important; }
.ant-table-thead > tr > th { font-weight: 600 !important; color: #334155 !important; }
/* rounded inputs & selects */
.ant-input, .ant-select-selector, .ant-picker { border-radius: 10px !important; }
.ant-modal-content { border-radius: 16px !important; }
.ant-tabs-top > div > .ant-tabs-nav::before { border-bottom-color: #e2e8f0; }
/* dark mode tweaks */
html.dark body { background: radial-gradient(1200px 600px at 80% -10%, rgba(99,102,241,.16), transparent 60%), #0b1020; }
html.dark .ant-card { box-shadow: 0 8px 24px -12px rgba(0,0,0,.5) !important; }
/* subtle scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c7d2fe; border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
html.dark ::-webkit-scrollbar-thumb { background: #4338ca; border: 2px solid transparent; background-clip: content-box; }
