/* İşletme başvuru wizard — lüks / modern */
.bwizard-page {
    --bw-ink: #0c1222;
    --bw-muted: #5b657a;
    --bw-line: rgba(15, 23, 42, 0.08);
    --bw-gold: #b8893a;
    --bw-gold-soft: #e8c78a;
    --bw-sea: #0b6e8a;
    --bw-sea-soft: #3aa6c5;
    --bw-surface: rgba(255, 255, 255, 0.82);
    --bw-shadow: 0 24px 64px rgba(12, 18, 34, 0.12);
    position: relative;
    padding: 2.5rem 0 4rem;
    overflow: hidden;
}

.bwizard-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 8% -10%, rgba(184, 137, 58, 0.16), transparent 60%),
        radial-gradient(700px 380px at 92% 0%, rgba(11, 110, 138, 0.14), transparent 55%),
        linear-gradient(180deg, #f3f1ec 0%, #f8fafc 42%, #ffffff 100%);
    z-index: -1;
}

.bwizard-shell {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.bwizard-rail {
    position: sticky;
    top: 5.5rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, #101828 0%, #1a2740 55%, #0f3a4a 100%);
    color: #fff;
    box-shadow: var(--bw-shadow);
    min-height: 420px;
}

.bwizard-rail__kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(232, 199, 138, 0.9);
    margin-bottom: 0.4rem;
}

.bwizard-rail__title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.bwizard-rail__lead {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.bwizard-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.bwizard-step {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.7rem 0.75rem;
    border-radius: 0.95rem;
    border: 1px solid transparent;
    opacity: 0.55;
    transition: opacity .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.bwizard-step.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(232, 199, 138, 0.35);
    transform: translateX(2px);
}

.bwizard-step.is-done {
    opacity: 0.92;
}

.bwizard-step__num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
}

.bwizard-step.is-active .bwizard-step__num {
    background: linear-gradient(145deg, var(--bw-gold), #d4a85a);
    color: #1a1205;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(184, 137, 58, 0.35);
}

.bwizard-step.is-done .bwizard-step__num {
    background: rgba(58, 166, 197, 0.25);
    border-color: rgba(58, 166, 197, 0.55);
    color: #9ae6f0;
}

.bwizard-step__label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bwizard-step__hint {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.15rem;
    line-height: 1.35;
}

.bwizard-rail__foot {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
}

.bwizard-main {
    border-radius: 1.6rem;
    background: var(--bw-surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--bw-shadow);
    backdrop-filter: blur(14px);
    /* overflow:hidden modal/backdrop tıklamalarını kesiyordu */
    overflow: visible;
}

.bwizard-main__head,
.bwizard-progress,
.bwizard-body,
.bwizard-actions {
    position: relative;
    z-index: 1;
}

.bwizard-page .talep-premium-cta {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    margin-top: 0.5rem;
}

.bwizard-main__head {
    padding: 1.5rem 1.75rem 1.15rem;
    border-bottom: 1px solid var(--bw-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.65));
}

.bwizard-main__head h1 {
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--bw-ink);
    margin: 0 0 0.35rem;
}

.bwizard-main__head p {
    margin: 0;
    color: var(--bw-muted);
    font-size: 0.95rem;
    max-width: 40rem;
}

.bwizard-progress {
    height: 3px;
    background: rgba(15, 23, 42, 0.06);
}

.bwizard-progress__bar {
    height: 100%;
    width: 33.333%;
    background: linear-gradient(90deg, var(--bw-gold), var(--bw-sea-soft));
    transition: width .35s cubic-bezier(.22, 1, .36, 1);
}

.bwizard-body {
    padding: 1.5rem 1.75rem 1.25rem;
}

.bwizard-panel {
    display: none;
    animation: bwizardIn .32s ease both;
}

.bwizard-panel.is-active,
.bwizard-panel:not([hidden]).is-active {
    display: block;
}

.bwizard-panel[hidden] {
    display: none !important;
}

@keyframes bwizardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.bwizard-panel__title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bw-ink);
    margin: 0 0 0.25rem;
}

.bwizard-panel__desc {
    color: var(--bw-muted);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}

