/* shared.css — Chytré SVJ design systém | Dark theme | Lexend font */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

/* === PROMĚNNÉ === */
:root {
    --c-primary:        #3b82f6;
    --c-primary-hover:  #2563eb;
    --c-primary-dim:    rgba(59,130,246,.15);
    --c-success:        #22c55e;
    --c-success-dim:    rgba(34,197,94,.15);
    --c-warning:        #f59e0b;
    --c-warning-dim:    rgba(245,158,11,.15);
    --c-danger:         #ef4444;
    --c-danger-dim:     rgba(239,68,68,.15);
    --c-neutral:        #94a3b8;
    --c-bg:             #0f172a;
    --c-surface:        #1e293b;
    --c-surface2:       #263548;
    --c-surface3:       #2d3f56;
    --c-border:         #334155;
    --c-border-light:   #1e293b;
    --c-text:           #f1f5f9;
    --c-text-muted:     #94a3b8;
    --c-text-dim:       #64748b;
    --radius:           8px;
    --radius-lg:        12px;
    --radius-xl:        16px;
    --shadow:           0 1px 4px rgba(0,0,0,.4);
    --shadow-lg:        0 4px 24px rgba(0,0,0,.5);
    --sidebar-w:        260px;
    --topbar-h:         60px;
    --transition:       .18s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Lexend', system-ui, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-hover); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea, button { font-family: inherit; }

/* === LAYOUT === */
.app-layout { display: flex; min-height: 100vh; }

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-w);
    background: var(--c-surface);
    border-right: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform var(--transition);
}
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--c-border);
    text-decoration: none;
}
.sidebar-logo-icon {
    width: 36px; height: 36px;
    background: var(--c-primary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 700;
    flex-shrink: 0;
}
.sidebar-logo-text { font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.2; }
.sidebar-logo-text small { font-size: 11px; font-weight: 400; color: var(--c-text-muted); display: block; }

.sidebar-section { padding: 8px 0; }
.sidebar-section-label {
    font-size: 10px; font-weight: 600; color: var(--c-text-dim);
    text-transform: uppercase; letter-spacing: .08em;
    padding: 8px 20px 4px;
}

.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 20px;
    color: var(--c-text-muted);
    font-size: 14px; font-weight: 400;
    text-decoration: none;
    border-radius: 0;
    transition: background var(--transition), color var(--transition);
    position: relative;
}
.nav-item:hover { background: var(--c-surface2); color: var(--c-text); }
.nav-item.active {
    background: var(--c-primary-dim);
    color: var(--c-primary);
    font-weight: 600;
}
.nav-item.active::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--c-primary);
    border-radius: 0 2px 2px 0;
}
.nav-item .icon { width: 18px; text-align: center; opacity: .8; flex-shrink: 0; }
.nav-item .badge {
    margin-left: auto;
    background: var(--c-danger);
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px; text-align: center;
}

.sidebar-bottom {
    margin-top: auto;
    border-top: 1px solid var(--c-border);
    padding: 16px 20px;
}
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.sidebar-user-avatar {
    width: 34px; height: 34px;
    background: var(--c-primary-dim);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary); font-weight: 700; font-size: 14px;
    flex-shrink: 0;
}
.sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--c-text); }
.sidebar-user-role { font-size: 11px; color: var(--c-text-muted); }
.sidebar-logout {
    display: block; margin-top: 8px;
    padding: 6px 12px;
    background: var(--c-surface2);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text-muted);
    font-size: 13px; text-align: center;
    text-decoration: none;
    transition: all var(--transition);
}
.sidebar-logout:hover { background: var(--c-danger-dim); color: var(--c-danger); border-color: var(--c-danger); }

