/**
 * Withdraw Form styles
 *
 * @package Shoplic_Members
 */

/* Shared button styles reused by withdraw template */
.profile-form__button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    text-decoration: none;
}

.profile-form__button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.profile-form__button--outline {
    color: #dc3545;
    background-color: transparent;
    border-color: #dc3545;
}

.profile-form__button--outline:hover:not(:disabled) {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.profile-form__button--full {
    display: block;
    width: 100%;
}

/* Notice styles */
.profile-form__error-message {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.profile-form__error-message--hide {
    display: none !important;
}

/* Section divider */
.profile-form__divider {
    position: relative;
    margin: 30px 0 15px;
    text-align: center;
}

.profile-form__divider-text {
    background-color: #fff;
    padding: 0 10px;
    display: inline-block;
    position: relative;
    z-index: 1;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.profile-form__divider-line {
    position: absolute;
    height: 1px;
    background: #dee2e6;
    width: 100%;
    top: 50%;
    left: 0;
    z-index: 0;
}

/* Withdraw form */
.profile-withdraw {
    border: 1px solid #f1f3f5;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin: 0 0 40px;
}

.profile-withdraw__title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #dc3545;
    font-weight: 600;
}

.profile-withdraw__description {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 18px;
}

.profile-withdraw__group {
    margin-bottom: 16px;
}

.profile-withdraw__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
}

.profile-withdraw__input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.profile-withdraw__input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.profile-withdraw__checkbox-label {
    font-size: 14px;
    color: #6c757d;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.profile-withdraw__checkbox {
    margin-top: 3px;
}

.profile-withdraw__actions {
    margin-top: 10px;
}
