.infovet-withdrawal {
    margin: 42px 0 12px;
    --infovet-green: #049447;
    --infovet-green-dark: #037b3b;
    --infovet-cream: #f2fbf8;
    --infovet-border: #cfe8df;
    --infovet-text: #22312c;
    --infovet-muted: #60716a;
}

.infovet-withdrawal__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--infovet-border);
    border-radius: 18px;
    background: var(--infovet-cream);
    box-shadow: 0 14px 34px rgba(4, 148, 71, .08);
}

.infovet-withdrawal__content {
    max-width: 760px;
}

.infovet-withdrawal__content h2,
.infovet-withdrawal-modal__header h2 {
    margin: 5px 0 12px;
    color: var(--infovet-text);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.16;
}

.infovet-withdrawal__content p,
.infovet-withdrawal-modal__header p {
    color: var(--infovet-muted);
    line-height: 1.65;
}

.infovet-withdrawal__eyebrow {
    display: inline-block;
    color: var(--infovet-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.infovet-withdrawal__note {
    margin-bottom: 0;
    font-size: 14px;
}

.infovet-withdrawal__button {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 14px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--infovet-green);
    color: #fff;
    font: inherit;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(4, 148, 71, .20);
    transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.infovet-withdrawal__button:hover,
.infovet-withdrawal__button:focus-visible {
    background: var(--infovet-green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(4, 148, 71, .27);
}

.infovet-withdrawal__button:focus-visible,
.infovet-withdrawal__secondary:focus-visible,
.infovet-withdrawal-modal__close:focus-visible,
.infovet-field input:focus,
.infovet-field textarea:focus {
    outline: 3px solid rgba(0, 167, 160, .24);
    outline-offset: 2px;
}

.infovet-withdrawal__alert {
    margin-top: 16px;
    padding: 15px 18px;
    border-radius: 10px;
    line-height: 1.5;
}

.infovet-withdrawal__alert--success {
    border: 1px solid #a8d6b5;
    background: #eef9f1;
    color: #20552d;
}

.infovet-withdrawal__alert--error {
    border: 1px solid #e2b2ae;
    background: #fff2f1;
    color: #7a2822;
}

.infovet-withdrawal-modal[hidden] {
    display: none !important;
}

.infovet-withdrawal-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.infovet-withdrawal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 35, 30, .68);
    backdrop-filter: blur(3px);
}

.infovet-withdrawal-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: clamp(22px, 4vw, 38px);
    border-radius: 18px;
    background: #fff;
    color: var(--infovet-text);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.infovet-withdrawal-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1ed;
    color: #29312d;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.infovet-withdrawal-modal__header {
    padding-right: 38px;
    margin-bottom: 24px;
}

.infovet-withdrawal-modal__header h2 {
    font-size: clamp(24px, 4vw, 32px);
}

.infovet-withdrawal-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.infovet-field {
    display: block;
    margin-bottom: 17px;
}

.infovet-field > span {
    display: block;
    margin-bottom: 7px;
    color: #303730;
    font-size: 14px;
    font-weight: 700;
}

.infovet-field b {
    color: #a52a24;
}

.infovet-field small {
    color: #777e79;
    font-weight: 500;
}

.infovet-field input,
.infovet-field textarea {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 12px 13px;
    border: 1px solid #cfcfc8;
    border-radius: 9px;
    background: #fff;
    color: #202520;
    font: inherit;
    line-height: 1.4;
    box-sizing: border-box;
}

.infovet-field textarea {
    resize: vertical;
}

.infovet-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 3px 0 22px;
    color: #4d554f;
    font-size: 14px;
    line-height: 1.5;
}

.infovet-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.infovet-withdrawal-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
}

.infovet-withdrawal__button--submit {
    min-height: 48px;
}

.infovet-withdrawal__secondary {
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #c9cec9;
    border-radius: 10px;
    background: #fff;
    color: #39413b;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.infovet-withdrawal-form__privacy {
    margin: 17px 0 0;
    color: #777e79;
    font-size: 12px;
    line-height: 1.5;
}

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

body.infovet-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .infovet-withdrawal__card {
        align-items: stretch;
        flex-direction: column;
    }

    .infovet-withdrawal__button {
        width: 100%;
    }

    .infovet-withdrawal-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .infovet-withdrawal-modal {
        align-items: end;
        padding: 0;
    }

    .infovet-withdrawal-modal__dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
    }
}
