/* Wizard UI - Light theme inspired by plugins.jetbrains.com */

:root {
    --wizard-bg: #ffffff;
    --wizard-surface: #ffffff;
    --wizard-primary: #087cfa;
    --wizard-primary-hover: #0066cc;
    --wizard-text: #27282c;
    --wizard-text-secondary: #6c707e;
    --wizard-border: #d1d1d4;
    --wizard-success: #59a869;
    --wizard-error: #db5860;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: "JetBrains Sans", Inter, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Droid Sans", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--wizard-bg);
    color: var(--wizard-text);
    line-height: 1.5;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.wizard-header {
    background-color: #303033;
}

/* Header */
.wizard-header-content {
    padding: 0 24px;
    height: 70px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wizard-header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
}

.wizard-header-logo img {
    height: 48px;
    width: auto;
    margin-right: 16px;
}

.wizard-header-title {
    font-size: 18px;
    font-weight: 500;
}

.wizard-header-nav {
    display: flex;
    gap: 24px;
}

.wizard-header-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 19px;
    font-weight: 300;
    transition: color 0.2s;
}

.wizard-header-nav a:hover {
    color: #ffffff;
}

/* Main container */
.wizard-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px 48px;
    flex: 1 0 auto;
}

/* Title row - side by side layout */
.wizard-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}

.wizard-title-section {
    flex: 1;
    width: 50%;
}

.wizard-title {
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.wizard-title-dropdown {
    position: relative;
    display: inline-block;
}

.wizard-title-dropdown select {
    appearance: none;
    background: transparent;
    border: none;
    font-size: inherit;
    font-weight: inherit;
    color: var(--wizard-primary);
    cursor: pointer;
    padding-right: 20px;
    outline: none;
}

.wizard-title-dropdown::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--wizard-primary);
    pointer-events: none;
}

.wizard-description {
    color: rgba(25, 25, 28, 0.5);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}
.wizard-description p {
    margin-block-end: 16px;
}

.wizard-description a {
    color: rgba(25, 25, 28, 0.7);
    border-bottom: 1px solid rgba(25, 25, 28, 0.4);
    text-decoration: none;
}
.wizard-description a:hover {
    color: rgba(25, 25, 28);
    border-bottom: 2px solid rgba(25, 25, 28);
}

/* Config box - internal 50/50 layout */
.wizard-config-box {
    display: flex;
    gap: 24px;
    background-color: var(--wizard-surface);
    border: 1px solid var(--wizard-border);
    border-radius: 8px;
    padding: 24px;
    width: 50%;
}

/* Left column - form fields */
.wizard-config-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Vertical separator */
.wizard-config-separator {
    width: 1px;
    background-color: var(--wizard-border);
    align-self: stretch;
}

/* Right column - download section */
.wizard-download-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.wizard-download-filename {
    font-size: 13px;
    color: var(--wizard-text-secondary);
}

.wizard-form-group {
    margin-bottom: 16px;
}

.wizard-form-group:last-of-type {
    margin-bottom: 0;
}

.wizard-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--wizard-text-secondary);
    margin-bottom: 6px;
}

.wizard-form-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid var(--wizard-border);
    border-radius: 4px;
    background-color: var(--wizard-surface);
    color: var(--wizard-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wizard-form-input:focus {
    outline: none;
    border-color: var(--wizard-primary);
    box-shadow: 0 0 0 3px rgba(8, 124, 250, 0.1);
}

.wizard-form-input::placeholder {
    color: var(--wizard-text-secondary);
}

.wizard-checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.wizard-checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--wizard-primary);
    cursor: pointer;
}

.wizard-checkbox-group label {
    font-size: 14px;
    cursor: pointer;
}

.wizard-download-btn {
    width: auto;
    min-width: 200px;
    padding: 14px 32px;
    background-color: var(--wizard-primary);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wizard-download-btn:hover {
    background-color: var(--wizard-primary-hover);
}

.wizard-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wizard-download-btn svg {
    width: 18px;
    height: 18px;
}

/* Content row */
.wizard-content-row {
    display: flex;
    gap: 32px;
}

.wizard-content-row.full-width {
    display: block;
}

/* Preview panel */
.wizard-preview-panel {
    flex: 1;
    min-width: 0;
}

.wizard-preview-panel.full-width {
    width: 100%;
}

.wizard-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    margin-top: 4px;
}

.wizard-preview-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.wizard-preview-content {
    display: flex;
    height: clamp(500px, 50vh, 600px);
    background-color: var(--wizard-surface);
    border: 1px solid var(--wizard-border);
    border-radius: 8px;
    overflow: hidden;
}

