/* Feedback public — formular editorial responsive, aliniat shellului 2026. */

body.feedback-page {
  --feedback-ink: #171526;
  --feedback-muted: #6f6a7d;
  --feedback-line: rgba(60, 50, 91, 0.12);
  --feedback-indigo: #635bdf;
  --feedback-violet: #8b5cf6;
  --feedback-pink: #ec4899;
  background: var(--listing-page-background, #f6f7fb);
  color: var(--feedback-ink);
}

.feedback-page-main {
  padding-top: 12px;
  padding-bottom: 42px;
}

.feedback-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  align-items: start;
}

.feedback-page-layout--single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.feedback-intro-card,
.feedback-panel {
  border: 1px solid var(--feedback-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(36, 29, 69, 0.07);
}

.feedback-intro-card {
  position: relative;
  isolation: isolate;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(247, 246, 255, 0.98), rgba(255, 248, 253, 0.95));
}

.feedback-intro-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -74px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border: 46px solid rgba(139, 92, 246, 0.055);
  border-radius: 50%;
}

.feedback-intro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--feedback-indigo), var(--feedback-pink));
  box-shadow: 0 12px 24px rgba(99, 91, 223, 0.22);
}

.feedback-intro-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.2;
}

.feedback-eyebrow,
.feedback-section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--feedback-indigo);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.feedback-intro-card h1 {
  margin: 0;
  color: var(--feedback-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.feedback-intro-card > p {
  margin: 16px 0 24px;
  color: var(--feedback-muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.feedback-promise-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feedback-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(86, 72, 125, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.74);
}

.feedback-promise-list li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  color: var(--feedback-indigo);
  background: #efefff;
}

.feedback-promise-list svg {
  width: 17px;
  height: 17px;
}

.feedback-promise-list strong,
.feedback-promise-list small {
  display: block;
}

.feedback-promise-list strong {
  margin: 1px 0 2px;
  color: #28243a;
  font-size: 0.78rem;
  font-weight: 780;
}

.feedback-promise-list small {
  color: #777184;
  font-size: 0.69rem;
  line-height: 1.4;
}

.feedback-panel {
  padding: 28px;
}

.feedback-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 21px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--feedback-line);
}

.feedback-form-heading h2 {
  margin: 0 0 5px;
  color: var(--feedback-ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 820;
  letter-spacing: -0.03em;
}

.feedback-form-heading p {
  margin: 0;
  color: var(--feedback-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.feedback-form-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #5b4fd1;
  background: #f0efff;
  font-size: 0.72rem;
  font-weight: 780;
}

.feedback-form-time svg {
  width: 14px;
  height: 14px;
}

.feedback-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid rgba(220, 38, 38, 0.14);
  border-radius: 14px;
  color: #b42318;
  background: #fff5f5;
  font-size: 0.8rem;
  line-height: 1.45;
}

.feedback-alert svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.feedback-fieldset {
  padding: 0;
  margin: 0 0 23px;
  border: 0;
}

.feedback-fieldset > legend,
.feedback-field-block > .form-label {
  display: flex;
  align-items: center;
  width: auto;
  gap: 8px;
  padding: 0;
  margin: 0 0 10px;
  color: #332e43;
  font-size: 0.8rem;
  font-weight: 760;
}

.feedback-fieldset > legend em,
.feedback-optional-label {
  color: #8b8494;
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 650;
}

.feedback-field-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 8px;
  color: var(--feedback-indigo);
  background: #efefff;
  font-size: 0.67rem;
  font-weight: 850;
}

.feedback-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.feedback-category-option,
.feedback-rating-options label {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.feedback-category-option > input,
.feedback-rating-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.feedback-category-surface {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid #e4e3eb;
  border-radius: 15px;
  background: #fbfbfd;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feedback-category-option:hover .feedback-category-surface {
  border-color: rgba(99, 91, 223, 0.3);
  background: #f9f8ff;
  transform: translateY(-1px);
}

.feedback-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  color: var(--feedback-indigo);
  background: #efefff;
}

.feedback-category-icon svg {
  width: 17px;
  height: 17px;
}

.feedback-category-surface strong,
.feedback-category-surface small {
  display: block;
}

.feedback-category-surface strong {
  margin: 1px 0 2px;
  color: #2a2639;
  font-size: 0.78rem;
  font-weight: 780;
}

.feedback-category-surface small {
  color: #777184;
  font-size: 0.68rem;
  line-height: 1.38;
}

