.acca-register-section {
    position: relative;
    isolation: isolate;
    padding: 80px 0;
    background-color: #e7e8fb;
    background-image: var(--acca-register-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.acca-register-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.acca-register-section__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(0, 590px);
    gap: 70px;
    width: 100%;
    align-items: start;
    justify-content: center;
}

.acca-register-section__copy {
    padding-top: 32px;
}

.acca-register-section__title {
    margin: 0 0 16px;
    color: #7473c0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.375;
}

.acca-register-section__description {
    max-width: 620px;
    color: #222222;
    font-size: 14px;
    line-height: 1.35;
}

.acca-register-section__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.acca-register-highlight {
    min-height: 145px;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
}

.acca-register-highlight__title {
    margin: 0 0 16px;
    color: #ff313f;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
}

.acca-register-highlight__description {
    color: #222222;
    font-size: 14px;
    line-height: 1.35;
}

.acca-register-section__form {
    padding: 32px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
}

.acca-register-form-body .wpcf7 {
    margin: 0;
}

.acca-register-form-body .wpcf7 form,
.acca-register-form {
    margin: 0;
}

.acca-register-form {
    display: flex;
    flex-direction: column;
}

.acca-register-form__title {
    margin-bottom: 32px;
    color: #7473c0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.acca-register-form__fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.acca-register-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.acca-register-form__field {
    position: relative;
}

.acca-register-form__field--required:not(:has(.wpcf7-validates-as-required))::before {
    content: none;
}

.acca-register-form__field:has(.wpcf7-validates-as-required)::before,
.acca-register-form__field--required:has(.wpcf7-validates-as-required)::before {
    content: "*";
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    color: #ff313f;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.acca-register-form-body .wpcf7-form-control-wrap {
    display: block;
}

.acca-register-form-body input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.acca-register-form-body select,
.acca-register-form-body textarea,
.acca-register-dummy-form input:not([type="checkbox"]),
.acca-register-dummy-form select,
.acca-register-dummy-form textarea {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #7473c0;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: #7473c0;
    font-size: 14px;
    line-height: 19px;
}

.acca-register-form-body input::placeholder,
.acca-register-form-body textarea::placeholder,
.acca-register-dummy-form input::placeholder,
.acca-register-dummy-form textarea::placeholder {
    color: #7473c0;
    opacity: 1;
}

.acca-register-form-body select,
.acca-register-dummy-form select {
    appearance: none;
    padding-right: 42px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8' fill='none'%3E%3Cpath d='M1 1.5L6.5 6.5L12 1.5' stroke='%237473C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 13px 8px;
}

.acca-register-form-body input:focus,
.acca-register-form-body select:focus,
.acca-register-form-body textarea:focus,
.acca-register-dummy-form input:focus,
.acca-register-dummy-form select:focus,
.acca-register-dummy-form textarea:focus {
    outline: none;
    border-color: #ff313f;
}

.acca-register-form__consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 4px;
}

.acca-register-form-body .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}
.acca-register-form-body .wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    gap: 12px;
}

.acca-register-form__consent input[type="checkbox"],
.acca-register-form-body .wpcf7-acceptance input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    border: 1px solid #666666;
    border-radius: 2px;
}

.acca-register-form__consent span,
.acca-register-form-body .wpcf7-acceptance .wpcf7-list-item-label {
    flex: 1 1 auto;
    min-width: 0;
    color: #666666;
    color: var(--second-color, #666);

    /* Body/12 - Regular */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.acca-register-form-body .wpcf7-list-item {
    margin: 0;
}

.acca-register-form__submit,
.acca-register-form-body .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 35px;
    margin-top: 16px;
    border: 0;
    border-radius: 8px;
    background: #ff313f;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    padding: 0;
}

.acca-register-form-body .wpcf7-submit:hover,
.acca-register-form__submit:hover {
    background: #ff313f;
    color: #fff !important;
    opacity: 0.94;
}

.acca-register-form-body .wpcf7-submit[disabled],
.acca-register-form-body .wpcf7-submit:disabled,
.acca-register-form-body .wpcf7-submit[disabled]:hover,
.acca-register-form-body .wpcf7-submit:disabled:hover,
.acca-register-form-body .wpcf7-submit[disabled]:focus,
.acca-register-form-body .wpcf7-submit:disabled:focus,
.acca-register-form-body .wpcf7-submit[disabled]:active,
.acca-register-form-body .wpcf7-submit:disabled:active {
    -webkit-animation: none !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
    transform: none !important;
    -webkit-transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    background: #ff313f !important;
    background-image: none !important;
    color: #fff !important;
    border-color: #ff313f !important;
    cursor: pointer !important;
}

.acca-register-form-body .wpcf7-submit[disabled]::before,
.acca-register-form-body .wpcf7-submit:disabled::before,
.acca-register-form-body .wpcf7-submit[disabled]::after,
.acca-register-form-body .wpcf7-submit:disabled::after {
    content: none !important;
    display: none !important;
    -webkit-animation: none !important;
    animation: none !important;
    transition: none !important;
}

.acca-register-form-body .wpcf7-spinner {
    display: none !important;
}

.acca-register-form-body .wpcf7 form.submitting,
.acca-register-form-body .wpcf7 form.submitting .wpcf7-submit,
.acca-register-form-body .wpcf7 form.submitting .wpcf7-form-control {
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
}

.acca-register-form-body .wpcf7 form.submitting::before,
.acca-register-form-body .wpcf7 form.submitting::after,
.acca-register-form-body .wpcf7 form.submitting .wpcf7-spinner::before,
.acca-register-form-body .wpcf7 form.submitting .wpcf7-spinner::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}

.acca-register-form-body .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #ff313f;
    font-size: 12px;
    line-height: 1.35;
}

.acca-register-form-body .wpcf7-response-output {
    display: none !important;
    margin: 16px 0 0 !important;
    padding: 10px 12px !important;
    font-size: 13px;
    line-height: 1.4;
}

.acca-register-form-body .wpcf7-response-output.is-visible {
    display: block !important;
}

@media (max-width: 1279px) and (min-width: 850px) {
    .acca-register-section__container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }

    .acca-register-section__copy {
        min-width: 0;
    }

    .acca-register-section__form {
        min-width: 0;
    }
}

@media (max-width: 849px) {
    .acca-register-section {
        padding: 40px 0;
        background-position: center bottom;
        background-size: cover;
    }

    .acca-register-section__container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .acca-register-section__copy {
        padding-top: 0;
    }

    .acca-register-section__title {
        font-size: 20px;
        line-height: 28px;
    }

    .acca-register-section__description {
        max-width: 343px;
    }

    .acca-register-section__highlights {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .acca-register-highlight {
        min-height: 94px;
        padding: 16px;
        border-radius: 16px;
    }

    .acca-register-highlight__title {
        margin-bottom: 8px;
    }

    .acca-register-highlight__description {
        line-height: 1.35;
    }

    .acca-register-section__form {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .acca-register-form__title {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 28px;
    }

    .acca-register-form__consent span,
    .acca-register-form-body .wpcf7-acceptance .wpcf7-list-item-label {
        max-width: none;
    }
}
