:root {
    --oe-bg: #FAF5EA;
    --oe-text: #111111;
    --oe-secondary: #666666;
    --oe-border: #D9D6CF;
    --oe-navy: #000080;
}

.oe-withdrawal {
    max-width: 760px;
    margin: 0 auto;
    color: var(--oe-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.oe-withdrawal__header {
    margin: 0 0 36px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--oe-navy);
}

.oe-withdrawal__header h1,
.oe-withdrawal__success h1 {
    margin: 0;
    color: var(--oe-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 500;
    line-height: 1.15;
}

.oe-withdrawal__brand {
    margin: 8px 0 0;
    color: var(--oe-secondary);
    font-size: 16px;
}

.oe-withdrawal__form {
    margin: 0;
}

.oe-withdrawal__field {
    margin: 0 0 24px;
}

.oe-withdrawal__field label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--oe-text);
    font-weight: 600;
    line-height: 1.4;
}

.oe-withdrawal__required {
    display: inline-block;
    padding: 1px 8px;
    background: #efefef;
    color: var(--oe-secondary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.oe-withdrawal__field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--oe-border);
    border-radius: 0;
    background: #fff;
    color: var(--oe-text);
    box-shadow: none;
    font: inherit;
}

.oe-withdrawal__field input:focus,
.oe-withdrawal__submit:focus,
.oe-withdrawal__legal a:focus {
    outline: 2px solid var(--oe-navy);
    outline-offset: 3px;
}

.oe-withdrawal__field.has-error input {
    border-color: #8b1f1f;
}

.oe-withdrawal__field-error {
    margin: 6px 0 0;
    color: #8b1f1f;
    font-size: 14px;
    line-height: 1.5;
}

.oe-withdrawal__submit {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 8px 0 0;
    padding: 11px 20px;
    border: 1px solid var(--oe-navy);
    border-radius: 0;
    background: var(--oe-navy);
    color: #fff;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    text-align: center;
}

.oe-withdrawal__submit:hover {
    background: #000066;
}

.oe-withdrawal__notice,
.oe-withdrawal__success {
    margin: 0 0 28px;
    padding: 20px 0;
    border-top: 1px solid var(--oe-border);
    border-bottom: 1px solid var(--oe-border);
}

.oe-withdrawal__notice h2 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
}

.oe-withdrawal__notice p,
.oe-withdrawal__success p {
    margin: 0;
}

.oe-withdrawal__success p + p {
    margin-top: 12px;
}

.oe-withdrawal__success h1 {
    margin-bottom: 16px;
}

.oe-withdrawal__meta {
    color: var(--oe-secondary);
    font-size: 14px;
}

.oe-withdrawal__legal {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 18px 0 0;
    color: var(--oe-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.oe-withdrawal__legal a {
    color: var(--oe-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.oe-withdrawal__hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 600px) {
    .oe-withdrawal__header {
        margin-bottom: 28px;
    }

    .oe-withdrawal__field {
        margin-bottom: 20px;
    }

    .oe-withdrawal__field label {
        align-items: flex-start;
    }
}
