/* ========== TUTORIÁLOVÝ PRŮVODCE (components/wizard/Wizard) ========== */

dialog.wizard {
    margin: auto;
    border: none;
    border-radius: var(--radius-lg);
    padding: 0;
    width: min(480px, calc(100vw - 32px));
    box-shadow: var(--shadow-xl);
    color: var(--text);
}

dialog.wizard::backdrop {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.wizard-shell {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 64px);
    margin: 0;
}

.wizard-hlava {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.wizard-titulek {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

.wizard-zavrit {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--bg-hover);
    color: var(--text-secondary);
    cursor: pointer;
}

.wizard-zavrit:hover {
    background: var(--border);
}

.wizard-tecky {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 16px 0 0;
}

.wizard-tecka {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    transition: background var(--transition-fast);
}

.wizard-tecka.aktivni {
    background: var(--primary);
}

.wizard-obsah {
    padding: 20px 24px;
    overflow-y: auto;
}

.wizard-krok-cislo {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.wizard-krok-titulek {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.wizard-krok-telo {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.wizard-krok-telo code {
    background: var(--bg-hover);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
}

.wizard-krok-obrazek {
    width: 100%;
    border-radius: var(--radius-md);
    margin-top: 14px;
    border: 1px solid var(--border);
}

.wizard-patka {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

.wizard-patka [data-wizard-dalsi] {
    margin-left: auto;
}
