.withdrawal-page {
    --wd-accent: #1d4ed8;
    --wd-accent-hover: #1e40af;
    --wd-text: #172033;
    --wd-muted: #64748b;
    --wd-border: #dbe2ea;
    --wd-bg: #f6f8fb;
    --wd-card: #fff;
    background: var(--wd-bg);
    color: var(--wd-text);
    padding: 56px 20px;
    font-family: Arial, sans-serif
}

.withdrawal-page * {
    box-sizing: border-box
}

.withdrawal-shell {
    max-width: 920px;
    margin: 0 auto
}

.withdrawal-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--wd-card);
    border: 1px solid var(--wd-border);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .08)
}

.withdrawal-card--wide {
    max-width: 920px
}

.withdrawal-heading {
    margin-bottom: 30px
}

.withdrawal-heading h1,
.withdrawal-card h1 {
    margin: 6px 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: var(--wd-text)
}

.withdrawal-heading p,
.withdrawal-card p {
    color: var(--wd-muted);
    font-size: 16px
}

.withdrawal-kicker {
    color: var(--wd-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px
}

.withdrawal-alert {
    max-width: 920px;
    margin: 0 auto 20px;
    padding: 14px 18px;
    border-radius: 10px
}

.withdrawal-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca
}

.withdrawal-alert--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0
}

.withdrawal-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px
}

.withdrawal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 700;
    font-size: 14px
}

.withdrawal-field input,
.withdrawal-quantity input {
    width: 100%;
    border: 1px solid var(--wd-border);
    border-radius: 9px;
    background: #fff;
    color: var(--wd-text);
    padding: 13px 14px;
    font-size: 16px;
    outline: 0
}

.withdrawal-field input:focus,
.withdrawal-quantity input:focus {
    border-color: var(--wd-accent);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12)
}

.withdrawal-products {
    border: 0;
    padding: 0;
    margin: 8px 0 26px
}

.withdrawal-products legend {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px
}

.withdrawal-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 20px;
    align-items: center;
    border: 1px solid var(--wd-border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 12px;
    transition: .15s
}

.withdrawal-product.is-selected {
    border-color: var(--wd-accent);
    background: #f8faff
}

.withdrawal-product__select {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    cursor: pointer;
    margin: 0
}

.withdrawal-product__select>input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.withdrawal-checkbox {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #94a3b8;
    border-radius: 5px;
    position: relative
}

.withdrawal-product__select input:checked+.withdrawal-checkbox {
    background: var(--wd-accent);
    border-color: var(--wd-accent)
}

.withdrawal-product__select input:checked+.withdrawal-checkbox:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.withdrawal-product__info {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.withdrawal-product__info strong {
    font-size: 16px
}

.withdrawal-product__info small,
.withdrawal-quantity small {
    color: var(--wd-muted)
}

.withdrawal-quantity {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 700
}

.withdrawal-quantity__control {
    display: flex;
    align-items: center;
    gap: 8px
}

.withdrawal-quantity__control em {
    font-style: normal;
    color: var(--wd-muted);
    min-width: 28px
}

.withdrawal-quantity input:disabled {
    background: #f1f5f9;
    color: #94a3b8
}

.withdrawal-declaration {
    background: #f8fafc;
    border-left: 4px solid var(--wd-accent);
    padding: 14px 16px;
    margin: 0 0 22px;
    color: #475569
}

.withdrawal-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 10px;
    background: var(--wd-accent);
    color: #fff !important;
    padding: 14px 22px;
    min-height: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: .15s
}

.withdrawal-button:hover {
    background: var(--wd-accent-hover)
}

.withdrawal-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important
}

.withdrawal-success-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #dcfce7;
    color: #166534;
    font-size: 30px;
    font-weight: 700
}

.withdrawal-instructions {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--wd-border)
}

.withdrawal-instructions h2 {
    font-size: 20px
}

@media(max-width:680px) {
    .withdrawal-page {
        padding: 28px 12px
    }

    .withdrawal-card {
        padding: 24px 18px;
        border-radius: 13px
    }

    .withdrawal-fields {
        grid-template-columns: 1fr
    }

    .withdrawal-product {
        grid-template-columns: 1fr
    }

    .withdrawal-quantity {
        padding-left: 35px
    }

    .withdrawal-button {
        width: 100%
    }
}