.callback-modal-container {
    max-width: 529px;
}

.callback-modal-content {
    height: 721px;
    padding: 53px 75px 296px;
    border-radius: 20px;
    background: #FDFDFD;
    position: relative;
    gap: 31px;
    justify-content: flex-start;
}

.callback-modal-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
}

.callback-modal-title {
    color: #282828;
    text-align: center;
    font-size: 34px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px; /* 111.765% */
    text-transform: uppercase;
}

.callback-modal-text {
    color: #767676;
    text-align: center;
    font-size: 16.1px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.callback-modal-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 33px;
    width: 100%;
    z-index: 1;
}

.callback-modal-form-input-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.callback-modal-form-input {
    color: #282828;
    height: 50px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #F5F5F5;
    padding: 0 27px;
    color: rgba(39, 39, 39, 0.50);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 144.444% */
    border: 1px solid #CDCDCD;
    outline: none;
}

.callback-modal-form-input::placeholder {
    color: rgba(39, 39, 39, 0.50);
}

.callback-modal-form-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.callback-modal-form-btn {
    display: flex;
    width: 100%;
    height: 60px;
    padding: 15px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 6px;
    background: #307943;
    box-shadow: 0 -4px 11px 0 rgba(0, 0, 0, 0.20) inset, 0 6px 8px 0 rgba(255, 255, 255, 0.45) inset;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 83.333% */
}

.callback-modal-form-btn:hover {
    background: #59AD60;
}

.callback-modal-form-btn-text {
    color: #2F2F2F;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    opacity: 0.5;
}

.callback-modal-form-btn-text a {
    color: #2F2F2F;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.callback-modal-image {
    width: 530px;
    height: 356px;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: url(image/modal/callback-image.png) transparent 50% / cover no-repeat;
}

.callback-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background-image: url("icon/modal/callback-modal-close.svg");
}

@media (max-width: 1208px) {
    .callback-modal-container {
        max-width: 320px;
    }

    .callback-modal-content {
        height: 596px;
        padding: 53px 16px 249px;
        gap: 26px;
    }

    .callback-modal-title {
        color: #282828;
        text-align: center;
        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 38px; /* 135.714% */
        text-transform: uppercase;
    }

    .callback-modal-text {
        color: #767676;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .callback-modal-form-input-group {
        gap: 14px;
    }

    .callback-modal-form {
        gap: 26px;
    }

    .callback-modal-form-btn {
        display: flex;
        width: 289px;
        height: 60px;
        padding: 15px 50px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        border-radius: 6px;
        background: #307943;
        box-shadow: 0px -4px 11px 0px rgba(0, 0, 0, 0.20) inset, 0px 6px 8px 0px rgba(255, 255, 255, 0.45) inset;
        color: #FFF;
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 83.333% */
        white-space: nowrap;
    }

    .callback-modal-form-btn-text {
        width: 320px;
        color: #2F2F2F;
        text-align: center;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 16px; /* 133.333% */
    }

    .callback-modal-image {
        width: 326px;
        height: 223px;
        flex-shrink: 0;
    }

    .callback-modal-close {
        top: 6px;
        right: 6px;
    }
}