/* ============================================================
   SolidExpert - Stylesheet
   Clean, modern, print-friendly (80mm receipts)
   ============================================================ */
:root {
    --sidebar-bg: #14261f;
    --sidebar-bg2: #0d1a15;
    --accent: #0e9f6e;
    --accent-dark: #0a7a55;
    --amber: #d97706;
    --red: #dc2626;
    --bg: #f1f5f4;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--sidebar-bg), var(--sidebar-bg2));
    color: #cbd5d1;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    overflow-y: auto;
    z-index: 40;
    display: flex;
    flex-direction: column;
}
.main { flex: 1; margin-left: 250px; display: flex; flex-direction: column; min-width: 0; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-mark {
    width: 42px; height: 42px; border-radius: 10px; flex: none;
    background: linear-gradient(135deg, var(--accent), #34d399);
    color: #fff; font-weight: 700; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { font-size: 11px; color: #7fa395; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; background: #fff; padding: 2px; flex: 0 0 auto; }
.trial-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }

/* ---------- Nav ---------- */
.nav { padding: 10px 0 30px; flex: 1; }
.nav-section {
    font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
    color: #6f8b80; padding: 16px 20px 6px;
}
.nav-link {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 20px; color: #cbd5d1; font-size: 13.5px;
    border-left: 3px solid transparent;
}
.nav-link svg { opacity: .75; flex: none; }
.nav-link:hover { background: rgba(255,255,255,.05); color: #fff; text-decoration: none; }
.nav-link.active {
    background: rgba(14,159,110,.15);
    border-left-color: var(--accent);
    color: #fff;
}
.nav-link.active svg { opacity: 1; color: #34d399; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex; align-items: center; gap: 14px;
    position: sticky; top: 0; z-index: 30;
}
.topbar-title { font-size: 18px; font-weight: 600; flex: 1; }
.topbar-user { display: flex; align-items: center; gap: 12px; }
.topbar-user-info { display: flex; flex-direction: column; text-align: right; line-height: 1.25; }
.topbar-user-info strong { font-size: 13px; }
.topbar-user-info span { font-size: 11px; color: var(--muted); }
.hamburger { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text); }

/* ---------- Content ---------- */
.content { padding: 24px; max-width: 1400px; width: 100%; }

/* ---------- Cards ---------- */
.card {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
    margin-bottom: 20px;
}
.card-header {
    padding: 14px 20px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.card-header h2, .card-header h3 { font-size: 15px; font-weight: 600; }
.card-body { padding: 20px; }
.card-body.flush { padding: 0; }

/* ---------- KPI grid ---------- */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .kpi-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kpi-grid.cols-3 { grid-template-columns: 1fr; } }
.kpi {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
    background: var(--card); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: var(--shadow); padding: 15px 18px 16px;
}
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.kpi.k-amber::before { background: var(--amber); }
.kpi.k-red::before { background: var(--red); }
.kpi.k-blue::before { background: #2563eb; }
.kpi-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.kpi-icon {
    flex: none; width: 32px; height: 32px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(14,159,110,.12); color: var(--accent-dark);
}
.kpi.k-amber .kpi-icon { background: rgba(217,119,6,.13); color: var(--amber); }
.kpi.k-red .kpi-icon { background: rgba(220,38,38,.12); color: var(--red); }
.kpi.k-blue .kpi-icon { background: rgba(37,99,235,.12); color: #2563eb; }
.kpi-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; align-self: center; }
.kpi-value { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 12px; color: var(--muted); }
.kpi-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kpi-delta { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.kpi-delta.up { background: #dcfce7; color: #166534; }
.kpi-delta.down { background: #fee2e2; color: #991b1b; }
.kpi-delta.flat { background: #f3f4f6; color: #4b5563; }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-greet { font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.dash-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.grid-main { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; align-items: start; }
.grid-main > * { min-width: 0; }
@media (max-width: 980px) { .grid-main { grid-template-columns: 1fr; } }
.chip { font-size: 12px; color: var(--muted); background: #f3f6f5; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.chip strong { color: var(--text); font-variant-numeric: tabular-nums; }

.chart-card-body { overflow-x: clip; }
.chart-plot { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 18px; }
.chart-lines { position: absolute; inset: 18px 0 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-lines i { display: block; height: 0; border-top: 1px dashed var(--border); }
.chart-bar { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.chart-bar b {
    position: relative; display: block; width: 100%; border-radius: 5px 5px 2px 2px;
    background: #cfe9dd; transition: background .15s ease;
}
.chart-bar b::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
    background: #0f172a; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease; z-index: 2;
}
.chart-bar:nth-child(2) b::after, .chart-bar:nth-child(3) b::after { left: 0; transform: none; }
.chart-bar:last-child b::after, .chart-bar:nth-last-child(2) b::after { left: auto; right: 0; transform: none; }
.chart-bar:hover b, .chart-bar.today b { background: var(--accent); }
.chart-bar:hover b::after { opacity: 1; }
.chart-axis { display: flex; gap: 6px; margin-top: 8px; font-size: 10.5px; color: var(--muted); }
.chart-axis span { flex: 1 1 0; min-width: 0; text-align: center; overflow: hidden; }
.chart-axis span.today { color: var(--text); font-weight: 700; }
.chart-note { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.chart-note b { color: var(--text); font-variant-numeric: tabular-nums; }
.key { display: inline-flex; align-items: center; gap: 6px; }
.key i { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); display: block; }
.key.ghost i { background: #cfe9dd; }

.stock-list { display: flex; flex-direction: column; }
.stock-row { padding: 12px 20px; border-bottom: 1px solid #f0f2f5; }
.stock-row:last-child { border-bottom: none; }
.stock-foot { padding: 14px 20px; border-top: 1px solid var(--border); }
.stock-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.stock-name { font-size: 13px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stock-qty { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stock-track { height: 5px; border-radius: 999px; background: #eef2f1; margin-top: 8px; overflow: hidden; }
.stock-fill { height: 100%; border-radius: 999px; background: var(--red); }
.stock-fill.warn { background: var(--amber); }
.stock-fill.ok { background: var(--accent); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }
.tile {
    display: flex; align-items: center; gap: 11px; padding: 12px 13px; color: var(--text);
    border: 1px solid var(--border); border-radius: 12px; background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); text-decoration: none; }
.tile-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; background: #eef7f3; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; }
.tile strong { display: block; font-size: 13px; line-height: 1.35; }
.tile small { color: var(--muted); font-size: 11.5px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
    text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); font-weight: 600; padding: 11px 14px;
    background: #f8fafc; border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 10px 14px; border-bottom: 1px solid #f0f2f5; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #f9fbfa; }
.table .num, .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .ctr { text-align: center; }
.tfoot td { font-weight: 700; background: #f8fafc; border-top: 2px solid var(--border); }

/* ---------- Badges ---------- */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-red   { background: #fee2e2; color: #991b1b; }
.badge-grey  { background: #f3f4f6; color: #4b5563; }
.badge-blue  { background: #dbeafe; color: #1e40af; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 8px; border: 1px solid transparent;
    font-size: 13.5px; font-weight: 600; cursor: pointer; line-height: 1.4;
    transition: background .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: #eef2f1; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: #e2e8f0; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-warning { background: var(--amber); color: #fff; }
.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 7px; }
.form-sm { width: auto; height: 28px; padding: 2px 6px; font-size: 12.5px; border-radius: 7px; }
.btn-light { background: #f3f4f6; color: var(--text); border-color: var(--border); }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 12.5px; font-weight: 600; color: #374151; }
label .req { color: var(--red); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="date"], input[type="time"], input[type="search"], select, textarea {
    padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 13.5px; font-family: inherit; background: #fff; color: var(--text);
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(14,159,110,.35); border-color: var(--accent);
}
textarea { resize: vertical; min-height: 70px; }
.form-hint { font-size: 12px; color: var(--muted); }
.form-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 13.5px; border: 1px solid; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info    { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }

/* ---------- Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.text-right { text-align: right; }
.flex { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }
.section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 22px 0 10px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; flex-wrap: wrap; }
.tabs a {
    padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--accent-dark); border-bottom-color: var(--accent); }

/* ---------- Filters bar ---------- */
.filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px 16px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.filter-bar .form-group { min-width: 140px; }

/* ---------- Auth pages ---------- */
.auth-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--sidebar-bg), #1a3c2f 55%, var(--accent-dark));
    padding: 20px;
}
.auth-card {
    background: var(--card); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.35);
    width: 100%; max-width: 400px; padding: 36px;
}
.auth-card .brand-mark { margin: 0 auto 14px; width: 56px; height: 56px; font-size: 26px; border-radius: 14px; }
.auth-card h1 { text-align: center; font-size: 20px; margin-bottom: 4px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.auth-card .form-group { margin-bottom: 14px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- POS ---------- */
.pos-layout { display: grid; grid-template-columns: 1fr 420px; gap: 20px; align-items: start; }
.pos-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; max-height: calc(100vh - 260px); overflow-y: auto; padding: 4px; }
.pos-product {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    padding: 10px; cursor: pointer; text-align: left; font-family: inherit;
    display: flex; flex-direction: column; gap: 4px; min-height: 74px;
}
.pos-product:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.pos-product .p-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.pos-product .p-price { font-size: 13px; color: var(--accent-dark); font-weight: 700; }
.pos-product .p-stock { font-size: 11px; color: var(--muted); }
.pos-cart { position: sticky; top: 86px; }
.pos-cart-items { max-height: 320px; overflow-y: auto; }
.pos-totals { border-top: 2px solid var(--border); padding-top: 12px; margin-top: 8px; }
.pos-totals .row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
.pos-totals .grand { font-size: 20px; font-weight: 700; color: var(--accent-dark); }
.pos-barcode-input { font-size: 15px; padding: 11px 14px; }
.qty-input { width: 60px; text-align: center; padding: 4px 6px; }
.cart-table td { padding: 6px 8px; }

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(10,20,16,.55);
    display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal {
    background: #fff; border-radius: 14px; width: 100%; max-width: 480px;
    padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.modal h3 { margin-bottom: 14px; font-size: 17px; }

/* ---------- Receipt / invoice print ---------- */
.receipt-paper {
    width: 80mm; max-width: 100%; margin: 0 auto; background: #fff;
    font-family: "Courier New", monospace; font-size: 12.5px; padding: 10mm 6mm; color: #000;
}
.receipt-paper .r-center { text-align: center; }
.receipt-paper h2 { font-size: 15px; margin-bottom: 2px; }
.receipt-paper .r-line { border-top: 1px dashed #000; margin: 7px 0; }
.receipt-paper table { width: 100%; border-collapse: collapse; }
.receipt-paper th, .receipt-paper td { text-align: left; padding: 2px 0; vertical-align: top; }
.receipt-paper .r-right { text-align: right; white-space: nowrap; }
.doc-paper {
    max-width: 210mm; margin: 0 auto; background: #fff; padding: 18mm;
    font-size: 13px; color: #000;
}
.doc-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.doc-head h2 { font-size: 20px; }

.print-actions { text-align: center; margin: 14px 0 24px; display: flex; gap: 10px; justify-content: center; }

@media print {
    body { background: #fff; }
    .sidebar, .topbar, .print-actions, .alert { display: none !important; }
    .main { margin-left: 0 !important; }
    .content { padding: 0 !important; max-width: none !important; }
    .card { border: none !important; box-shadow: none !important; margin: 0 !important; }
    .card-body { padding: 0 !important; }
    .no-print { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .pos-layout { grid-template-columns: 1fr; }
    .pos-cart { position: static; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .sidebar { transform: translateX(-100%); transition: transform .2s; }
    .sidebar.open { transform: none; }
    .main { margin-left: 0; }
    .hamburger { display: block; }
    .content { padding: 16px; }
    .topbar-user-info { display: none; }
}

/* ---------- Registration wizard ---------- */
.reg-wrap { min-height: 100vh; background: linear-gradient(135deg, var(--sidebar-bg), #1a3c2f 55%, var(--accent-dark)); padding: 0 16px 60px; font-family: inherit; }
.reg-topbar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; color: #fff; }
.reg-topbar .reg-brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; }
.reg-topbar .reg-brand-icon { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #34d399); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.reg-topbar a { color: #fff; text-decoration: none; font-weight: 500; margin-left: 26px; }
.reg-topbar a:hover { text-decoration: underline; }
.reg-card { background: #fff; border-radius: 14px; max-width: 1240px; margin: 0 auto; padding: 42px 48px 34px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.reg-title { text-align: center; font-size: 30px; letter-spacing: 1px; margin: 0; color: #1c1c28; }
.reg-sub { text-align: center; color: #6b7280; margin: 8px 0 28px; }
.reg-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.reg-step { padding: 16px 20px; border-radius: 6px; font-size: 16px; background: #e9eaec; color: #9aa0a6; transition: background .2s; }
.reg-step.done { background: #34d399; color: #0a3d2b; }
.reg-step.active { background: var(--accent-dark); color: #fff; }
.reg-fieldset { border: none; padding: 0; margin: 0; }
.reg-section-title { font-size: 22px; color: #1c1c28; margin: 0 0 22px; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 44px; }
.reg-grid .full { grid-column: 1 / -1; }
@media (max-width: 760px) { .reg-grid { grid-template-columns: 1fr; } .reg-card { padding: 26px 20px; } .reg-steps { gap: 8px; } .reg-step { font-size: 13px; padding: 12px 10px; } }
.reg-field label { display: block; font-weight: 600; color: #333a45; margin-bottom: 7px; font-size: 14px; }
.reg-field .req { color: #d33; }
.reg-control { display: flex; align-items: stretch; }
.reg-icon { width: 38px; min-width: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-right: none; border-radius: 4px 0 0 4px; background: #fff; color: #4a5160; }
.reg-control input, .reg-control select { flex: 1; height: 42px; border: 1px solid var(--border); border-radius: 0 4px 4px 0; padding: 0 12px; font-size: 14px; color: var(--text); background: #fff; min-width: 0; }
.reg-control select { appearance: auto; }
.reg-control input:focus, .reg-control select:focus { outline: 2px solid rgba(14,159,110,.35); border-color: var(--accent); }
.reg-control input[type=file] { padding: 8px 10px; height: 42px; }
.reg-actions { display: flex; justify-content: flex-end; gap: 14px; margin-top: 36px; }
.btn-prev { background: var(--sidebar-bg); color: #fff; border: none; border-radius: 8px; padding: 13px 30px; font-size: 15px; cursor: pointer; }
.btn-next { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 13px 34px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-next:hover { background: var(--accent-dark); }
.btn-prev:disabled { background: #e4e4e4; color: #999; cursor: not-allowed; }
.reg-terms { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #333a45; margin-top: 4px; }
.reg-terms input { width: 17px; height: 17px; }
.reg-trial-note { margin-top: 22px; background: #f2fbf6; border: 1px solid #bfe8d2; color: #1c7c4d; border-radius: 8px; padding: 12px 16px; font-size: 14px; }
.reg-alert { max-width: 1240px; margin: 0 auto 14px; }
