/* Basic WooCommerce withdrawal form */

.wc-withdrawal-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.wc-withdrawal-intro {
    margin-bottom: 12px;
}

.wc-withdrawal-notice {
    padding: 16px;
    margin: 0 0 24px;
    background: #f5f5f5;
    border-left: 4px solid currentColor;
    font-size: 14px;
}

.wc-withdrawal-field {
    margin-bottom: 20px;
}

.wc-withdrawal-field > label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.wc-withdrawal-field input[type="text"],
.wc-withdrawal-field input[type="email"],
.wc-withdrawal-field input[type="tel"],
.wc-withdrawal-field textarea {
    width: 100%;
}

.wc-withdrawal-optional {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.75;
}

.wc-withdrawal-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.wc-withdrawal-checkbox input {
    margin-top: 5px;
    flex: 0 0 auto;
}

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

.wc-withdrawal-message {
    max-width: 720px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid;
}

.wc-withdrawal-error {
    border-color: #b81c23;
}

.wc-withdrawal-success {
    border-color: #2e7d32;
}

.wc-withdrawal-summary {
    display: grid;
    grid-template-columns: minmax(150px, 0.4fr) 1fr;
    gap: 10px 20px;
    margin: 24px 0;
}

.wc-withdrawal-summary dt {
    font-weight: 600;
}

.wc-withdrawal-summary dd {
    margin: 0;
}

.wc-withdrawal-confirm-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.wc-withdrawal-button[disabled] {
    cursor: wait;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .wc-withdrawal-summary {
        display: block;
    }

    .wc-withdrawal-summary dt {
        margin-top: 15px;
    }

    .wc-withdrawal-summary dd {
        margin-top: 4px;
    }
}


.wc-withdrawal-scope {
    padding: 0;
    border: 0;
}

.wc-withdrawal-scope legend {
    margin-bottom: 10px;
    font-weight: 600;
}

.wc-withdrawal-scope label {
    display: block;
    margin-bottom: 8px;
}

.wc-withdrawal-partial-details[hidden] {
    display: none !important;
}

.wc-withdrawal-partial-details small {
    display: block;
    margin-top: 6px;
    opacity: 0.75;
}
