/* Pagini informative publice: Contact, Termeni și GDPR. */

body.info-page {
  background:
    radial-gradient(circle at 8% 4%, rgba(99, 102, 241, 0.09), transparent 28rem),
    linear-gradient(180deg, #f8f9ff 0, #f4f6fb 34rem, #f7f8fc 100%);
  color: var(--color-text-primary, #172033);
}

.info-page-main {
  padding: 28px 0 40px;
}

.info-page-shell {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.info-page-hero {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.info-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(99, 102, 241, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5b4ad8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.info-page-eyebrow svg,
.info-page-eyebrow .lucide {
  width: 15px;
  height: 15px;
}

.info-page-title {
  margin: 0;
  color: #12182a;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.info-page-lead {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--color-text-secondary, #5d677a);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.65;
}

.info-card {
  border: 1px solid rgba(214, 220, 233, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(30, 41, 59, 0.075);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.45fr);
  gap: 20px;
  align-items: start;
}

.contact-details-card,
.contact-form-card {
  padding: 26px;
}

.contact-card-title {
  margin: 0 0 6px;
  color: #182136;
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-card-intro {
  margin: 0 0 18px;
  color: var(--color-text-secondary, #64748b);
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-methods {
  display: grid;
  gap: 10px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  width: 100%;
  min-height: 76px;
  padding: 13px;
  border: 1px solid #e8ebf3;
  border-radius: 16px;
  background: #fafbff;
  color: inherit;
  text-decoration: none;
}

a.contact-method {
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a.contact-method:hover,
a.contact-method:focus-visible {
  border-color: rgba(99, 102, 241, 0.35);
  background: #f5f3ff;
  color: inherit;
  transform: translateY(-1px);
}

a.contact-method:focus-visible {
  outline: 2px solid var(--primary-color, #6366f1);
  outline-offset: 2px;
}

.contact-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, #eeecff, #f8f3ff);
  color: #6355e8;
}

.contact-method-icon svg,
.contact-method-icon .lucide {
  width: 20px;
  height: 20px;
}

.contact-method-copy {
  min-width: 0;
}

.contact-method-label {
  display: block;
  margin-bottom: 2px;
  color: #20283a;
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-method-value {
  display: block;
  overflow-wrap: anywhere;
  color: #5b4ad8;
  font-size: 0.94rem;
  font-weight: 750;
}

.contact-method-note {
  display: block;
  margin-top: 3px;
  color: var(--color-text-secondary, #6b7280);
  font-size: 0.78rem;
  line-height: 1.4;
}

.contact-form-card .form-label {
  margin-bottom: 7px;
  color: #30384b;
  font-size: 0.86rem;
  font-weight: 750;
}

.contact-form-card .form-control {
  min-height: 50px;
  padding: 12px 14px;
  border-color: #dfe3ec;
  border-radius: 14px !important;
  background: #fbfcff;
  box-shadow: none;
  color: #1e293b;
}

.contact-form-card textarea.form-control {
  min-height: 154px;
  resize: vertical;
}

.contact-form-card .form-control:focus {
  border-color: #8b7cf6;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.11);
}

.contact-form-card .invalid-feedback {
  font-size: 0.78rem;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #6457e8, #b32aa9);
  box-shadow: 0 10px 24px rgba(99, 67, 189, 0.22);
  color: #fff;
  font-weight: 800;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: linear-gradient(135deg, #5548d8, #9f238f);
  color: #fff;
}

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

.contact-submit svg,
.contact-submit .lucide {
  width: 19px;
  height: 19px;
}

/* Feedback public: același shell ca paginile informative, cu formular scurt. */
.feedback-page-shell {
  max-width: 900px;
}

.feedback-form-card {
  max-width: 820px;
  margin-inline: auto;
  padding: 30px;
}

.feedback-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.feedback-form-heading .contact-card-intro {
  margin-bottom: 0;
}

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

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

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

.feedback-fieldset > legend,
.feedback-field-block > .form-label {
  width: auto;
  padding: 0;
  margin: 0 0 10px;
  color: #30384b;
  font-size: 0.86rem;
  font-weight: 800;
}

.feedback-fieldset > legend span,
.feedback-optional-label {
  margin-left: 5px;
  color: #7c8596;
  font-size: 0.72rem;
  font-weight: 650;
}

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

.feedback-category-option {
  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: 11px;
  min-height: 82px;
  padding: 13px;
  border: 1px solid #e3e7f0;
  border-radius: 16px;
  background: #fbfcff;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.feedback-category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 11px;
  background: #efedff;
  color: #6254df;
}

.feedback-category-icon .lucide,
.feedback-category-icon svg {
  width: 18px;
  height: 18px;
}

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

.feedback-category-surface strong {
  margin-bottom: 3px;
  color: #20283a;
  font-size: 0.86rem;
  font-weight: 800;
}

.feedback-category-surface small {
  color: #697386;
  font-size: 0.75rem;
  line-height: 1.35;
}

.feedback-category-option > input:checked + .feedback-category-surface {
  border-color: #7567e9;
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(99, 82, 225, 0.1);
}

.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: 24px;
}

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

.feedback-field-error {
  margin-top: 7px;
  color: #dc3545;
  font-size: 0.78rem;
}

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

.feedback-rating-options label {
  min-width: 0;
  cursor: pointer;
}

.feedback-rating-options label > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 7px 4px;
  border: 1px solid #e3e7f0;
  border-radius: 14px;
  background: #fbfcff;
  color: #64748b;
}

.feedback-rating-options strong {
  color: #343c50;
  font-size: 1rem;
  font-weight: 850;
}

.feedback-rating-options small {
  margin-top: 2px;
  overflow: hidden;
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-rating-options input:checked + span {
  border-color: #7567e9;
  background: #f2f0ff;
  color: #5b4ad8;
  box-shadow: 0 0 0 3px rgba(99, 82, 225, 0.09);
}

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

.feedback-context-note .lucide,
.feedback-context-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #6d5cea;
}

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

.feedback-submit {
  width: 100%;
}

.feedback-privacy-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 0 0 13px;
  color: #7a8495;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.feedback-privacy-note .lucide,
.feedback-privacy-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: #6d5cea;
}

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

.feedback-success-card {
  max-width: 680px;
  padding: 42px 32px;
  margin-inline: auto;
  text-align: center;
}

.feedback-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 15px;
  border-radius: 18px;
  background: #ecfdf5;
  color: #059669;
}

.feedback-success-icon .lucide,
.feedback-success-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.feedback-success-kicker {
  margin: 0 0 7px;
  color: #6254df;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.feedback-success-card h2 {
  margin: 0 0 9px;
  color: #182136;
  font-size: 1.45rem;
  font-weight: 850;
}

.feedback-success-card p:not(.feedback-success-kicker) {
  max-width: 520px;
  margin: 0 auto 22px;
  color: #64748b;
  line-height: 1.6;
}

.feedback-return-button {
  width: auto;
  min-width: 190px;
  padding: 0 20px;
  text-decoration: none;
}

.info-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.info-alert svg,
.info-alert .lucide {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.legal-card {
  max-width: 920px;
  margin-inline: auto;
  padding: 34px clamp(22px, 4vw, 50px);
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid #e8ebf1;
  color: var(--color-text-secondary, #64748b);
  font-size: 0.82rem;
  font-weight: 650;
}

.legal-meta svg,
.legal-meta .lucide {
  width: 17px;
  height: 17px;
  color: #6d5cea;
}

.legal-content {
  color: #394256;
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal-content section + section {
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid #edf0f5;
}

.legal-content h2 {
  margin: 0 0 10px;
  color: #20283a;
  font-size: 1.08rem;
  font-weight: 850;
  letter-spacing: -0.015em;
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  padding-left: 1.3rem;
}

.legal-content li + li {
  margin-top: 7px;
}

.legal-content a {
  color: #5948d8;
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
  .info-page-main {
    padding-top: 22px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .info-page-main {
    padding: 18px 0 28px;
  }

  .info-page-main > .container {
    padding-inline: 12px;
  }

  .info-page-hero {
    margin-bottom: 18px;
    padding-inline: 4px;
  }

  .info-page-title {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
  }

  .info-page-lead {
    margin-top: 11px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .info-card {
    border-radius: 20px;
  }

  .contact-details-card,
  .contact-form-card,
  .legal-card {
    padding: 20px 16px;
  }

  .feedback-form-heading {
    display: block;
    margin-bottom: 20px;
  }

  .feedback-form-time {
    margin-top: 10px;
  }

  .feedback-category-grid {
    grid-template-columns: 1fr;
  }

  .feedback-category-surface {
    min-height: 72px;
  }

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

  .feedback-rating-options label > span {
    min-height: 52px;
    border-radius: 12px;
  }

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

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

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

  .feedback-success-card {
    padding: 34px 20px;
  }

  .contact-method {
    padding: 12px;
  }

  .legal-meta {
    margin-bottom: 21px;
  }

  .legal-content {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .legal-content section + section {
    padding-top: 21px;
    margin-top: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.contact-method,
  .contact-submit,
  .feedback-category-surface {
    transition: none;
  }
}
