.withdraw-page {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
    padding: 42px 15px 88px;
    background: #ffffff;
}

.withdraw-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 1px solid #202124;
}

.withdraw-head span {
    display: block;
    color: #dd4a2c;
    font-size: 14px;
    font-weight: 500;
}

.withdraw-head h1 {
    margin: 4px 0 0;
    color: #202124;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 600;
}

.withdraw-head > a {
    color: #6f7680;
    font-size: 14px;
    white-space: nowrap;
}

.withdraw-layout {
    display: grid;
    gap: 30px;
    padding-top: 30px;
}

.withdraw-panel,
.withdraw-form {
    min-width: 0;
}

.withdraw-panel {
    padding: 22px 24px 24px;
    border-radius: 8px;
    background: #f8f9fb;
}

.withdraw-panel__head span {
    color: #8a929d;
    font-size: 13px;
    font-weight: 600;
}

.withdraw-panel__head h2 {
    margin: 8px 0 0;
    color: #202124;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
    word-break: keep-all;
}

.withdraw-panel__head p {
    margin: 8px 0 0;
    color: #6f7680;
    font-size: 14px;
    line-height: 1.65;
    word-break: keep-all;
}

.withdraw-note-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.withdraw-note-list li {
    position: relative;
    padding-left: 14px;
    color: #5f6672;
    font-size: 14px;
    line-height: 1.58;
    word-break: keep-all;
}

.withdraw-note-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b0b6bf;
    content: "";
}

.withdraw-form {
    display: grid;
    gap: 30px;
}

.withdraw-section {
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e8ee;
}

.withdraw-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.withdraw-section__head h2 {
    margin: 0;
    color: #202124;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
}

.withdraw-section__head span {
    color: #7d8490;
    font-size: 14px;
}

.withdraw-field {
    display: grid;
    gap: 8px;
    color: #202124;
    font-size: 14px;
    font-weight: 700;
}

.withdraw-field + .withdraw-field {
    margin-top: 16px;
}

.withdraw-field input,
.withdraw-field select,
.withdraw-field textarea {
    width: 100%;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    background-color: #ffffff;
    color: #202124;
    font: inherit;
    font-size: 15px;
    outline: 0;
}

.withdraw-field input,
.withdraw-field select {
    height: 48px;
    padding: 0 14px;
}

.withdraw-field select {
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23202124' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
}

.withdraw-field textarea {
    min-height: 108px;
    padding: 12px 14px;
    resize: vertical;
}

.withdraw-field input:focus,
.withdraw-field select:focus,
.withdraw-field textarea:focus {
    border-color: #dd4a2c;
}

.withdraw-field input::placeholder,
.withdraw-field textarea::placeholder {
    color: #9aa1aa;
}

.withdraw-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
    word-break: keep-all;
}

.withdraw-check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: #dd4a2c;
}

.withdraw-complete {
    padding: 18px 20px;
    border: 1px solid #f1d6cf;
    border-radius: 8px;
    background: #fff8f6;
}

.withdraw-complete strong {
    display: block;
    color: #202124;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.withdraw-complete p {
    margin: 6px 0 0;
    color: #6f7680;
    font-size: 14px;
    line-height: 1.55;
}

.withdraw-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.withdraw-actions a,
.withdraw-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #d9dde5;
    border-radius: 6px;
    background: #ffffff;
    color: #202124;
    font-size: 14px;
    font-weight: 700;
}

.withdraw-actions button {
    border-color: #202124;
    background: #202124;
    color: #ffffff;
}

.withdraw-actions button:disabled {
    border-color: #c8cdd5;
    background: #c8cdd5;
    cursor: default;
}

@media (max-width: 768px) {
    .withdraw-page {
        width: 100%;
        padding: 24px 15px 96px;
    }

    .withdraw-head {
        display: block;
        padding-bottom: 20px;
    }

    .withdraw-head h1 {
        font-size: 24px;
    }

    .withdraw-head > a {
        display: inline-block;
        margin-top: 12px;
    }

    .withdraw-layout {
        gap: 28px;
        padding-top: 26px;
    }

    .withdraw-panel {
        padding: 20px;
    }

    .withdraw-panel__head h2,
    .withdraw-section__head h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .withdraw-section__head {
        display: block;
    }

    .withdraw-section__head span {
        display: block;
        margin-top: 6px;
    }

    .withdraw-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .withdraw-actions a,
    .withdraw-actions button {
        width: 100%;
    }
}