.bwizard-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.bwizard-field .form-control,
.bwizard-field .form-select {
    border-radius: 0.85rem;
    border-color: #dbe2ea;
    padding: 0.72rem 0.95rem;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bwizard-field .form-control:focus,
.bwizard-field .form-select:focus {
    border-color: rgba(184, 137, 58, 0.65);
    box-shadow: 0 0 0 4px rgba(184, 137, 58, 0.14);
}

.bwizard-field .form-control-lg {
    font-size: 1.05rem;
    font-weight: 600;
}

.bwizard-field.is-invalid .form-control,
.bwizard-field.is-invalid .form-select {
    border-color: #dc2626;
}

.bwizard-opt-card {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    padding: 1.1rem 1.2rem;
    background:
        linear-gradient(135deg, rgba(248, 250, 252, 0.95), #fff),
        radial-gradient(400px 120px at 100% 0%, rgba(184, 137, 58, 0.08), transparent 70%);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bwizard-opt-card:hover {
    border-color: rgba(184, 137, 58, 0.45);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.bwizard-opt-card.is-on {
    border-color: rgba(11, 110, 138, 0.45);
    box-shadow: 0 14px 32px rgba(11, 110, 138, 0.1);
    transform: translateY(-1px);
}

.bwizard-opt-card .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.15rem;
    border-color: #94a3b8;
    cursor: pointer;
}

.bwizard-opt-card .form-check-input:checked {
    background-color: var(--bw-sea);
    border-color: var(--bw-sea);
}

.bwizard-opt-card__title {
    font-weight: 700;
    color: var(--bw-ink);
    font-size: 1rem;
}

.bwizard-opt-card__hint {
    display: block;
    font-size: 0.82rem;
    color: var(--bw-muted);
    margin-top: 0.2rem;
    line-height: 1.4;
}

.bwizard-google {
    margin-top: 1.15rem;
    border-radius: 1.15rem;
    border: 1px dashed #cbd5e1;
    padding: 1.15rem;
    background: rgba(248, 250, 252, 0.7);
    display: none;
}

.bwizard-google.is-open {
    display: block;
    animation: bwizardIn .28s ease both;
}

.bwizard-google__note {
    font-size: 0.82rem;
    color: var(--bw-muted);
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    background: rgba(11, 110, 138, 0.06);
    border: 1px solid rgba(11, 110, 138, 0.12);
}

.bwizard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.75rem 1.5rem;
    border-top: 1px solid var(--bw-line);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.4), rgba(255, 255, 255, 0.9));
}

.bwizard-btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.bwizard-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.bwizard-btn--ghost {
    background: transparent;
    color: #475569;
    border: 1px solid #d0d7e2;
}

.bwizard-btn--ghost:hover:not(:disabled) {
    background: #f8fafc;
    color: var(--bw-ink);
}

.bwizard-btn--primary {
    background: linear-gradient(135deg, #0f2744, #0b6e8a 70%, #1488a8);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11, 110, 138, 0.28);
    min-width: 9.5rem;
}

.bwizard-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(11, 110, 138, 0.34);
    color: #fff;
}

.bwizard-btn--submit {
    background: linear-gradient(135deg, #8a6420, #b8893a 45%, #d4a85a);
    color: #1a1205;
    box-shadow: 0 12px 28px rgba(184, 137, 58, 0.3);
    min-width: 11rem;
}

.bwizard-btn--submit:hover:not(:disabled) {
    transform: translateY(-1px);
    color: #1a1205;
    box-shadow: 0 16px 34px rgba(184, 137, 58, 0.38);
}

.bwizard-error {
    display: none;
    margin: 0 0 1rem;
    padding: 0.75rem 0.95rem;
    border-radius: 0.85rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.88rem;
}

.bwizard-error.is-visible {
    display: block;
}

.bwizard-page .basvuru-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 !important;
}

@media (max-width: 991.98px) {
    .bwizard-shell {
        grid-template-columns: 1fr;
    }

    .bwizard-rail {
        position: static;
        min-height: 0;
        padding: 1.15rem;
    }

    .bwizard-steps {
        flex-direction: row;
        gap: 0.4rem;
    }

    .bwizard-step {
        flex: 1;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0.55rem 0.35rem;
        gap: 0.4rem;
    }

    .bwizard-step__num {
        margin: 0 auto;
        width: 1.9rem;
        height: 1.9rem;
        font-size: 0.78rem;
    }

    .bwizard-step__hint,
    .bwizard-rail__lead,
    .bwizard-rail__foot {
        display: none;
    }

    .bwizard-step__label {
        font-size: 0.72rem;
    }

    .bwizard-rail__title {
        font-size: 1.1rem;
        margin-bottom: 0.85rem;
    }

    .bwizard-body,
    .bwizard-main__head,
    .bwizard-actions {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }
}
