/* -- Wizard Styles (Adapted for ustax-solutions.com) -- */
:root {
    /* Theme: Creative Modern (Navy/Teal/Gold) */
    /* --primary-teal: #0d9488 */
    /* --accent-gold: #f59e0b */
    /* --primary-navy: #0f172a */

    --wiz-primary: #0d9488;
    --wiz-primary-dark: #0f766e;
    --wiz-accent: #f59e0b;
    --wiz-accent-dark: #d97706;

    --wiz-bg: #1e293b;
    /* Dark background to match site theme */
    --wiz-text: #f8fafc;
    --wiz-text-muted: #cbd5e1;
    --wiz-border: rgba(255, 255, 255, 0.1);
    --wiz-input-bg: rgba(255, 255, 255, 0.03);

    --wiz-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --wiz-radius: 12px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

.bst-flow {
    font-family: var(--font-body);
    color: var(--wiz-text);
    background: var(--wiz-bg);
    border: 1px solid var(--wiz-border);
    border-radius: 20px;
    box-shadow: var(--wiz-shadow);
    width: 100%;
    max-width: 750px;
    padding: 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 10;
    text-align: left;
    backdrop-filter: blur(10px);
}

.bst-flow header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.bst-flow h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--wiz-text);
    font-family: var(--font-heading);
    font-weight: 600;
}

.bst-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0 15px;
}

.bst-progress>span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--wiz-primary), var(--wiz-accent));
    transition: width .35s;
}

.bst-step {
    display: none;
    animation: .3s ease fadeIn;
}

.bst-step.is-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bst-question {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 10px 0 8px;
    font-family: var(--font-heading);
    color: var(--wiz-primary);
}

.bst-sub {
    color: var(--wiz-text-muted);
    font-size: 0.95rem;
    margin: -4px 0 16px;
}

.bst-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bst-chip {
    border: 1px solid var(--wiz-border);
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--wiz-text-muted);
    background: var(--wiz-input-bg);
    transition: .2s;
    font-family: var(--font-body);
    font-size: 1rem;
}

.bst-chip:hover {
    border-color: var(--wiz-primary);
    color: var(--wiz-primary);
    background: rgba(13, 148, 136, 0.1);
}

.bst-chip.is-selected {
    background: var(--wiz-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.bst-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.bst-field {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.bst-field .full {
    grid-column: 1 / -1;
}

.bst-input {
    width: 100%;
    border: 1px solid var(--wiz-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--wiz-input-bg);
    color: var(--wiz-text);
}

.bst-input:focus {
    outline: none;
    border-color: var(--wiz-accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.bst-select {
    appearance: none;
    background: var(--wiz-input-bg) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23cbd5e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>') no-repeat right 12px center;
    background-size: 16px;
}

/* Ensure dropdown options are readable (Dark text on White bg) */
.bst-select option {
    background-color: #ffffff;
    color: #0f172a;
}

.bst-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

/* Wizard Buttons */
.wiz-btn {
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-size: 1rem;
    font-family: var(--font-body);
}

.wiz-btn.primary {
    background: var(--wiz-accent);
    color: #fff;
    background: linear-gradient(90deg, #0d9488 0%, #0f766e 100%);
    /* Use Teal Gradient */
}

.wiz-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.wiz-btn.ghost {
    background: transparent;
    border-color: var(--wiz-border);
    color: var(--wiz-text-muted);
}

.wiz-btn.ghost:hover {
    border-color: var(--wiz-primary);
    color: var(--wiz-primary);
}

.bst-kicker {
    font-size: 0.8rem;
    color: var(--wiz-text-muted);
    text-align: center;
    margin-top: 15px;
}

.bst-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.bst-error.is-show {
    display: block;
}

.bst-success {
    display: none;
    text-align: center;
    padding: 50px 20px;
}

.bst-success.is-show {
    display: block;
}

/* Mobile responsive fixes */
@media (max-width: 640px) {
    .bst-options {
        grid-template-columns: 1fr;
    }

    .bst-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .bst-field {
        grid-template-columns: 1fr;
    }

    .bst-flow {
        width: 100%;
        border-radius: 12px;
        padding: 1.25rem;
    }
}