/* Variables */
:root {
    --color-text-primary: #383838;
    --color-text-secondary: #707070;
    --color-text-placeholder: #838383;
    --color-blue: #1815b9;
    --color-green: #43ea68;
    --color-white: #ffffff;
    --color-bg-glass: rgba(255, 255, 255, 0.4);

    --font-family-display: 'Wix Madefor Display', sans-serif;
    --font-family-text: 'Wix Madefor Text', sans-serif;
}

/* Section Container */
.feedback-section {
    display: flex;
    justify-content: center;
    width: 100%;
    /* Default background (Desktop Base 1920) */
    background-image: linear-gradient(
            225.69deg,
            #e7edff 18.79%,
            #ccd9ff 54.49%,
            #e7edff 84.42%
    );
    border-radius: 10px;
    /* Max width handling */
    max-width: 100%;
    margin: 0 auto;
    margin-top: 100px;
}

.feedback-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1420px; /* From BREAKPOINTS.md */
    padding: 48px 160px; /* From 511_965 */
    column-gap: 40px;
}

/* Left Column / Info */
.feedback-info {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    flex: 1;
}

.feedback-title {
    color: var(--color-text-primary);
    font-family: Nunito;
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: 0%;
}

/* Manager Block */
.manager-block {
    display: flex;
    align-items: stretch;
    column-gap: 20px;
    background: var(--color-bg-glass);
    padding: 20px;
    border-radius: 10px;
    /* width: 539px; */ /* Let it be fluid/content-based or max-width */
}

.manager-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.manager-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 12px; /* Adjusted from source */
}