.feedback-category-option > input:checked + .feedback-category-surface {
  border-color: #766ce5;
  background: #f3f2ff;
  box-shadow: 0 0 0 3px rgba(99, 91, 223, 0.1);
}

.feedback-category-option > input:checked + .feedback-category-surface .feedback-category-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--feedback-indigo), var(--feedback-violet));
}

.feedback-category-option > input:focus-visible + .feedback-category-surface,
.feedback-rating-options input:focus-visible + span {
  outline: 3px solid rgba(99, 102, 241, 0.25);
  outline-offset: 2px;
}

.feedback-field-block {
  margin-bottom: 23px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.contact-form-grid .feedback-field-block {
  margin-bottom: 0;
}

.contact-form-grid .feedback-field-block.is-full {
  grid-column: 1 / -1;
}

.contact-form-grid + .feedback-form-footer {
  margin-top: 23px;
}

.feedback-form-card .form-control {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dfdee7;
  border-radius: 14px !important;
  color: #282435;
  background: #fbfbfd;
  box-shadow: none;
  font-size: 1rem;
}

.feedback-form-card textarea.form-control {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

.feedback-form-card .form-control:focus {
  border-color: #8579ea;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 91, 223, 0.1);
}

.feedback-field-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
  color: #898391;
  font-size: 0.68rem;
  line-height: 1.4;
}

.feedback-field-error,
.feedback-form-card .invalid-feedback {
  margin-top: 7px;
  color: #dc2626;
  font-size: 0.72rem;
}

.feedback-rating-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.feedback-rating-options label > span {
  display: grid;
  grid-template-columns: 18px auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  column-gap: 5px;
  min-height: 58px;
  padding: 7px 4px;
  border: 1px solid #e4e3eb;
  border-radius: 13px;
  color: #736d7d;
  background: #fbfbfd;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.feedback-rating-options label:hover > span {
  border-color: rgba(99, 91, 223, 0.3);
  transform: translateY(-1px);
}

.feedback-rating-options svg {
  grid-row: 1;
  width: 17px;
  height: 17px;
  color: #7368df;
}

.feedback-rating-options strong {
  grid-row: 1;
  color: #393349;
  font-size: 0.88rem;
  font-weight: 820;
}

.feedback-rating-options small {
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  font-size: 0.61rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-rating-options input:checked + span {
  border-color: #766ce5;
  color: #5548d8;
  background: #f1f0ff;
  box-shadow: 0 0 0 3px rgba(99, 91, 223, 0.09);
}

.feedback-context-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  margin: -3px 0 18px;
  border-radius: 13px;
  color: #686274;
  background: #f6f6fa;
  font-size: 0.69rem;
  line-height: 1.45;
}

.feedback-context-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 1px;
  color: var(--feedback-indigo);
}

.feedback-context-note strong {
  overflow-wrap: anywhere;
  color: #4c4657;
}

.feedback-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--feedback-line);
}

.feedback-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  max-width: 290px;
  margin: 0;
  color: #837d8c;
  font-size: 0.66rem;
  line-height: 1.45;
}

.feedback-privacy-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 1px;
  color: var(--feedback-indigo);
}

.feedback-privacy-note a {
  color: #5b4fd1;
  font-weight: 720;
  text-underline-offset: 2px;
}

.feedback-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--feedback-indigo), var(--feedback-violet) 62%, var(--feedback-pink));
  box-shadow: 0 10px 22px rgba(99, 76, 207, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.feedback-primary-button:hover {
  color: #fff;
  filter: saturate(1.08);
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(99, 76, 207, 0.26);
}

.feedback-primary-button:active {
  transform: translateY(0) scale(0.985);
}

.feedback-primary-button:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.3);
  outline-offset: 3px;
}

.feedback-primary-button svg {
  width: 17px;
  height: 17px;
}

.feedback-success-card {
  min-height: 430px;
  padding: 48px 34px;
  text-align: center;
}

.feedback-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 17px;
  border-radius: 20px;
  color: #047857;
  background: #e9fbf4;
}

.feedback-success-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 2.5;
}

