:root {
    --feedback-navy: #0d1b45;
    --feedback-muted: #62708f;
    --feedback-border: #dce3ef;
    --feedback-soft: #f5f8ff;
    --feedback-accent: #3b7cf7;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--feedback-navy);
    background: #fff;
    font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.feedback-container { max-width: 1480px; padding-inline: clamp(1.25rem, 3.5vw, 3.5rem); }

.feedback-header {
    min-height: 74px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--feedback-border);
    background: rgba(255, 255, 255, .96);
}

.feedback-header .feedback-container { display: flex; align-items: center; width: 100%; }

.feedback-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--feedback-accent);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    letter-spacing: -.04em;
}

.feedback-brand img { display: block; width: auto; max-width: 190px; height: 42px; object-fit: contain; }
.feedback-brand-text { color: var(--feedback-accent); font-weight: 800; }
.feedback-header-divider { width: 1px; height: 38px; margin-inline: 1.35rem; background: var(--feedback-border); }
.feedback-header-title { font-size: 1.12rem; font-weight: 700; }

.feedback-main { min-height: calc(100vh - 145px); padding: 1rem 0 1.5rem; }
.feedback-intro { position: relative; padding-top: .65rem; }

.feedback-intro h1 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(2.3rem, 4vw, 3.25rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.045em;
}

.feedback-lead {
    max-width: 470px;
    margin: 1.35rem 0 0;
    color: var(--feedback-navy);
    font-size: clamp(1.05rem, 1.6vw, 1.32rem);
    line-height: 1.55;
}

.feedback-guide {
    max-width: 430px;
    margin-top: clamp(2.2rem, 5vw, 4.5rem);
    padding: clamp(1.35rem, 2vw, 2rem);
    border: 1px solid var(--feedback-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(18, 39, 84, .035);
}

.feedback-guide h2 { margin: 0 0 1.35rem; font-size: 1.12rem; font-weight: 800; }
.feedback-guide ol { display: grid; gap: 1.35rem; margin: 0; padding: 0; list-style: none; }
.feedback-guide li { display: flex; gap: .9rem; align-items: flex-start; }
.feedback-guide li div { min-width: 0; }
.feedback-guide strong, .feedback-guide small { display: block; }
.feedback-guide strong { margin-bottom: .2rem; font-size: .96rem; }
.feedback-guide small { color: var(--feedback-muted); font-size: .88rem; line-height: 1.55; }
.feedback-step { flex: 0 0 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--feedback-accent); font-size: .82rem; font-weight: 800; box-shadow: 0 6px 16px rgba(59, 124, 247, .22); }

.feedback-route { position: relative; width: 300px; height: 130px; margin: 1.5rem 0 -2.5rem -1.5rem; color: var(--feedback-accent); opacity: .92; }
.feedback-route span { position: absolute; inset: 6px 55px 14px 0; border: 2px dashed var(--feedback-accent); border-top-color: transparent; border-left-color: transparent; border-radius: 0 0 55% 50%; transform: rotate(7deg); }
.feedback-route i { position: absolute; right: 44px; bottom: 8px; font-size: 2.2rem; }