/* --- Main area --- */
.main-area {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Topbar --- */
.topbar {
    height: var(--topbar-h);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    display: flex; align-items: center;
    padding: 0 24px;
    gap: 16px;
    position: sticky; top: 0; z-index: 50;
}
.topbar-hamburger {
    display: none;
    background: none; border: none; color: var(--c-text-muted);
    font-size: 20px; padding: 4px; cursor: pointer;
}
.topbar-title { font-size: 16px; font-weight: 600; color: var(--c-text); flex: 1; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }

/* --- Content --- */
.content { padding: 24px; flex: 1; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-title { font-size: 22px; font-weight: 700; color: var(--c-text); }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* === CARDS === */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.card-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid var(--c-border);
}
.card-title { font-size: 15px; font-weight: 600; color: var(--c-text); }
.card-actions { display: flex; gap: 8px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.stat-card:hover { background: var(--c-surface2); border-color: var(--c-primary); transform: translateY(-1px); }
.stat-card-label { font-size: 12px; font-weight: 500; color: var(--c-text-muted); margin-bottom: 6px; }
.stat-card-value { font-size: 28px; font-weight: 700; line-height: 1; }
.stat-card.red   .stat-card-value { color: var(--c-danger); }
.stat-card.orange .stat-card-value { color: var(--c-warning); }
.stat-card.yellow .stat-card-value { color: #eab308; }
.stat-card.blue  .stat-card-value { color: var(--c-primary); }
.stat-card.green .stat-card-value { color: var(--c-success); }
.stat-card-sub { font-size: 11px; color: var(--c-text-dim); margin-top: 4px; }

/* === TLAČÍTKA === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 16px;
    border-radius: var(--radius);
    font-size: 14px; font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    min-height: 38px;
}
.btn-primary   { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn-success   { background: var(--c-success); color: #fff; }
.btn-success:hover { opacity: .88; color: #fff; }
.btn-danger    { background: var(--c-danger); color: #fff; }
.btn-danger:hover  { opacity: .88; color: #fff; }
.btn-warning   { background: var(--c-warning); color: #0f172a; }
.btn-warning:hover { opacity: .88; color: #0f172a; }
.btn-secondary {
    background: var(--c-surface2);
    color: var(--c-text);
    border-color: var(--c-border);
}
.btn-secondary:hover { background: var(--c-surface3); color: var(--c-text); }
.btn-ghost {
    background: transparent;
    color: var(--c-text-muted);
    border-color: transparent;
}
.btn-ghost:hover { background: var(--c-surface2); color: var(--c-text); }
.btn-sm { padding: 5px 10px; font-size: 12px; min-height: 28px; }
.btn-lg { padding: 12px 24px; font-size: 16px; min-height: 48px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* === FORMULÁŘE === */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--c-text-muted); margin-bottom: 6px; }
label .req { color: var(--c-danger); }

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], input[type="tel"],
input[type="url"], select, textarea {
    width: 100%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text);
    font-family: inherit;
    font-size: 14px;
    padding: 9px 12px;
    outline: none;
    transition: border-color var(--transition);
    min-height: 40px;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px var(--c-primary-dim);
}
input::placeholder, textarea::placeholder { color: var(--c-text-dim); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 11px; color: var(--c-text-dim); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--c-danger); margin-top: 4px; }
.form-section { margin-bottom: 28px; }
.form-section-title { font-size: 14px; font-weight: 600; color: var(--c-text-muted); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--c-border); }
.checkbox-group { display: flex; align-items: center; gap: 8px; }
.checkbox-group input[type="checkbox"] { width: auto; min-height: auto; }

/* === TABULKY === */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
    text-align: left; padding: 10px 12px;
    font-size: 11px; font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase; letter-spacing: .06em;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
    white-space: nowrap;
}
tbody td { padding: 11px 12px; border-bottom: 1px solid var(--c-border-light); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--c-surface2); }
.table-actions { display: flex; gap: 4px; }

/* === BADGES / STATUSY === */
.badge {
    display: inline-flex; align-items: center;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px; font-weight: 600;
    white-space: nowrap;
}
.badge-success { background: var(--c-success-dim); color: var(--c-success); }
.badge-danger  { background: var(--c-danger-dim);  color: var(--c-danger);  }
.badge-warning { background: var(--c-warning-dim); color: var(--c-warning); }
.badge-primary { background: var(--c-primary-dim); color: var(--c-primary); }
.badge-neutral { background: rgba(100,116,139,.15); color: var(--c-neutral); }

