.create-room-wizard-modal {
    width: min(100%, 680px);
}

.create-room-wizard {
    max-width: none;
}

.wizard-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 22px;
}

.wizard-progress-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--muted);
    font-weight: 950;
}

.wizard-progress-step.active {
    border-color: rgba(21, 92, 255, 0.42);
    background: var(--primary-soft);
    color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(21, 92, 255, 0.12);
}

.wizard-progress-step.done {
    border-color: var(--success-border);
    background: var(--success-bg);
    color: var(--success-text);
}

.wizard-step {
    border: 1px solid rgba(223, 230, 244, 0.9);
    border-radius: 22px;
    padding: clamp(16px, 3vw, 22px);
    background: rgba(248, 251, 255, 0.78);
}

.wizard-step[hidden] {
    display: none;
}

.wizard-step h4 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.wizard-step-count {
    margin-bottom: 6px;
    color: var(--primary-dark);
    font-weight: 900;
}

.wizard-setting-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.wizard-setting-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.wizard-setting-card:hover {
    transform: translateY(-1px);
    border-color: rgba(21, 92, 255, 0.35);
    box-shadow: 0 10px 24px rgba(11, 27, 63, 0.08);
}

.wizard-setting-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.wizard-setting-card input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.wizard-setting-card strong,
.wizard-setting-card span span {
    display: block;
}

.wizard-setting-card strong {
    margin-bottom: 3px;
    color: var(--ink);
    font-weight: 950;
}

.wizard-setting-card span span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 650;
}

.wizard-review-card {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
}

.wizard-review-card > div {
    display: grid;
    gap: 3px;
}

.wizard-review-card strong {
    font-size: 1.05rem;
}

.wizard-review-card ul {
    display: grid;
    gap: 8px;
    margin: 6px 0 0;
    padding-left: 20px;
    color: var(--muted);
    font-weight: 750;
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
}

.wizard-actions button {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .create-room-wizard-modal {
        width: min(100%, 540px);
    }

    .wizard-progress {
        gap: 8px;
    }

    .wizard-progress-step {
        min-height: 34px;
    }

    .wizard-actions {
        flex-direction: column-reverse;
    }

    .wizard-actions button {
        width: 100%;
    }
}
