/* Setup Wizard Styles */

.setup-wizard {
    max-width: 900px;
    margin: 0 auto;
}

/* Progress Indicator */
.wizard-progress {
    margin-bottom: 3rem;
}

.wizard-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--sl-color-neutral-100);
    border-radius: var(--sl-border-radius-medium);
    transition: all 0.3s ease;
}

body.sl-theme-dark .wizard-step {
    background: var(--sl-color-neutral-800);
}

.wizard-step.active {
    background: var(--sl-color-primary-600);
    color: white;
    transform: scale(1.05);
}

.wizard-step.completed {
    background: var(--sl-color-success-100);
    color: var(--sl-color-success-700);
}

body.sl-theme-dark .wizard-step.completed {
    background: var(--sl-color-success-900);
    color: var(--sl-color-success-300);
}

.wizard-step-icon {
    font-size: 1.5rem;
}

.wizard-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.wizard-progress-bar {
    height: 8px;
    background: var(--sl-color-neutral-200);
    border-radius: var(--sl-border-radius-pill);
    overflow: hidden;
}

body.sl-theme-dark .wizard-progress-bar {
    background: var(--sl-color-neutral-700);
}

.wizard-progress-fill {
    height: 100%;
    background: var(--sl-color-primary-600);
    transition: width 0.3s ease;
}

/* Wizard Card */
.wizard-card {
    margin-bottom: 2rem;
}

.wizard-card h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Form Sections */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Plan Selection */
.plan-selection {
    margin: 1rem 0;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.plan-option {
    position: relative;
}

.plan-option sl-radio {
    width: 100%;
}

.plan-option sl-radio::part(base) {
    width: 100%;
}

.plan-details {
    padding: 1.5rem;
    border: 2px solid var(--sl-color-neutral-300);
    border-radius: var(--sl-border-radius-medium);
    background: var(--sl-color-neutral-50);
    transition: all 0.2s ease;
    cursor: pointer;
    height: 100%;
}

body.sl-theme-dark .plan-details {
    background: var(--sl-color-neutral-900);
    border-color: var(--sl-color-neutral-700);
}

.plan-option sl-radio[checked] + .plan-details,
.plan-details:hover {
    border-color: var(--sl-color-primary-600);
    background: var(--sl-color-primary-50);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

body.sl-theme-dark .plan-option sl-radio[checked] + .plan-details,
body.sl-theme-dark .plan-details:hover {
    background: var(--sl-color-primary-950);
}

.plan-badge {
    margin-bottom: 0.5rem;
}

.plan-details h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sl-color-primary-600);
    margin: 0.5rem 0;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--sl-color-neutral-600);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.plan-features li sl-icon {
    color: var(--sl-color-success-600);
}

/* Info Section */
.info-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-section h4 {
    font-size: 1rem;
    font-weight: 600;
}

.info-section ul {
    margin: 0;
}

/* Review Section */
.review-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card h3 {
    margin: 0;
    font-size: 1.125rem;
}

.review-item {
    padding: 0.5rem 0;
    line-height: 1.6;
}

.review-item strong {
    display: inline-block;
    min-width: 120px;
    color: var(--sl-color-neutral-700);
}

body.sl-theme-dark .review-item strong {
    color: var(--sl-color-neutral-300);
}

/* Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sl-color-neutral-200);
}

body.sl-theme-dark .wizard-navigation {
    border-top-color: var(--sl-color-neutral-700);
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-steps-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .wizard-step-label {
        font-size: 0.75rem;
    }

    .wizard-step-icon {
        font-size: 1.25rem;
    }

    .plan-options {
        grid-template-columns: 1fr;
    }

    .wizard-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .wizard-navigation sl-button {
        width: 100%;
    }
}

/* Code blocks */
code {
    background: var(--sl-color-neutral-100);
    padding: 0.125rem 0.375rem;
    border-radius: var(--sl-border-radius-small);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

body.sl-theme-dark code {
    background: var(--sl-color-neutral-800);
}