/* === ALERTS === */
.alert {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: var(--c-success-dim); color: var(--c-success); border: 1px solid rgba(34,197,94,.3); }
.alert-danger  { background: var(--c-danger-dim);  color: var(--c-danger);  border: 1px solid rgba(239,68,68,.3); }
.alert-warning { background: var(--c-warning-dim); color: var(--c-warning); border: 1px solid rgba(245,158,11,.3); }
.alert-info    { background: var(--c-primary-dim); color: var(--c-primary); border: 1px solid rgba(59,130,246,.3); }

/* === MODAL === */
.modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 200;
    align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    width: 100%; max-width: 540px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--c-border);
}
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--c-text-muted); font-size: 20px; cursor: pointer; padding: 2px; }
.modal-close:hover { color: var(--c-text); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--c-border); display: flex; justify-content: flex-end; gap: 8px; }

/* === TABS === */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--c-border); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
    padding: 10px 18px;
    font-size: 14px; font-weight: 500;
    color: var(--c-text-muted);
    background: none; border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
    text-decoration: none;
    display: inline-block;
}
.tab-btn:hover { color: var(--c-text); }
.tab-btn.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* === EMPTY STATE === */
.empty-state { text-align: center; padding: 48px 24px; color: var(--c-text-muted); }
.empty-state-icon { font-size: 48px; margin-bottom: 12px; opacity: .4; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: var(--c-text); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* === PROGRESS BAR === */
.progress-wrap { background: var(--c-border); border-radius: 4px; height: 8px; overflow: hidden; }
.progress-bar  { height: 100%; border-radius: 4px; transition: width .4s ease; }
.progress-bar.green  { background: var(--c-success); }
.progress-bar.red    { background: var(--c-danger); }
.progress-bar.blue   { background: var(--c-primary); }
.progress-bar.orange { background: var(--c-warning); }

/* === SEARCH & FILTERS === */
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.search-input { position: relative; }
.search-input input { padding-left: 36px; }
.search-input::before { content: '🔍'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 14px; pointer-events: none; }

/* === GRID HELPERS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

/* === TEXT HELPERS === */
.text-muted { color: var(--c-text-muted); }
.text-dim   { color: var(--c-text-dim); }
.text-success { color: var(--c-success); }
.text-danger  { color: var(--c-danger); }
.text-warning { color: var(--c-warning); }
.text-primary { color: var(--c-primary); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-8 { gap: 8px; }

/* === SPINNER === */
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--c-border); border-top-color: var(--c-primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === NOTICE BOX === */
.notice { padding: 12px 16px; border-radius: var(--radius); background: var(--c-surface2); border-left: 3px solid var(--c-primary); font-size: 13px; color: var(--c-text-muted); margin-bottom: 16px; }

/* === LANDING PAGE — přepis pro index.php === */
.landing { background: var(--c-bg); }
.lp-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 48px;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
    position: sticky; top: 0; z-index: 50;
}
.lp-nav-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: var(--c-text); text-decoration: none; }
.lp-nav-logo-icon { width: 34px; height: 34px; background: var(--c-primary); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.lp-nav-links { display: flex; gap: 24px; align-items: center; }
.lp-nav-links a { color: var(--c-text-muted); font-size: 14px; font-weight: 500; transition: color var(--transition); }
.lp-nav-links a:hover { color: var(--c-text); }
.lp-section { padding: 80px 48px; max-width: 1100px; margin: 0 auto; }
.lp-hero { text-align: center; }
.lp-hero-badge { display: inline-block; background: var(--c-primary-dim); color: var(--c-primary); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; }
.lp-hero h1 { font-size: 52px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.lp-hero h1 span { color: var(--c-primary); }
.lp-hero p { font-size: 20px; color: var(--c-text-muted); max-width: 600px; margin: 0 auto 36px; line-height: 1.6; }
.lp-cta-group { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.lp-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.lp-feature-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 28px; transition: border-color var(--transition); }
.lp-feature-card:hover { border-color: var(--c-primary); }
.lp-feature-icon { font-size: 32px; margin-bottom: 16px; }
.lp-feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.lp-feature-text  { font-size: 14px; color: var(--c-text-muted); line-height: 1.6; }
.lp-section-title { text-align: center; font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.lp-section-sub   { text-align: center; font-size: 16px; color: var(--c-text-muted); margin-bottom: 48px; }
.lp-pricing-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 700px; margin: 0 auto; }
.lp-price-card    { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 32px; }
.lp-price-card.featured { border-color: var(--c-primary); background: var(--c-surface2); }
.lp-price-name    { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.lp-price-amount  { font-size: 36px; font-weight: 700; color: var(--c-primary); margin: 8px 0 4px; }
.lp-price-period  { font-size: 13px; color: var(--c-text-muted); margin-bottom: 20px; }
.lp-price-features { list-style: none; margin-bottom: 24px; }
.lp-price-features li { padding: 6px 0; font-size: 14px; color: var(--c-text-muted); }
.lp-price-features li::before { content: '✓ '; color: var(--c-success); }
.lp-footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.lp-footer-copy { font-size: 13px; color: var(--c-text-muted); }
.lp-footer-links { display: flex; gap: 20px; }
.lp-footer-links a { font-size: 13px; color: var(--c-text-muted); }
.lp-footer-links a:hover { color: var(--c-text); }

/* === AUTH STRÁNKY (login, register) === */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: var(--c-bg); }
.auth-box { width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo-icon { width: 52px; height: 52px; background: var(--c-primary); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; font-weight: 700; margin: 0 auto 12px; }
.auth-logo-text { font-size: 22px; font-weight: 700; }
.auth-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-lg); }
.auth-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--c-text-muted); margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--c-text-muted); }
.auth-footer a { color: var(--c-primary); }

