/* docs/117 J1 — a workOrderManagement static/css/arajan-quote-wizard/_header.css SZÓ SZERINTI másolata; csak a színek a mi admin.css tokenjeinkre cserélve (wom_css.py), a CDN-@import és a backdrop-filter kihagyva. */
.wiz-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: color-mix(in srgb, var(--card) 95%, transparent);


    border-bottom: 1.5px solid var(--border);
    box-shadow: 0 2px 16px color-mix(in srgb, var(--blue) 6%, transparent);
}

.wiz-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wiz-brand { display: flex; align-items: center; gap: 10px; }

.wiz-brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue) 100%);
    color: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px var(--p-glow);
}

.wiz-brand-text  { display: flex; flex-direction: column; }

.wiz-brand-name {
    font-size: 16px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -.3px;
}

.wiz-brand-sub {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    margin-top: 1px;
}

.wiz-header-right { display: flex; align-items: center; gap: 8px; }

.wiz-draft-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--ok) 10%, transparent);
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
    border: 1px solid color-mix(in srgb, var(--ok) 20%, transparent);
}

.wiz-draft-status i { font-size: 8px; animation: pulse 2s infinite; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}

.wiz-icon-action {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: var(--card);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--t);
}

.wiz-icon-action:hover {
    border-color: var(--p);
    color: var(--p);
    background: var(--p-soft);
    transform: rotate(30deg);
}

/* ── Stepper ── */
.wiz-stepper-wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 4px 16px 8px;
}

.wiz-stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.wiz-step-track {
    position: absolute;
    top: 17px; left: 20px; right: 20px;
    height: 3px;
    background: var(--border);
    border-radius: 999px;
    z-index: 0;
}

.wiz-step-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--p) 0%, var(--blue) 100%);
    border-radius: 999px;
    transition: width .5s cubic-bezier(.4,0,.2,1);
}

.wiz-step {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    min-width: 0;
    transition: var(--t);
}

.wiz-step-label { font-size: 10px; }

.wiz-step-bubble {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--border);
    background: var(--card);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 13px;
    transition: var(--t);
    position: relative;
}

.wiz-step-check { display: none; }
.wiz-step-num   { display: block; }

.wiz-step.active .wiz-step-bubble {
    border-color: var(--p);
    background: linear-gradient(135deg, var(--p) 0%, var(--blue) 100%);
    color: var(--card);
    transform: scale(1.1);
    box-shadow: 0 0 0 5px var(--p-soft), 0 6px 18px var(--p-glow);
}

.wiz-step.active .wiz-step-label { color: var(--p); font-weight: 900; }

.wiz-step.completed .wiz-step-bubble {
    border-color: var(--success);
    background: var(--success);
    color: var(--card);
}

.wiz-step.completed .wiz-step-check { display: block; }
.wiz-step.completed .wiz-step-num   { display: none; }
.wiz-step.completed .wiz-step-label { color: var(--success); }

.wiz-step:not(.active):hover .wiz-step-label { color: var(--p); }

@media (max-width: 480px) {
    .wiz-header-inner  { padding: 5px 12px; }
    .wiz-stepper-wrap  { padding: 3px 12px 7px; }
    .wiz-brand-sub     { display: none; }
    .wiz-draft-status span { display: none; }
    .wiz-brand-icon    { width: 26px; height: 26px; font-size: 11px; border-radius: 8px; }
    .wiz-brand-name    { font-size: 14px; }
    .wiz-stepper       { gap: 0; }
    .wiz-step-label    { font-size: 9px; }
    .wiz-step-bubble   { width: 30px; height: 30px; font-size: 12px; }
    .wiz-step-track    { top: 14px; height: 2px; }
    .wiz-icon-action   { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
}