.manager-status {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.status-dot {
    width: 14px;
    height: 14px;
    background: var(--color-green);
    border-radius: 50%;
    box-shadow: 0px 2px 10px 0px rgba(24, 21, 185, 0.1);
}

.status-text {
    font-size: 14px;
    color: var(--color-text-primary);
}

.manager-name-role {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.manager-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}

.manager-role {
    font-size: 14px;
    line-height: 17px;
    color: var(--color-text-secondary);
    max-width: 265px;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    align-items: flex-start;
    column-gap: 70px;
}

.contact-text-methods {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.contact-label {
    font-size: 14px;
    line-height: 17px;
    color: var(--color-text-primary);
}

.contact-value {
    font-size: 16px;
    line-height: 19px;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
}

.social-methods {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.social-icons {
    display: flex;
    column-gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 10px;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.05);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

/* Right Column / Form */
.feedback-form-block {
    display: flex;
    flex-direction: column;
    row-gap: 28px;
    flex: 1;
    max-width: 500px; /* Estimated from design */
}

.form-title {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: var(--color-white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-family-text);
    font-size: 16px;
    color: var(--color-text-primary);
    outline: none;
}

.form-input::placeholder {
    color: var(--color-text-placeholder);
}

.form-textarea {
    height: 80px;
    resize: none;
}

.form-checkbox-wrapper {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--color-blue);
    cursor: pointer;
}

.form-checkbox-label {
    font-size: 16px;
    line-height: 16px;
    color: var(--color-text-primary);
    cursor: pointer;
}

.form-checkbox-label a {
    color: var(--color-text-primary);
    text-decoration: underline;
}

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue);
    color: var(--color-white);
    padding: 17px 40px;
    border-radius: 30px;
    border: none;
    font-family: var(--font-family-text);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit-btn:hover {
    opacity: 0.9;
}
.feedback-section .action_title{
    font-family: Nunito;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    padding: 0;
    letter-spacing: 0%;
}
.feedback-section .form_result{
    gap: 12px;
}
.feedback-section label[data-bx-user-consent]{
    margin: -2px 0 16px 0;
}
.feedback-section .input_group_inpt input,
.feedback-section .form_capcha input,
.feedback-section .input_group_inpt textarea{
    padding: 14px 20px;
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
}
.feedback-section  .custom_check input[type="checkbox"] + span:before{
    background: white;
}
.feedback-section label[data-bx-user-consent] {
    padding: 10px 0px 10px 0px;
}
.feedback-section .custom_check input[type="checkbox"]:checked + span,
.feedback-section .custom_check input[type="checkbox"]:not(:checked) + span {
    font-family: Nunito;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    padding-top: 2px;
    letter-spacing: 0%;
}
.feedback-section .request-call-form__send-request_action{
    height: 50px;
    width: 100%;
}
.feedback-section .custom_check input[type="checkbox"]:checked + span:before {
    background-color: var(--color-main);
}
.feedback-section .social-icons rect{
    fill: white;
}
.feedback-section .social-icons path{
    fill: #090909;
}
.feedback-section .social-icons a:hover{
    opacity: 0.8;
}
.feedback-section .input_group_inpt textarea {
    height: 80px;
}
/* =========================================
   BREAKPOINTS
   ========================================= */

/* 1. Desktop (Base) >= 1420px */
/* Styles above are default for Desktop */


/* 2. Tablet Large (1200px - 1419px) */
@media (max-width: 1419px) {
    .feedback-section {
        background-image: linear-gradient(
                218.38deg,
                #e7edff 12.99%,
                #ccd9ff 54.04%,
                #e7edff 88.47%
        );
    }

    .feedback-container {
        max-width: 1160px;
        padding: 48px 60px;
        column-gap: 40px;
    }

    .manager-photo {
        width: 100px;
        height: 100px;
    }
}

/* 3. Tablet (768px - 1199px) -> Specifically targeting 992px design logic */
@media (max-width: 1199px) {
    margin-top: 80px;
    .feedback-section {
        background-image: linear-gradient(
                213.67deg,
                #e7edff 8.44%,
                #ccd9ff 53.69%,
                #e7edff 91.63%
        );
    }

    .feedback-container {
        /* Based on 658_4484 width 950px */
        padding: 40px;
        column-gap: 20px;
    }

    .feedback-title {
        font-size: 26px;
        line-height: 31px;
    }

    .manager-photo {
        width: 120px; /* Back to 120px as per 658_4484 SCSS */
        height: 120px;
    }

    /* Adjust contact methods spacing */
    .contact-methods {
        column-gap: 20px;
    }
}

/* 4. Tablet Small / Mobile Landscape (Targeting 768px view) */
/* This is where the layout shifts to Column */
@media (max-width: 991px) { /* Adjusting breakpoint to fit the "768 and more" logic comfortably */
    .feedback-section {
        background-image: linear-gradient(
                196.03deg,
                #e7edff -12.77%,
                #ccd9ff 52.06%,
                #e7edff 106.42%
        );
    }

    .feedback-container {
        /* Based on 659_6306 width 728px */
        flex-direction: column;
        width: 100%;
        padding: 40px;
        row-gap: 32px;
    }

    .feedback-info {
        width: 100%;
    }

    .feedback-form-block {
        width: 100%;
        max-width: 100%;
    }

    .manager-block {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 20px;
    }

    .manager-photo {
        width: 100px;
        height: 100px;
    }

    .manager-details {
        align-items: flex-start;
    }

    /* Contacts might stack differently */
    .contact-methods {
        flex-direction: row; /* Keep row if space permits */
        justify-content: space-between;
        width: 100%;
    }
}

/* 5. Mobile (<= 767px) */
@media (max-width: 767px) {
    .feedback-section {
        background-image: linear-gradient(
                186.26deg,
                #e7edff -22.39%,
                #ccd9ff 51.32%,
                #e7edff 113.12%
        );
    }

    .feedback-container {
        padding: 20px;
        max-width: 100%;
    }

    .feedback-title {
        font-size: 20px;
        line-height: 24px;
    }

    .manager-block {
        flex-direction: unset;
        /* In 659_7972 mobile view */
        padding: 16px 20px;
    }

    .manager-photo {
        width: 80px;
        height: 80px;
    }

    .contact-methods {
        flex-direction: column;
        row-gap: 20px;
    }

    .form-title {
        font-size: 20px;
        line-height: 20px; /* a6 in mobile */
    }

    .form-submit-btn {
        width: 100%;
    }
}