.feedback-form-panel {
    padding: 1.35rem;
    border: 1px solid var(--feedback-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(20, 41, 86, .08);
}

.form-label { margin-bottom: .45rem; color: var(--feedback-navy); font-size: .91rem; font-weight: 700; }
.feedback-form-panel .row { --bs-gutter-y: .65rem; }
.form-control, .form-select { min-height: 42px; border-color: #cfd7e5; border-radius: 8px; color: var(--feedback-navy); font-size: .94rem; font-weight: 500; }
textarea.form-control { min-height: auto; line-height: 1.45; resize: vertical; }
.form-control::placeholder { color: #8a95ad; font-weight: 400; }
.form-control:focus, .form-select:focus { border-color: var(--feedback-accent); box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--feedback-accent) 15%, transparent); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #d64242; }
.invalid-feedback { font-size: .8rem; }
.feedback-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.feedback-dropzone {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: .55rem 1rem;
    border: 1.5px dashed var(--feedback-accent);
    border-radius: 10px;
    color: var(--feedback-accent);
    background: #fbfdff;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.feedback-dropzone:hover, .feedback-dropzone.is-dragging { background: var(--feedback-soft); transform: translateY(-1px); }
.feedback-dropzone:focus-within { outline: 3px solid color-mix(in srgb, var(--feedback-accent) 18%, transparent); outline-offset: 2px; }
.feedback-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.feedback-dropzone i { font-size: 2rem; }
.feedback-dropzone span, .feedback-dropzone strong, .feedback-dropzone small { display: block; }
.feedback-dropzone strong { font-size: 1rem; }
.feedback-dropzone small { margin-top: .1rem; color: var(--feedback-muted); font-size: .82rem; }

.feedback-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .75rem; }
.feedback-preview { min-width: 0; display: flex; gap: .65rem; align-items: center; padding: .55rem; border: 1px solid var(--feedback-border); border-radius: 9px; background: #fff; }
.feedback-preview img { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 6px; object-fit: cover; background: var(--feedback-soft); }
.feedback-preview-copy { min-width: 0; flex: 1; }
.feedback-preview strong, .feedback-preview small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedback-preview strong { font-size: .82rem; }
.feedback-preview small { color: var(--feedback-muted); font-size: .76rem; }
.feedback-preview button { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 7px; color: #d93648; background: transparent; }
.feedback-preview button:hover { background: #fff0f2; }

.feedback-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--feedback-accent);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--feedback-accent) 25%, transparent);
    font-size: 1.04rem;
    font-weight: 800;
    transition: transform .18s ease, filter .18s ease;
}

.feedback-submit:hover { color: #fff; filter: brightness(.94); transform: translateY(-1px); }
.feedback-submit:focus-visible { color: #fff; outline: 3px solid color-mix(in srgb, var(--feedback-accent) 28%, transparent); outline-offset: 3px; }
.feedback-submit:disabled { opacity: .68; transform: none; }
.feedback-submit i { margin-inline-end: .4rem; }
.feedback-privacy { display: flex; gap: .55rem; align-items: center; margin-top: .85rem; color: var(--feedback-muted); font-size: .83rem; }

.feedback-success { min-height: 650px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.feedback-success-icon { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 1.25rem; border-radius: 50%; color: #fff; background: var(--feedback-accent); font-size: 2.2rem; }
.feedback-success h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; }
.feedback-success p { max-width: 500px; margin: .85rem 0 1rem; color: var(--feedback-muted); }
.feedback-success > strong { margin-bottom: 1.4rem; padding: .65rem 1rem; border-radius: 8px; background: var(--feedback-soft); color: var(--feedback-accent); letter-spacing: .08em; }

.feedback-footer { min-height: 72px; display: flex; align-items: center; border-top: 1px solid var(--feedback-border); color: var(--feedback-muted); font-size: .86rem; }
.feedback-footer .feedback-container { width: 100%; display: flex; gap: 1.25rem; align-items: center; }
.feedback-footer strong { color: var(--feedback-accent); font-size: 1.05rem; }
.feedback-footer a { color: var(--feedback-muted); font-weight: 700; text-decoration: none; }
.feedback-footer a:hover { color: var(--feedback-accent); }

@media (max-width: 991.98px) {
    .feedback-main { padding-top: 2.25rem; }
    .feedback-form-panel .row { --bs-gutter-y: 1rem; }
    .form-control, .form-select { min-height: 48px; }
    .feedback-intro h1 br { display: none !important; }
    .feedback-lead { max-width: 680px; }
    .feedback-guide { max-width: none; margin-top: 1.75rem; }
    .feedback-guide ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feedback-route { display: none; }
}

@media (max-width: 767.98px) {
    .feedback-container { padding-inline: 1rem; }
    .feedback-header { min-height: 64px; }
    .feedback-brand { font-size: 1.45rem; }
    .feedback-brand img { max-width: 145px; height: 34px; }
    .feedback-header-divider { height: 30px; margin-inline: .9rem; }
    .feedback-header-title { font-size: .98rem; }
    .feedback-intro h1 { font-size: 2.25rem; }
    .feedback-lead { font-size: 1.03rem; }
    .feedback-guide { padding: 1.2rem; }
    .feedback-guide ol { grid-template-columns: 1fr; gap: 1rem; }
    .feedback-form-panel { padding: 1rem; border-radius: 14px; box-shadow: 0 12px 35px rgba(20, 41, 86, .07); }
    .feedback-dropzone { align-items: center; text-align: left; }
    .feedback-previews { grid-template-columns: 1fr; }
    .feedback-footer .feedback-container { flex-wrap: wrap; gap: .25rem 1rem; padding-block: 1rem; }
    .feedback-footer span:last-child { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
