.doc-detail-form {
    display: flex;
    background: radial-gradient(49.97% 94.59% at 18.71% 50.03%, #519BE9 0%, #054C96 100%);
    border-radius: 24px;
    margin-bottom: 90px;
}

.doc-detail-form__title {
    margin-bottom: 16px;
    font-family: "NeverMind", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 52px;
    color: #fff;
}

.doc-detail-form__title img {
    display: none;
}

.doc-detail-form__sale {
    margin: 0 0 48px;
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 1);
}

.doc-detail-form__right {
    width: 66%;
    min-width: 600px;
    padding: 40px;
    z-index: 1;
}

.doc-detail-form__left {
    position: relative;
    height: auto;
    width: 50%;
}

.doc-detail-form__left img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
}

.doc-detail-form__left form {
    row-gap: 14px;
    display: flex;
    flex-direction: column;
}

.doc-detail-form .form-group_page {
    display: none;
}

.doc-detail-form__fields {
    margin-bottom: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.doc-detail-form .form-group input,
.doc-detail-form .form-group textarea {
    padding: 14px 16px;
    width: 100%;
    font-family: "Geologica", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: rgba(90, 97, 108, 1);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
    outline: none;
    border: none;
}

.doc-detail-form .form-group input::placeholder,
.doc-detail-form .form-group textarea::placeholder {
    color: rgba(146, 153, 165, 1);
}

.doc-detail-form .form-group.textarea {
    grid-column: span 2;
}

.doc-detail-form .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.doc-detail-form .form-checkbox label {
    font-family: "Geologica", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: rgba(255, 255, 255, 1);
}

.doc-detail-form .form-checkbox label a {
    color: rgba(43, 172, 239, 1);
}

.doc-detail-form .form-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.doc-detail-form .form-checkbox {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}

.doc-detail-form .form-checkbox .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    flex-shrink: 0;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid rgba(208, 212, 218, 1);
    border-radius: 4px;
}

.doc-detail-form .form-checkbox:has(input:checked) .checkmark {
    background-color: rgba(43, 172, 239, 1);
    border-color: rgba(43, 172, 239, 1);
}

.doc-detail-form .form-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.doc-detail-form .form-checkbox:has(input:checked) .checkmark::after {
    display: block;
}

.doc-detail-form .form-checkbox .checkmark::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.doc-detail-form .checkbox-block {
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-detail-form .btn.form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    font-family: "Geologica", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: rgba(255, 255, 255, 1);
    text-transform: none;
    width: 100%;
    border-radius: 10px;
    background-color: rgba(255, 122, 69, 1);
    transition: background-color .3s ease-in-out;
}

.doc-detail-form .btn.form-btn:hover {
    background-color: rgba(255, 102, 40, 1);
}

button.btn-reviews.doctor-detail-reviews.btn {
    margin-bottom: 96px;
}

main .section-white .section-padding {
    padding-top: 0;
}

@media (max-width: 1200px) {
    .doc-detail-form__left img {
        height: 56%;
    }
}

@media (max-width: 991px) {
    .doc-detail-form__left {
        display: none;
    }

    .doc-detail-form__right {
        width: 100%;
    }

    .doc-detail-form__title img {
        position: absolute;
        right: -63px;
        bottom: -60px;
        display: block;
    }

    .doc-detail-form__title {
        position: relative;
        display: flex;
    }

    .doc-detail-form__title span {
        width: 50%;
    }

    .doc-detail-form {
        background: radial-gradient(350.41% 124.78% at 104.18% 0%, #519BE9 0%, #054C96 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
    }
}

@media (max-width: 660px) {
    .doc-detail-form__right {
        padding: 32px;
        min-width: unset;
    }

    .doc-detail-form__fields {
        grid-template-columns: 1fr;
    }

    .doc-detail-form .form-group.textarea {
        grid-column: unset;
    }
}

@media (max-width: 576px) {
    .doc-detail-form {
        margin-bottom: 22px;
    }

    .doc-detail-form__title {
        font-size: 32px;
        line-height: 40px;
    }

    .doc-detail-form__title img {
        bottom: -75px;
        right: -55px;
    }

    .doc-detail-form__sale {
        margin: 0 0 24px;
        font-size: 16px;
        line-height: 24px;
    }

    .doc-detail-form .form-group input, 
    .doc-detail-form .form-group textarea {
        padding: 12px 16px;
    }

    .doc-detail-form .form-group textarea {
        min-height: 126px;
    }

    .doc-detail-form__fields,
    .doc-detail-form .checkbox-block {
        margin-bottom: 24px;
    }

    .doc-detail-form__fields {
        margin-bottom: 15px;
    }

    .doc-detail-form .form-checkbox label {
        font-size: 13px;
        line-height: 20px;
    }

    .doc-detail-form .btn.form-btn {
        border-radius: 8px;
        padding: 12px;
    }

    button.btn-reviews.doctor-detail-reviews.btn {
        margin-bottom: 64px;
    }
}