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

.feedback-page {
    margin: 0;
    background: #f7f4ee;
    color: #30363d;
    font-family: Inter, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}
.feedback-header { display: flex; justify-content: center; padding: 24px 20px 16px; }
.feedback-logo { display: block; width: auto; max-width: 100%; height: 76px; object-fit: contain; }
.feedback-main { max-width: 1280px; margin: 0 auto; padding: 0 32px 48px; }
.feedback-panel { padding: 32px 40px 36px; border-radius: 6px; background: #f3efe6; }
#feedback-title {
    margin: 0 0 28px;
    color: #0a2342;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.5vw, 32px);
    line-height: 1.25;
    text-align: center;
}
#contact-form { display: grid; gap: 20px; width: 100%; max-width: 672px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { min-width: 0; }
.form-label { display: block; margin-bottom: 6px; color: #30363d; font-size: 14px; font-weight: 500; line-height: 1.4; }
.form-control {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #d6d9dd;
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    color: #30363d;
    box-shadow: 0 1px 2px rgba(10, 35, 66, 0.035);
    font: inherit;
    line-height: 1.5;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form-control::placeholder { color: #858b93; opacity: 1; }
.form-control:hover { border-color: #aeb6bf; }
.form-control:focus { border-color: #355a7b; box-shadow: 0 0 0 3px rgba(53, 90, 123, 0.12); }
textarea.form-control { min-height: 136px; resize: vertical; }
.select-field { position: relative; }
.select-field::after {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #485461;
    border-bottom: 1.5px solid #485461;
    content: "";
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}
select.form-control { padding-right: 42px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.optional-section { margin: 0; }
.optional-section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 4px 2px;
    border-radius: 4px;
    color: #30363d;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.optional-section > summary::-webkit-details-marker { display: none; }
.optional-section > summary::marker { content: ""; }
.optional-tag { font-weight: 400; }
.optional-chevron {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-right: 1.5px solid #485461;
    border-bottom: 1.5px solid #485461;
    transform: rotate(45deg);
}
.optional-section[open] .optional-chevron { transform: translateY(3px) rotate(225deg); }
.optional-content { padding-top: 4px; }
.form-actions { padding-top: 4px; }
.submit-button,
.support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #0a2e53;
    color: #fff;
    font: inherit;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}
.submit-button { width: 100%; }
.submit-button:hover, .support-link:hover { background: #143e64; }
.submit-button:disabled { opacity: 0.65; cursor: wait; }
.submit-button:focus-visible,
.support-link:focus-visible,
.optional-section > summary:focus-visible { outline: 2px solid #355a7b; outline-offset: 3px; }
.privacy-note { margin: 12px 0 0; color: #707780; font-size: 12px; line-height: 1.6; }
.form-control.error { border-color: #bf4242; }
.form-control.error:focus { box-shadow: 0 0 0 3px rgba(191, 66, 66, 0.12); }
.error-message { margin-top: 6px; color: #b13737; font-size: 12px; line-height: 1.5; }
.error-message-popup, .success-message { max-width: calc(100vw - 32px); overflow-wrap: anywhere; }
.support-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; }
.support-cta p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #0a2342;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
}
.support-cta svg { flex-shrink: 0; }
@media (max-width: 767px) {
    .feedback-header { padding: 20px 20px 16px; }
    .feedback-logo { height: 58px; }
    .feedback-main { padding: 0 16px 32px; }
    .feedback-panel { padding: 24px 20px; }
    #feedback-title { margin-bottom: 24px; }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    .form-control { font-size: 16px; }
    .support-cta { flex-direction: column; margin-top: 28px; }
}
@media (max-width: 374px) {
    .feedback-main { padding-right: 12px; padding-left: 12px; }
    .feedback-panel { padding-right: 16px; padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .feedback-page * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
