/* ==========================================================================
   TOONEXY FEEDBACK CSS — Specifični stilovi za Feedback stranicu
   ========================================================================== */

:root {
  --page-bg: #eee;
  --paper: #fffdf5;
  --ink: #111;
  --muted: #444;
  --yellow: #ffd83d;
  --blue: #76aef0;
}

.feedbackPage {
  position: relative;
  width: min(92vw, 760px);
  min-height: calc(100vh - 56px);
  margin: 30px auto 20px;
  padding: 72px 52px 48px;
  border: 4px solid #222;
  background-color: var(--paper);
  background-image: radial-gradient(#d9d5c8 1px, transparent 1px);
  background-size: 8px 8px;
  box-shadow: 10px 10px 0 #d62929;
}

.feedbackPage::before,
.feedbackPage::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 77px;
  border: 4px solid #222;
}

.feedbackPage::before {
  top: -4px;
  left: -4px;
  background: var(--yellow);
  border-right: 4px solid #222;
  border-bottom: 4px solid #222;
  clip-path: polygon(0 0, 100% 0, 64% 100%, 0 82%);
}

.feedbackPage::after {
  right: -4px;
  bottom: -4px;
  width: 74px;
  height: 80px;
  background: var(--blue);
  border-left: 4px solid #222;
  border-top: 4px solid #222;
  clip-path: polygon(32% 0, 100% 19%, 100% 100%, 0 100%);
}

.topLine {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.feedbackLogoLink {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 28%;
  line-height: 0;
}

.feedbackLogoLink:focus-visible {
  outline: 3px solid #3d8ee8;
  outline-offset: 5px;
}

.feedbackLogo {
  display: block;
  width: 112px;
  height: 112px;
  border: 4px solid #171717;
  border-radius: 28%;
  object-fit: cover;
  box-shadow: 5px 5px 0 #171717;
  transform: rotate(-4deg);
  transition: transform .12s ease, box-shadow .12s ease;
}

.feedbackLogoLink:hover .feedbackLogo {
  transform: translate(3px, 3px) rotate(-4deg);
  box-shadow: 2px 2px 0 #171717;
}

.brandText { min-width: 0; }

.infoBadge {
  display: inline-block;
  padding: 7px 13px;
  border: 3px solid #222;
  background: var(--yellow);
  box-shadow: 3px 3px 0 #222;
  font-size: 12px;
  font-weight: 900;
  transform: rotate(-4deg);
}

.eyebrow {
  margin: 19px 0 0;
  color: #bd3838;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}

.feedbackTitle {
  margin: 12px 0 10px;
  max-width: 620px;
  font-size: clamp(34px, 7vw, 64px);
  line-height: .96;
  letter-spacing: -2px;
  text-transform: uppercase;
  font-style: italic;
  text-shadow: 4px 4px 0 var(--yellow), 7px 7px 0 #d62929;
}

.feedbackIntro {
  max-width: 630px;
  margin: 22px auto 25px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.formCard {
  position: relative;
  z-index: 1;
  padding: 18px 20px 20px;
  border: 3px solid #222;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 5px 5px 0 #222;
}

.formGrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 14px;
}

.feedbackPage label {
  display: block;
  margin: 12px 0 5px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.optional {
  color: #555;
  font-weight: 400;
  text-transform: none;
}

.feedbackPage select,
.feedbackPage textarea,
.feedbackPage input:not([type="file"]),
.feedbackPage button {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 2px solid #222;
  border-radius: 3px;
  background: #fff;
  color: #111;
  font: inherit;
}

.feedbackPage textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.4;
}

.feedbackPage input[type="file"] {
  padding: 7px 8px;
  width: 100%;
  border: 2px solid #222;
  background: #fff;
}

.feedbackPage button[type="submit"] {
  margin-top: 18px;
  background: var(--yellow);
  box-shadow: 4px 4px 0 #222;
  cursor: pointer;
  font-weight: 900;
  text-transform: uppercase;
}

.feedbackPage button[type="submit"]:hover,
.feedbackPage button[type="submit"]:focus-visible {
  background: var(--blue);
}

.feedbackPage button[type="submit"]:disabled {
  cursor: wait;
  opacity: .65;
}

.hint, .privacyNote {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.privacyNote { margin-top: 17px; }
.uploadArea[hidden] { display: none; }
.captchaBox { margin: 18px 0 0; min-height: 65px; }

.status {
  min-height: 20px;
  margin: 13px 0 0;
  font-size: 13px;
  font-weight: 900;
}

.status.success { color: #176b35; }
.status.error { color: #a50000; }

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.backLink {
  position: relative;
  z-index: 1;
  display: block;
  width: max-content;
  margin: 31px auto 0;
  color: #111;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.backLink:hover,
.backLink:focus-visible {
  color: #bd3838;
}

@media (max-width: 650px) {
  .feedbackPage {
    width: 94vw;
    padding: 58px 18px 34px;
    box-shadow: 7px 7px 0 #d62929;
  }
  .feedbackPage::before,
  .feedbackPage::after {
    width: 55px;
    height: 60px;
  }
  .feedbackLogo {
    width: 76px;
    height: 76px;
  }
  .topLine { gap: 14px; }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-top: 14px;
  }
  .formGrid { grid-template-columns: 1fr; }
  .feedbackTitle { font-size: clamp(32px, 12vw, 52px); }
  .feedbackIntro { font-size: 15px; }
}