.feedback-success-kicker {
  margin: 0 0 7px;
  color: var(--feedback-indigo);
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.feedback-success-card h1,
.feedback-success-card h2 {
  margin: 0 0 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.55rem;
  font-weight: 830;
  letter-spacing: -0.035em;
}

.feedback-success-card form {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}

.feedback-success-card .feedback-return-button {
  margin-inline: auto;
}

.feedback-success-card > p:not(.feedback-success-kicker) {
  max-width: 450px;
  margin: 0 auto 25px;
  color: var(--feedback-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .feedback-page .navbar-glass.detail-minimal-header .detail-close-btn {
    display: none !important;
  }

  .feedback-page .navbar-glass.detail-minimal-header .header-actions {
    margin-right: 0 !important;
  }

  /* Formularul urmează coloana comună de 1100px a suprafețelor publice, fără
     limita istorică de 980px care îl făcea să pară o pagină separată. */
  .feedback-page-layout {
    max-width: none;
  }

  /* Titlul introductiv orientează, dar nu trebuie să concureze cu formularul. */
  .feedback-intro-card h1 {
    font-size: clamp(1.7rem, 2vw, 2rem);
  }

  .feedback-privacy-note {
    align-items: center;
    max-width: none;
    flex: 1 1 auto;
  }

  .feedback-privacy-note > span {
    white-space: nowrap;
  }
}

@media (max-width: 991.98px) {
  /* Offsetul global de 72px al body-ului include deja cei 12px dintre
     navbarul mobil de 60px și conținut. Un al doilea padding-top aici dubla
     spațiul. Selectorul explicit protejează și gutterele de regulile
     Bootstrap/container încărcate de shellul comun. */
  body.feedback-page main.feedback-page-main.container {
    box-sizing: border-box;
    width: 100%;
    max-width: 760px;
    margin-top: 0 !important;
    margin-right: auto;
    margin-left: auto;
    padding: 0 12px 92px !important;
  }

  .feedback-page-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feedback-intro-card {
    padding: 22px;
    border-radius: 22px;
  }

  .feedback-intro-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
    border-radius: 14px;
  }

  .feedback-intro-icon svg {
    width: 21px;
    height: 21px;
  }

  .feedback-intro-card h1 {
    max-width: 560px;
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }

  .feedback-intro-card > p {
    max-width: 620px;
    margin: 11px 0 0;
    font-size: 0.88rem;
  }

  .feedback-promise-list {
    display: none;
  }

  .feedback-panel {
    padding: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 575.98px) {
  .feedback-intro-card,
  .feedback-panel {
    border-radius: 20px;
  }

  .feedback-intro-card {
    padding: 19px 18px;
  }

  .feedback-eyebrow {
    margin-bottom: 6px;
    font-size: 0.65rem;
  }

  .feedback-intro-card h1 {
    font-size: 1.72rem;
  }

  .feedback-intro-card > p {
    font-size: 0.81rem;
    line-height: 1.52;
  }

  .feedback-panel {
    padding: 20px 16px;
  }

  .feedback-form-heading {
    gap: 10px;
    padding-bottom: 17px;
    margin-bottom: 19px;
  }

  .feedback-form-heading h2 {
    font-size: 1.18rem;
  }

  .feedback-form-heading p {
    max-width: 210px;
    font-size: 0.7rem;
  }

  .feedback-form-time {
    min-height: 29px;
    padding: 5px 8px;
    font-size: 0.65rem;
  }

  .feedback-category-grid {
    gap: 7px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form-grid .feedback-field-block.is-full {
    grid-column: auto;
  }

  .feedback-category-surface {
    align-items: center;
    min-height: 59px;
    padding: 9px;
    border-radius: 13px;
  }

  .feedback-category-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    border-radius: 10px;
  }

  .feedback-category-surface strong {
    margin: 0;
    font-size: 0.72rem;
  }

  .feedback-category-surface small {
    display: none;
  }

  .feedback-rating-options {
    gap: 5px;
  }

  .feedback-rating-options label > span {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-height: 56px;
    padding: 6px 2px;
    border-radius: 12px;
  }

  .feedback-rating-options svg {
    width: 16px;
    height: 16px;
  }

  .feedback-rating-options strong {
    font-size: 0.76rem;
  }

  .feedback-rating-options small {
    display: none;
  }

  .feedback-field-meta {
    display: block;
  }

  .feedback-field-meta > span + span {
    display: block;
    margin-top: 3px;
  }

  .feedback-form-footer {
    display: grid;
    gap: 13px;
    padding-top: 17px;
  }

  .feedback-privacy-note {
    max-width: none;
  }

  .feedback-submit {
    width: 100%;
  }

  .feedback-success-card {
    min-height: 0;
    padding: 36px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-category-surface,
  .feedback-rating-options label > span,
  .feedback-primary-button {
    transition: none;
  }
}
