:root {
    --dark-cloud-color: 11, 30, 70;
    --widget-width: 454px;
    --default-background: #f6faff;
}

.block-editor-page .payment-button:after {
    display: block;
    content: '';
    background-color: transparent;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


.payment-button * {
    box-sizing: border-box;
}

.payment-button {
    position: relative;
    border: 1px solid #0d66c2;
    border-radius: 12px;
    padding: 20px;
    /*box-shadow: 0 2px 12px rgba(0, 0, 0, .1);*/
    margin: 0 0 20px 0;
}

.payment-button__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.payment-button__title {
    margin: 0;
    line-height: 1.2;
    font-size: 20px;
    font-weight: bold;
    padding: 0 20px 0 0;
}

.payment-button__description {
    font-size: 18px;
    color: rgba(0, 0, 0, .6);
    margin: 12px 0 0 0;
    padding: 12px 0 0 0;
    border-top: 1px solid #0f66c2;
}

.payment-button__row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.payment-button__col {
    display: flex;
}

.payment-button__col_amount {
    font-weight: bold;
    font-size: 24px;
    white-space: nowrap;
}

.payment-button__col_button {
}

.payment-button__button {
    margin-left: 20px;
    border-radius: 30px;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1;
    color: #fff;
    background-color: #ffac04;
    text-decoration: none;
    display: block;
    font-weight: bold;
}

.payment-button__button:hover, .payment-button__button:focus {
    background-color: #e59801;
}

.profile-popup, .profile-popup * {
    box-sizing: border-box;
}

.profile-popup {
    position: fixed;
    background-color: rgba(var(--dark-cloud-color), .74);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
    font-size: 16px;
    z-index: 1070;
}


.profile-popup.active {
    display: flex;
}

.profile-popup__overlay {
}

.profile-popup__card {
    width: 100%;
    max-width: 454px;
    /*box-shadow: 0 2px 12px rgba(0, 0, 0, .1);*/
    position: relative;
}

.profile-popup__card-box {
    background: rgb(246, 250, 255);
    padding: 0 40px 40px 40px;
    border-radius: 12px;
    overflow-y: scroll;
    height: calc(100vh - 40px);
    margin: 20px 0;
    max-height: 600px;
}

.profile-popup__card p {
    margin: 0 0 1em 0;
}

.profile-popup__card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 16px;
    width: calc(100% + 80px);
    height: 56px;
    background: #222d41;
    color: #fff;
    margin: 0 -40px 20px -40px;
}

.profile-popup__close {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 28px;
    right: -40px;
    cursor: pointer;
}

.profile-popup__close:before, .profile-popup__close:after {
    display: block;
    content: '';
    border-top: 1px solid rgb(246, 250, 255);
    width: 100%;
    height: 0;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
}

.profile-popup__close:after {
    transform: rotate(-45deg);
}

.profile-popup__form {
}

.profile-popup__field {

}

.profile-popup__control {
    box-sizing: border-box;
    width: 100%;
    height: 56px;
    padding: 4px 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.profile-popup__control_checkbox {
    width: auto;
    height: initial;
}

.profile-popup__field label {
    display: block;
    color: #8c949f;
}

.profile-popup__field_phone label {
    display: initial;

}

.profile-popup__hint {
    font-size: .8em;
    display: block;
}

.profile-popup__button {
    background-color: #2e71fc;
    color: #fff;
    border: 1px solid transparent;
    font-family: Stolzl, Roboto, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 8px;
    cursor: pointer;
    height: 56px;
    z-index: 2;
    white-space: nowrap;
    transition: background .2s ease-in-out;
    width: 100%;
    margin-top: 32px;
}

.profile-popup__message {
    color: red;
}

.auth-form {
    padding-left: 12px;
    padding-right: 12px;
}