/* === PORTÁL VLASTNÍKA === */
.portal-page { max-width: 760px; margin: 0 auto; padding: 24px; }
.portal-header { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: 28px; margin-bottom: 24px; }
.portal-header-top { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.portal-logo { width: 48px; height: 48px; background: var(--c-primary-dim); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--c-primary); font-size: 24px; }

/* === WIZARD === */
.wizard-steps { display: flex; align-items: center; gap: 0; margin-bottom: 32px; }
.wizard-step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--c-text-dim); flex: 1; }
.wizard-step-num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--c-border); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--c-surface); flex-shrink: 0; }
.wizard-step.active .wizard-step-num { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.wizard-step.done .wizard-step-num { background: var(--c-success); border-color: var(--c-success); color: #fff; }
.wizard-step.active { color: var(--c-text); }
.wizard-step.done   { color: var(--c-success); }
.wizard-connector { flex: 0 0 24px; height: 1px; background: var(--c-border); margin: 0 4px; }

/* === QUICK ACTIONS (dashboard mobile shortcuts) === */
.quick-actions { display: none; }
@media (max-width: 768px) { .quick-actions { display: flex; } }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .main-area { margin-left: 0; }
    .topbar-hamburger { display: block; }
    .content { padding: 16px; }
    .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .lp-hero h1 { font-size: 32px; }
    .lp-section { padding: 48px 20px; }
    .lp-nav { padding: 14px 20px; }
    .lp-pricing-grid { grid-template-columns: 1fr; }
    .lp-footer { flex-direction: column; text-align: center; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .modal { margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 95vh; }
    .modal-overlay { align-items: flex-end; padding: 0; }
}
@media (max-width: 480px) {
    .stat-cards { grid-template-columns: 1fr 1fr; }
    .page-header { flex-direction: column; align-items: flex-start; }
}
