/* Wizard Overlay */
.wizard-overlay {
    position: fixed;
    inset: 0;
    background: #030712;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top Bar */
.wizard-topbar {
    border-bottom: 1px solid var(--slate-800);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
}

.wizard-topbar-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    max-width: 20rem;
}

.wizard-step-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-300);
}

.wizard-progress-bar {
    height: 0.5rem;
    background: var(--slate-800);
    border-radius: 9999px;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: var(--blue-500);
    border-radius: 9999px;
}

.wizard-save-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: 1px solid var(--slate-700);
    border-radius: 0.5rem;
    color: var(--slate-300);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-save-btn:hover {
    border-color: var(--slate-600);
    background: rgba(255, 255, 255, 0.05);
}

/* Content */
.wizard-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2rem;
}

.wizard-step {
    width: 100%;
    max-width: 42rem;
}

.wizard-step-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wizard-headline {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.wizard-subheadline {
    font-size: 1rem;
    color: var(--slate-400);
    text-align: center;
    margin-bottom: 3rem;
}

/* Form Elements */
.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.wizard-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wizard-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-300);
}

.wizard-input,
.wizard-select,
.wizard-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
}

.wizard-input:focus,
.wizard-select:focus,
.wizard-textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.wizard-input::placeholder,
.wizard-textarea::placeholder {
    color: var(--slate-500);
}

.wizard-textarea {
    resize: vertical;
    min-height: 6rem;
}

.wizard-select {
    cursor: pointer;
}

.wizard-input-error {
    border-color: var(--red-500);
}

.wizard-error {
    font-size: 0.875rem;
    color: var(--red-500);
    margin-top: -0.5rem;
}

.wizard-char-count {
    font-size: 0.75rem;
    color: var(--slate-500);
    text-align: right;
}

/* Checkbox Grid */
.wizard-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1rem;
}

.wizard-checkbox-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-checkbox-card:hover {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
}

.wizard-checkbox-card-selected {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
}

.wizard-checkbox-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.wizard-checkbox-icon {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--slate-600);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.wizard-checkbox-card-selected .wizard-checkbox-icon {
    background: var(--blue-500);
    border-color: var(--blue-500);
}

.wizard-checkbox-label {
    font-size: 0.9375rem;
    color: var(--slate-300);
    font-weight: 500;
}

.wizard-checkbox-disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.wizard-required-badge {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 400;
    margin-left: 0.5rem;
}

/* Project Type Cards */
.wizard-project-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1.25rem;
}

.wizard-project-type-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wizard-project-type-card:hover {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.wizard-project-type-card-selected {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 1px var(--blue-500);
}

.wizard-project-type-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--blue-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-project-type-image-container {
    width: 100%;
    height: 8rem;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
}

.wizard-project-type-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wizard-project-type-card:hover .wizard-project-type-image {
    transform: scale(1.05);
}

.wizard-project-type-label {
    font-size: 1.0625rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.wizard-project-type-desc {
    font-size: 0.8125rem;
    color: var(--slate-400);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.wizard-project-type-preview {
    font-size: 0.75rem;
    color: var(--slate-500);
    line-height: 1.5;
    padding-top: 0.5rem;
    border-top: 1px solid var(--slate-800);
    margin-top: auto;
}

/* Hover effect for preview text */
.wizard-project-type-card:hover .wizard-project-type-preview {
    color: var(--slate-400);
}

.wizard-project-type-card-selected .wizard-project-type-preview {
    color: var(--blue-300);
}

/* Style Cards */
.wizard-style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
}

.wizard-style-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.wizard-style-card:hover {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
}

.wizard-style-card-selected {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
}

.wizard-style-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--blue-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-style-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.wizard-style-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
    line-height: 1.5;
}

/* Color Grid */
.wizard-color-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.wizard-color-swatch {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.wizard-color-swatch:hover {
    transform: scale(1.1);
}

.wizard-color-selected {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.wizard-color-check {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toggle Group */
.wizard-toggle-group {
    display: flex;
    gap: 0.75rem;
}

.wizard-toggle-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    color: var(--slate-300);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-toggle-btn:hover {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
}

.wizard-toggle-active {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
    color: white;
}

/* Font Grid */
.wizard-font-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
}

.wizard-font-card {
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.wizard-font-card:hover {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
}

.wizard-font-card-selected {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
}

.wizard-font-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.wizard-font-desc {
    font-size: 0.875rem;
    color: var(--slate-400);
}

/* Review */
.wizard-review {
    max-width: 50rem;
}

.wizard-review-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.wizard-review-section {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.wizard-review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.wizard-review-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.wizard-review-edit {
    padding: 0.375rem 0.875rem;
    background: transparent;
    border: 1px solid var(--slate-700);
    border-radius: 0.375rem;
    color: var(--blue-400);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-review-edit:hover {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
}

.wizard-review-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wizard-review-content p {
    font-size: 0.9375rem;
    color: var(--slate-300);
    line-height: 1.6;
}

.wizard-review-content strong {
    color: var(--slate-400);
    font-weight: 500;
}

.wizard-review-color {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    vertical-align: middle;
    margin: 0 0.25rem;
}

/* Generate CTA */
.wizard-generate-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.wizard-generate-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: var(--blue-500);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-generate-btn:hover {
    background: var(--blue-600);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.wizard-generate-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: currentColor;
    stroke-width: 2;
}

.wizard-generate-note {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* Bottom Bar */
.wizard-bottombar {
    border-top: 1px solid var(--slate-800);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
}

.wizard-bottombar-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-back-btn,
.wizard-continue-btn {
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-back-btn {
    background: transparent;
    border: 1px solid var(--slate-700);
    color: var(--slate-300);
}

.wizard-back-btn:hover:not(:disabled) {
    border-color: var(--slate-600);
    background: rgba(255, 255, 255, 0.05);
}

.wizard-back-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.wizard-continue-btn {
    background: var(--blue-500);
    border: none;
    color: white;
}

.wizard-continue-btn:hover {
    background: var(--blue-600);
}

/* Check Icon */
.wizard-check-icon {
    width: 1rem;
    height: 1rem;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Language Selection Buttons */
.wizard-language-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    gap: 0.5rem;
}

.wizard-language-btn:hover {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
    transform: translateY(-2px);
}

.wizard-language-active {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 0 0 1px var(--blue-500);
}

.wizard-language-checkbox {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid var(--slate-700);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-language-checkbox:hover:not(:disabled) {
    border-color: var(--slate-600);
    background: rgba(30, 41, 59, 0.5);
}

.wizard-language-checkbox-active {
    border-color: var(--blue-500);
    background: rgba(59, 130, 246, 0.1);
}

.wizard-language-primary {
    opacity: 1;
    cursor: not-allowed;
}

.wizard-language-checkbox:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-topbar,
    .wizard-bottombar {
        padding: 1rem;
    }

    .wizard-content {
        padding: 2rem 1rem;
    }

    .wizard-headline {
        font-size: 1.75rem;
    }

    .wizard-checkbox-grid,
    .wizard-style-grid,
    .wizard-font-grid {
        grid-template-columns: 1fr;
    }

    .wizard-toggle-group {
        flex-direction: column;
    }

    .wizard-generate-btn {
        width: 100%;
        justify-content: center;
    }
}