.wizard-file-tree {
    width: 250px;
    border-right: 1px solid var(--wizard-border);
    overflow-y: auto;
    padding: 8px 0;
    font-size: 13px;
}

.wizard-file-tree ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    width: 100%;
}

.wizard-file-tree li {
    padding: 0;
    display: block;
    width: 100%;
}

.wizard-file-tree label.tree-folder,
.wizard-file-tree label.tree-file {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 16px;
    cursor: pointer;
    color: var(--wizard-text);
    transition: background-color 0.1s;
    min-width: 0;
    overflow: hidden;
}

.wizard-file-tree label.tree-folder:hover,
.wizard-file-tree label.tree-file:hover {
    background-color: #f0f0f0;
}

.wizard-file-tree label.tree-file.selected {
    background-color: rgba(8, 124, 250, 0.1);
    color: var(--wizard-primary);
}

.wizard-file-tree .tree-folder-children {
    display: none;
    padding-left: 16px;
    width: 100%;
}

.wizard-file-tree .tree-folder.open > .tree-folder-children {
    display: block;
}

.wizard-file-tree .tree-toggle {
    width: 12px;
    text-align: center;
    color: var(--wizard-text-secondary);
}

.wizard-file-tree input[type="checkbox"],
.wizard-file-tree input[type="radio"] {
    display: none;
}

.wizard-file-tree input[type="checkbox"]:checked + label + ul {
    display: block;
    width: 100%;
}

.wizard-file-tree input[type="radio"]:checked + label {
    background-color: rgba(8, 124, 250, 0.1);
    color: var(--wizard-primary);
}

.wizard-file-contents {
    flex: 1;
    background-color: #fafafa;
    overflow: auto;
    min-width: 0;
    min-height: 0;
}

.wizard-file-contents pre {
    margin: 0;
    font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
    font-size: 13px;
    line-height: 1.6;
    min-height: 100%;
    width: max-content;
    min-width: 100%;
    padding: 16px;
}

.wizard-file-contents code {
    background: transparent;
}

pre code.hljs {
    padding: 0 !important; /* do not double padding from .wizard-file-contents pre */
}

/* Packs panel */
.wizard-packs-panel {
    width: 300px;
    flex-shrink: 0;
}

.wizard-packs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.wizard-packs-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.wizard-packs-search {
    width: 180px;
    padding: 7px 12px;
    font-size: 13px;
    border: 1px solid var(--wizard-border);
    border-radius: 4px;
    background-color: var(--wizard-surface);
}

.wizard-packs-search:focus {
    outline: none;
    border-color: var(--wizard-primary);
}

.wizard-packs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    height: clamp(500px, 50vh, 600px);
    overflow-y: auto;
    padding-right: 8px;
    align-content: start;
}

/* Pack group header */
.wizard-pack-group-header {
    grid-column: 1 / -1;
    margin-top: 16px;
}

.wizard-pack-group-header:first-child {
    margin-top: 0;
}

.wizard-pack-group-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--wizard-text-secondary);
    margin: 0;
}

/* Pack card */
.wizard-pack-card {
    background-color: var(--wizard-surface);
    border: 1px solid var(--wizard-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wizard-pack-card:hover {
    border-color: var(--wizard-primary);
}

.wizard-pack-card.selected {
    border-color: var(--wizard-primary);
    background-color: rgba(8, 124, 250, 0.05);
}

.wizard-pack-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wizard-pack-icon {
    width: 18px;
    height: 18px;
    display: flex;
}

.wizard-pack-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wizard-pack-description {
    font-size: 12px;
    color: rgba(25, 25, 28, 0.7);
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wizard-pack-checkbox {
    position: absolute;
    opacity: 0;
}

.wizard-pack-label {
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px;
}

/* Modal */
.wizard-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.wizard-modal-overlay.active {
    display: flex;
}

.wizard-modal {
    background-color: var(--wizard-surface);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.wizard-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--wizard-border);
}

.wizard-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wizard-modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--wizard-text-secondary);
    border-radius: 4px;
    transition: background-color 0.2s;
}

.wizard-modal-close:hover {
    background-color: #f0f0f0;
}

.wizard-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(80vh - 140px);
}

.wizard-modal-body p {
    margin: 0 0 16px 0;
    color: var(--wizard-text-secondary);
}

.wizard-modal-body h4 {
    margin: 24px 0 12px 0;
    font-size: 14px;
    font-weight: 600;
}

.wizard-modal-body pre {
    background-color: #f5f5f5;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 13px;
}

.wizard-modal-body code {
    font-family: "JetBrains Mono", "Fira Code", Consolas, monospace;
}

