/*
 * SmartBtn — /about/feedback
 *
 * Was a bare Bootstrap 3 form-horizontal with no card, no spacing, default
 * grey inputs -- restyled on the site's own v2 palette (same tokens as
 * assets/css/faq-api-usage.css / instructions-page.css: #2563EB primary
 * blue, #211D2E dark text, #F7FAFF page background), loaded ONLY by this
 * page.
 */

.feedback-page {
    font-family: 'Gilroy', 'Roboto', Arial, sans-serif;
    color: #211D2E;
    background: #F7FAFF;
    padding: 56px 16px 80px;
    display: flex;
    justify-content: center;
}

.feedback-page,
.feedback-page * {
    box-sizing: border-box;
}

.feedback-page__card {
    width: 100%;
    max-width: 560px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(20, 102, 204, 0.08);
    padding: 40px 36px;
}

@media (max-width: 600px) {
    .feedback-page__card {
        padding: 28px 20px;
    }
}

.feedback-page__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #211D2E;
    text-align: center;
}

.feedback-page__lead {
    font-size: 15px;
    line-height: 1.55;
    color: #42526E;
    margin: 0 0 28px;
    text-align: center;
}

/* Reuses the shared common.errors / common.notifications partials --
   scoped overrides only, the global .error-list/.success classes and
   their markup are untouched. */
.feedback-page .error-list {
    list-style: none;
    background: #FDECEC;
    color: #B3261E;
    border-left: 4px solid #B3261E;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
}

.feedback-page .error-list .error + .error {
    margin-top: 6px;
}

.feedback-page .success {
    display: block;
    background: #E7F8EF;
    color: #157A45;
    border-left: 4px solid #157A45;
    border-radius: 12px;
    padding: 14px 18px;
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
}

.feedback-page__field {
    margin-bottom: 20px;
}

.feedback-page__field label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #333A4D;
    margin-bottom: 7px;
}

.feedback-page__field input,
.feedback-page__field textarea {
    width: 100%;
    border: 1px solid #DEE4F5;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: inherit;
    color: #211D2E;
    background: #FBFCFF;
    transition: border-color .15s ease;
}

.feedback-page__field input:focus,
.feedback-page__field textarea:focus {
    outline: none;
    border-color: #2563EB;
    background: #fff;
}

.feedback-page__field textarea {
    min-height: 120px;
    resize: vertical;
}

.feedback-page__consent {
    margin-bottom: 24px;
}

/* The site's global `input { appearance: none; }` reset (public/css/style.css)
   strips native checkbox rendering everywhere, so accent-color has nothing to
   paint -- same problem the registration page's own consent checkbox
   (public/css/style.css .checkbox + label:before) already solved by hiding
   the real input and drawing the box/checkmark on the label instead. Mirrors
   that exact pattern rather than reinventing it. */
.feedback-page__consent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.feedback-page__consent label {
    position: relative;
    display: block;
    padding-left: 28px;
    font-size: 13px;
    line-height: 1.55;
    color: #6B7590;
    cursor: pointer;
}

.feedback-page__consent label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 2px solid #2563EB;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}

.feedback-page__consent input[type="checkbox"]:checked + label::before {
    content: '\2714';
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563EB;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.feedback-page__consent input[type="checkbox"]:focus-visible + label::before {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

.feedback-page__consent a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 600;
}

.feedback-page__consent a:hover {
    text-decoration: underline;
}

.feedback-page__submit {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #2563EB;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 20px;
    cursor: pointer;
    transition: background .15s ease;
}

.feedback-page__submit:hover {
    background: #1D4FC4;
}
