/* Shared feedback pages: FAQ, reviews, treatment */

#feedback-write {
  scroll-margin-top: 5.5rem;
}

.edu-fb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .65rem;
}

.edu-fb-jump {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  box-shadow: 0 8px 18px rgba(3, 105, 161, .22);
  white-space: nowrap;
}
.edu-fb-jump:hover {
  filter: brightness(1.06);
  color: #fff !important;
}
.kinder-page-hero .edu-fb-jump {
  margin: .45rem 0 .15rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.k-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .75rem 1rem;
}

.edu-fb-wait {
  display: inline-flex;
  align-items: center;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

.is-waiting {
  box-shadow: 0 0 0 1px rgba(217, 119, 6, .22);
}

.edu-fb-list {
  display: grid;
  gap: .95rem;
  margin: 0 0 1.35rem;
}

#feedback-write.edu-fb-write,
#feedback-write.t1-form-card,
#feedback-write.t2-form-card,
#feedback-write.t3-form-card,
#feedback-write.t4-form-card,
#feedback-write.t5-form-card,
#feedback-write.t7-form-card,
#feedback-write.t8-form-card,
#feedback-write.t10-form-card,
#feedback-write.t12-form-card,
#feedback-write.k-form-card,
#feedback-write.kinder-form-card {
  margin-top: 1.5rem;
}

/* Modal */
.faq-answer-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.faq-answer-modal.is-open {
  display: flex;
}
.faq-answer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.faq-answer-modal__dialog {
  position: relative;
  width: min(36rem, 100%);
  max-height: min(92vh, 40rem);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  padding: 1.35rem 1.4rem 1.25rem;
  color: #0f172a;
}
.faq-answer-modal__close {
  position: absolute;
  top: .65rem;
  right: .7rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.faq-answer-modal__close:hover { background: #e2e8f0; }
.faq-answer-modal__kicker {
  margin: 0 0 .2rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0284c7;
}
.faq-answer-modal__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.faq-answer-modal__quote {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
}
.faq-answer-modal__quote-author {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: #64748b;
}
.faq-answer-modal__quote-text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.45;
  color: #1e293b;
  white-space: pre-wrap;
}
.faq-answer-modal__label {
  display: block;
  margin: 0 0 .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: #334155;
}
.faq-answer-modal__textarea {
  width: 100%;
  min-height: 10rem;
  resize: vertical;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: .75rem .9rem;
  font: inherit;
  font-size: .95rem;
  line-height: 1.45;
  color: #0f172a;
  background: #fff;
  box-sizing: border-box;
}
.faq-answer-modal__textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .25);
}
.faq-answer-modal__errors {
  margin: .7rem 0 0;
  padding: .55rem .75rem .55rem 1.2rem;
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
  font-size: .85rem;
}
.faq-answer-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
.faq-answer-modal__btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .65rem 1.15rem;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}
.faq-answer-modal__btn--ghost { background: #f1f5f9; color: #334155; }
.faq-answer-modal__btn--primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
}
.faq-answer-modal__btn--primary:hover { filter: brightness(1.05); }
body.faq-answer-modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .faq-answer-modal { padding: .5rem; align-items: flex-end; }
  .faq-answer-modal__dialog { border-radius: 16px 16px 10px 10px; max-height: 92vh; }
  .edu-fb-jump { width: 100%; justify-content: center; }
}

.edu-fb-intro,
.edu-fb-note,
.edu-fb-rules {
  margin: 0 0 1.15rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}
.edu-fb-note p:first-child,
.edu-fb-rules__body p:first-child { margin-top: 0; }
.edu-fb-note p:last-child,
.edu-fb-rules__body p:last-child { margin-bottom: 0; }
.edu-fb-rules summary {
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
  list-style: none;
}
.edu-fb-rules summary::-webkit-details-marker { display: none; }
.edu-fb-rules summary::after {
  content: ' ▾';
  color: #0284c7;
  font-size: .85em;
}
.edu-fb-rules[open] summary {
  margin-bottom: .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #e2e8f0;
}
.edu-fb-rules__body,
.edu-fb-note {
  font-size: .95rem;
  line-height: 1.55;
  color: #334155;
  font-weight: 400;
}
.edu-fb-rules__body p,
.edu-fb-rules__body li,
.edu-fb-rules__body div,
.edu-fb-note p,
.edu-fb-note li,
.edu-fb-note div {
  font-weight: 400 !important;
}
.edu-fb-rules__body b,
.edu-fb-rules__body strong,
.edu-fb-note b,
.edu-fb-note strong {
  font-weight: 700 !important;
}

.pd-consent {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
}
[class*="form__grid"] > .pd-consent {
  grid-column: 1 / -1;
}

.edu-fb-edit {
  max-width: 40rem;
  margin: 0 auto;
  padding: .25rem 0 1.5rem;
}
.edu-fb-edit__back {
  display: inline-flex;
  margin-bottom: .85rem;
  font-size: .9rem;
  font-weight: 800;
  color: #0369a1 !important;
  text-decoration: none !important;
}
.edu-fb-edit__back:hover { text-decoration: underline !important; }
.edu-fb-edit__card {
  background: #fff;
  border-radius: 20px;
  padding: 1.35rem 1.4rem 1.3rem;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}
.edu-fb-edit__kicker {
  margin: 0 0 .25rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #0284c7;
}
.edu-fb-edit__title {
  margin: 0 0 1.15rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
}
.edu-fb-edit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem 1rem;
}
.edu-fb-edit__field--full { grid-column: 1 / -1; }
.edu-fb-edit__field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .84rem;
  font-weight: 800;
  color: #334155;
}
.edu-fb-edit__field label span { color: #e11d48; }
.edu-fb-edit__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.7rem;
  padding: .6rem .85rem;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font: inherit;
  font-size: .95rem;
  color: #0f172a;
  background: #fff;
}
.edu-fb-edit__textarea { min-height: 10rem; resize: vertical; }
.edu-fb-edit__input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, .22);
}
.edu-fb-edit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  margin-top: 1.15rem;
}
.edu-fb-edit__submit {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.25rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  cursor: pointer;
}
.edu-fb-edit__submit:hover { filter: brightness(1.05); }
.edu-fb-edit__cancel {
  font-size: .9rem;
  font-weight: 800;
  color: #64748b !important;
  text-decoration: none !important;
}
@media (max-width: 640px) {
  .edu-fb-edit__grid { grid-template-columns: 1fr; }
}