.wizard-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--wizard-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.wizard-modal-btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wizard-modal-btn-primary {
    background-color: var(--wizard-primary);
    color: white;
    border: none;
}

.wizard-modal-btn-primary:hover {
    background-color: var(--wizard-primary-hover);
}

.wizard-modal-btn-secondary {
    background-color: transparent;
    color: var(--wizard-text);
    border: 1px solid var(--wizard-border);
}

.wizard-modal-btn-secondary:hover {
    background-color: #f5f5f5;
}

/* Footer - sticky at bottom */
.wizard-footer {
    background-color: #f5f5f5;
    padding: 48px 24px 32px;
    margin-top: auto;
}

.wizard-footer-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* Left column */
.wizard-footer-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Social icons row */
.wizard-footer-social {
    display: flex;
    gap: 8px;
}

.wizard-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(39, 40, 44, 0.7);
    transition: color 0.2s;
}

.wizard-footer-social-link:hover {
    color: var(--wizard-text);
}

.wizard-footer-social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Legal links row */
.wizard-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.wizard-footer-legal a {
    color: rgba(39, 40, 44, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.wizard-footer-legal a:hover {
    color: var(--wizard-text);
}

/* Copyright */
.wizard-footer-copyright {
    color: rgba(39, 40, 44, 0.5);
    font-size: 13px;
}

/* Right column: logo + motto */
.wizard-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 16px;
}

.wizard-footer-logo img {
    width: 60px;
    height: 60px;
}

.wizard-footer-motto {
    color: rgba(39, 40, 44, 0.5);
    font-size: 13px;
    text-align: right;
}

.wizard-footer-motto a {
    color: rgba(39, 40, 44, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.wizard-footer-motto a:hover {
    color: var(--wizard-text);
}

/* Footer responsive */
@media (max-width: 768px) {
    .wizard-footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .wizard-footer-right .wizard-footer-logo {
        display: none;
    }

    .wizard-footer-right {
        order: 1;
        align-items: flex-start;
    }

    .wizard-footer-motto {
        text-align: left;
    }
}

/* Loading states */
.wizard-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--wizard-text-secondary);
}

.wizard-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--wizard-border);
    border-top-color: var(--wizard-primary);
    border-radius: 50%;
    animation: wizard-spin 0.8s linear infinite;
}

@keyframes wizard-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Download progress */
.wizard-download-progress {
    font-size: 12px;
    color: var(--wizard-text-secondary);
    margin-top: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .wizard-content-row {
        flex-direction: column;
    }

    .wizard-packs-panel {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .wizard-title-row {
        flex-direction: column;
        gap: 24px;
    }

    .wizard-title-section {
        width: 100%;
    }

    .wizard-config-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .wizard-container {
        padding: 32px 16px;
    }

    .wizard-header-content {
        padding: 0 16px;
        height: 56px;
    }

    .wizard-header-logo img {
        height: 36px;
        margin-right: 8px;
    }

    .wizard-header-title {
        font-size: 16px;
    }

    .wizard-title {
        font-size: 28px;
    }

    .wizard-description {
        font-size: 16px;
    }

    .wizard-title-row {
        flex-direction: column;
        gap: 20px;
    }

    .wizard-title-section {
        width: 100%;
    }

    .wizard-config-box {
        width: 100%;
        flex-direction: column;
        padding: 16px;
        gap: 16px;
    }

    .wizard-config-separator {
        display: none;
    }

    .wizard-download-section {
        padding-top: 16px;
        border-top: 1px solid var(--wizard-border);
    }

    .wizard-content-row {
        flex-direction: column;
        gap: 24px;
    }

    .wizard-packs-panel {
        width: 100%;
        order: 2;
    }

    .wizard-preview-panel {
        order: 1;
    }

    .wizard-packs-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .wizard-packs-search {
        width: 100%;
    }

    .wizard-packs-grid {
        height: auto;
        max-height: 400px;
    }

    .wizard-preview-content {
        flex-direction: column;
        height: auto;
    }

    /* File tree stacked above content on narrow screens */
    .wizard-file-tree {
        width: 100%;
        height: 180px;
        border-right: none;
        border-bottom: 1px solid var(--wizard-border);
    }

    .wizard-file-contents {
        width: 100%;
        height: 300px;
    }

    .wizard-header-nav {
        display: none;
    }

    .wizard-footer {
        padding: 32px 16px 24px;
    }
}

@media (max-width: 480px) {
    .wizard-container {
        padding: 24px 12px;
    }

    .wizard-header-content {
        padding: 0 12px;
    }

    .wizard-title {
        font-size: 24px;
    }

    .wizard-description {
        font-size: 14px;
    }

    .wizard-config-box {
        padding: 12px;
    }

    .wizard-download-btn {
        width: 100%;
        min-width: unset;
        padding: 12px 24px;
        font-size: 14px;
    }

    .wizard-packs-grid {
        max-height: 350px;
    }

    .wizard-file-tree {
        height: 150px;
    }

    .wizard-file-contents {
        height: 250px;
    }

    .wizard-preview-title,
    .wizard-packs-title {
        font-size: 18px;
    }

    .wizard-footer {
        padding: 24px 12px 20px;
    }

    .wizard-file-contents pre {
        font-size: 11px;
        padding: 12px;
    }
}

/* Pack info button */
.wizard-pack-info-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--wizard-text-secondary);
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    opacity: 0;
}

