.call-me-on-test {
    --cmt-white: #ffffff;
    --cmt-black: #1f1f1f;
    --cmt-grey: #82898e;
    --cmt-border: #cfd0cf;
    --cmt-red: #c82123;
    --cmt-red-hover: #a81b1d;

    position: relative;
    overflow: hidden;
    background: var(--cmt-white);
    border-radius: 0px;
    font-family: 'Manrope', sans-serif;
    color: var(--cmt-black);
}

.call-me-on-test *,
.call-me-on-test *::before,
.call-me-on-test *::after {
    box-sizing: border-box;
}

.call-me-on-test__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px 40px 0px 40px;
}

.call-me-on-test__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 48px;
}

.call-me-on-test__badge {
    margin: 0;
    color: var(--cmt-red);
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.call-me-on-test__title {
    margin: 0;
    color: var(--cmt-black);
    font-family: 'Unbounded', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: -0.24px;
    text-transform: uppercase;
}

.call-me-on-test__description {
    margin: 0;
    color: var(--cmt-grey);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.call-me-on-test__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.call-me-on-test__field {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 60px;
}

.call-me-on-test__label {
    display: block;
    color: var(--cmt-grey);
    font-size: 12px;
    font-weight: 700;
    line-height: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.call-me-on-test__control {
    position: relative;
    width: 100%;
}

.call-me-on-test__control--select {
    display: block;
    width: 100%;
}

.call-me-on-test__control--select select.call-me-on-test__select {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    clip: auto !important;
    height: auto !important;
}

.call-me-on-test__control--select .nice-select {
    display: none !important;
}

.call-me-on-test__input,
.call-me-on-test__select {
    display: block;
    width: 100%;
    padding: 0 0 8px;
    border: 0;
    border-bottom: 1px solid var(--cmt-border);
    border-radius: 0;
    background: transparent;
    color: var(--cmt-black);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    appearance: none;
    transition: border-color 0.2s ease;
}

.call-me-on-test__input::placeholder {
    color: var(--cmt-grey);
}

.call-me-on-test__input:focus,
.call-me-on-test__select:focus {
    outline: none;
    border-bottom-color: var(--cmt-black);
}

.call-me-on-test__input.is-invalid,
.call-me-on-test__select.is-invalid {
    border-bottom-color: var(--cmt-red);
}

.call-me-on-test__select {
    padding-right: 32px;
    cursor: pointer;
    color: var(--cmt-grey);
}

.call-me-on-test__select:required:invalid,
.call-me-on-test__select.is-placeholder {
    color: var(--cmt-grey);
}

.call-me-on-test__select option {
    color: var(--cmt-black);
}

.call-me-on-test__select option[value=""][disabled] {
    color: var(--cmt-grey);
}

.call-me-on-test__select-icon {
    position: absolute;
    top: 2px;
    right: 0;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.call-me-on-test__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.call-me-on-test__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 14.5px 24px 15.5px;
    border: 1px solid var(--cmt-red);
    background: var(--cmt-red);
    color: var(--cmt-white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.call-me-on-test__submit:hover:not(:disabled) {
    background: var(--cmt-red-hover);
    border-color: var(--cmt-red-hover);
}

.call-me-on-test__submit:disabled {
    opacity: 0.65;
    /*cursor: wait;*/
}

.call-me-on-test__status {
   /* min-height: 20px;*/
    margin: 12px 0 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--cmt-grey);
}

.call-me-on-test__status.is-visible {
    display: block;
}

.call-me-on-test__status--error {
    color: var(--cmt-red);
}

.call-me-on-test__status--success {
    color: #2e7d32;
}

.call-me-on-test__state {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 48px;
}

.call-me-on-test__state .call-me-on-test__title {
    font-size: 22px;
    line-height: 28px;
    text-transform: none;
}

.call-me-on-test__state .call-me-on-test__description {
    font-size: 16px;
    line-height: 24px;
}

@media (max-width: 767px) {
    .call-me-on-test__inner {
        padding: 32px 24px;
    }

    .call-me-on-test__head,
    .call-me-on-test__state {
        padding-right: 40px;
    }
}

.test_lesson_form{
    padding: 0px!important;
    margin: 0px 0px -16px 0px!important;
    margin-block-end: 0px!important;
}