.feedback-page {
    background: #f3f3f3;
}

.Hero_Section {
    position: relative;
    min-height: 430px;
}

.Hero_ImgWrapper {
    min-height: 430px;
    background-color: #0c3f6a;
    background-image: var(--hero-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* --hero-bg/--hero-bg-mobile are set inline per the page's heroBackgroundImage/
   heroMobileImg values (Feedback.cshtml) — no <img> tag here to wrap in
   <picture>, so the mobile swap goes through a custom property instead.
   Falls back to --hero-bg when no mobile image is set. */
@media (max-width: 768px) {
    .Hero_ImgWrapper {
        background-image: var(--hero-bg-mobile, var(--hero-bg));
    }
}

.Hero_Content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 30px 30px;
    background: linear-gradient(180deg, rgba(0, 44, 85, 0.2) 0%, rgba(0, 44, 85, 0.68) 100%);
}

.Hero_Title {
    margin: 0;
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: balance;
    max-width: 760px;
}

/*.Hero_ImgWrapper--flipped {
    transform: scaleX(-1);
}*/

.feedback-page__hero {
    position: relative;
    min-height: 430px;
    background-color: #0c3f6a;
    background-size: cover;
    background-position: center;
}

.feedback-page__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 44, 85, 0.72) 0%, rgba(0, 44, 85, 0.72) 100%);
}

.feedback-page__hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 250px;
}

.feedback-page__hero-title {
    color: #fff;
    margin: 0;
    font-size: 3rem;
    font-weight: 700;
}

.feedback-page__survey-wrap {
    /*--survey-overlap: 200px;*/
    background: #FFFFFF;
   /* padding: 0px 100px;*/
    margin-top: calc(-1 * var(--survey-overlap));
    position: relative;
    z-index: 2;
}

.feedback-page__survey-card {
    background: #fff;
    border-radius: 24px;
    /*box-shadow: 0 4px 24px rgba(22, 39, 61, 0.14);*/
    /*padding: 42px 42px 36px;*/
    /*border: 1px solid rgba(15, 61, 104, 0.06);*/
}

[dir="ltr"] .feedback-page__survey-card {
    margin-inline: auto;
}

.feedback-page__title {
    margin: 0;
    text-align: center;
    color: #003b70;
    font-size: 32px;
    line-height: 120%;
    font-weight: 400;
}

.feedback-page__desc {
    text-align: center;
    margin: 16px auto 28px;
    max-width: 700px;
    color: #6a7282;
    font-size: 16px;
    line-height: 150%;
    font-weight: 400;
}

.feedback-page__question {
    margin-bottom: 24px;
}

.feedback-page__question-title {
    margin: 0 0 10px;
    color: #003b70;
        font-size: 24px;
    line-height: 150%;
    font-weight: 400;
}

[dir="ltr"] .feedback-page__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%235d89b4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px 18px;
    padding-right: 48px;
     font-size: 16px;
        line-height: 150%;
        font-weight: 300;
}

[dir="rtl"] .feedback-page__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%235d89b4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 18px 18px;
    padding-left: 48px;
    font-size: 14px;
}

.feedback-page__rating {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.feedback-page__rating-btn {
    font-size: 16px;
    line-height: 150%;
    font-weight: 300;
    border: 1px solid #5d89b4;
    border-radius: 8px;
    background: #fff;
    color: #7f8798;
    height: 52px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feedback-page__rating-btn:hover {
    border-color: #10c3b6;
    color: #2a4f74;
}

.feedback-page__rating-btn:focus-visible,
.feedback-page__select:focus-visible,
.feedback-page__textarea:focus-visible,
.feedback-page__submit:focus-visible {
    outline: 3px solid rgba(16, 195, 182, 0.28);
    outline-offset: 1px;
}

.feedback-page__rating-btn.is-active {
    background: #10c3b6;
    border-color: #10c3b6;
    color: #fff;
}

.feedback-page__select,
.feedback-page__textarea {
    width: 100%;
    border: 1px solid #5d89b4;
    border-radius: 8px;
    color: #7f8798;
    background: #fff;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 150%;
    font-weight: 300;
}

.feedback-page__textarea {
    min-height: 170px;
    resize: vertical;
}

.feedback-page__legend {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    color: #5F6674;
	font-size: 16px;
    line-height: 150%;
    font-weight: 300;
}

.feedback-page__submit {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #10c3b6;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    height: 56px;
    margin-top: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}


[dir="rtl"] .feedback-page__question-title,
[dir="rtl"] .feedback-page__hero-title {
    text-align: right;
}

@media (max-width: 768px) {
    .Hero_Section,
    .Hero_ImgWrapper {
        min-height: 320px;
    }

    [dir="ltr"] .Hero_ImgWrapper {
        background-position: 65% 20% !important;
        background-size: cover !important;
    }

    [dir="rtl"] .Hero_ImgWrapper {
        background-position: 80% 20% !important;
        background-size: cover !important;
    }

    .Hero_Content {
        padding: 0 24px 44px;
    }


    [dir="rtl"] .Hero_ImgWrapper--flip-mobile {
        transform: scaleX(-1);
    }

    [dir="ltr"] .Hero_ImgWrapper--flip-mobile {
        transform: none;
    }
}
@media (max-width: 1100px) {
    .feedback-page__hero-title {
        font-size: 2.4rem;
    }

    .feedback-page__title {
        font-size: 2.2rem;
    }

    .feedback-page__question-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .feedback-page__legend {
      
        font-size: 14px;
    }
    .Hero_Title {
        font-weight: 400;
        font-size: 20px !important;
    }
    .feedback-page__hero {
        min-height: 330px;
    }

    .feedback-page__hero-inner {
        padding-top: 215px;
    }

    /*.feedback-page__survey-wrap {
        padding: 0px 15px;
    }*/

    .feedback-page__survey-card {
      /*  padding: 24px 18px;*/
        border-radius: 20px;
    }

    .feedback-page__rating {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .feedback-page__title {
        font-size: 24px;
    }

    .feedback-page__desc {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.3;
     
    }

    .feedback-page__question-title {
        font-size: 16px;
    }

    [dir="ltr"] .feedback-page__question {
        margin-bottom: 28px;
    }

    [dir="ltr"] .feedback-page__select,
    [dir="ltr"] .feedback-page__textarea {
        padding-top: 16px;
        padding-bottom: 16px;
        font-size: 16px;
        line-height: 150%;
        font-weight: 300;
    }

    [dir="ltr"] .feedback-page__select {
        background-position: right 18px center;
        background-size: 20px 20px;
        padding-right: 52px;
    }

    [dir="rtl"] .feedback-page__select {
        background-position: left 18px center;
        background-size: 20px 20px;
        padding-left: 52px;
    }
}

@media (max-width: 560px) {
    [dir="ltr"] .Hero_ImgWrapper {
        background-position: 70% 12% !important;
    }

    [dir="rtl"] .Hero_ImgWrapper {
        background-position: 80% 12% !important;
    }

    .feedback-page__hero-title {
        font-size: 2rem;
    }

    .feedback-page__rating-btn {
        height: 44px;
    }

    .feedback-page__submit {
        height: 50px;
        font-size: 16px !important;
    }
}