.wizard-pack-card {
    position: relative;
}

.wizard-pack-card:hover .wizard-pack-info-btn {
    opacity: 1;
}

.wizard-pack-info-btn:hover {
    background-color: rgba(8, 124, 250, 0.1);
    color: var(--wizard-primary);
}

/* Tree icons */
.tree-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    color: var(--wizard-text-secondary);
    flex-shrink: 0;
}

.tree-icon svg {
    width: 14px;
    height: 14px;
}

/* File tree label styles */
.wizard-file-tree label {
    display: flex;
    align-items: center;
    padding: 4px 12px 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.1s;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wizard-file-tree label:hover {
    background-color: #f0f0f0;
}

.wizard-file-tree li {
    list-style: none;
}

.wizard-file-tree > ul {
    padding-left: 0;
}

.wizard-file-tree ul ul {
    padding-left: 16px;
}

/* Modal docs content */
.wizard-modal-docs {
    line-height: 1.6;
}

.wizard-modal-docs h1,
.wizard-modal-docs h2,
.wizard-modal-docs h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.wizard-modal-docs h1:first-child,
.wizard-modal-docs h2:first-child,
.wizard-modal-docs h3:first-child {
    margin-top: 0;
}

.wizard-modal-docs ul,
.wizard-modal-docs ol {
    padding-left: 24px;
    margin: 12px 0;
}

.wizard-modal-docs li {
    margin: 4px 0;
}

.wizard-modal-docs code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.wizard-modal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.wizard-modal-link-separator {
    margin: 0 4px;
}

.wizard-modal-links a {
    color: var(--wizard-primary);
    text-decoration: none;
}

.wizard-modal-links a:hover {
    text-decoration: underline;
}

@font-face {
    font-family: JetBrains Sans;
    src: url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff2) format("woff2"),url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Light.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: JetBrains Sans;
    src: url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff2) format("woff2"),url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: JetBrains Sans;
    src: url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff2) format("woff2"),url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans-SemiBold.woff) format("woff");
    font-weight: 600;
    font-style: normal
}

@supports (font-variation-settings: normal) {
    @font-face {
        font-family:JetBrains Sans;
        src: url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2) format("woff2 supports variations"),url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff2) format("woff2-variations"),url(https://resources.jetbrains.com/storage/jetbrains-sans/JetBrainsSans.woff) format("woff-variations");
        font-weight: 100 900;
        font-style: normal
    }
}

/* Analytics Consent Popup */
.wizard-consent-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
    display: none;
}

.wizard-consent-popup.active {
    display: block;
    animation: wizard-consent-slide-in 0.3s ease-out;
}

@keyframes wizard-consent-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-consent-content {
    background-color: var(--wizard-surface);
    border: 1px solid var(--wizard-border);
    border-radius: 12px;
    padding: 24px;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.wizard-consent-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--wizard-text);
}

.wizard-consent-text {
    font-size: 14px;
    color: var(--wizard-text-secondary);
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.wizard-consent-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.wizard-consent-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.wizard-consent-btn-primary {
    background-color: var(--wizard-primary);
    color: white;
    border: none;
}

.wizard-consent-btn-primary:hover {
    background-color: var(--wizard-primary-hover);
}

.wizard-consent-btn-secondary {
    background-color: transparent;
    color: var(--wizard-text);
    border: 1px solid var(--wizard-border);
}

.wizard-consent-btn-secondary:hover {
    background-color: #f5f5f5;
}

/* Responsive consent popup */
@media (max-width: 480px) {
    .wizard-consent-popup {
        bottom: 0;
        right: 0;
        left: 0;
    }

    .wizard-consent-content {
        max-width: none;
        border-radius: 12px 12px 0 0;
        border-bottom: none;
    }
}
