@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,400;0,8..144,600;0,8..144,700;0,8..144,800;0,8..144,900;1,8..144,400;1,8..144,600&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/* ═══════════════════════════════════════════════════════════════════
   NEXTORA PTF BOOKING — public.css  v1.1.0
   Mobile-first. Desktop enhancements from 640px up.
═══════════════════════════════════════════════════════════════════ */

/* ── ROOT / SHELL ───────────────────────────────────────────────── */
.nptf-shell {
  font-family: 'Inria Serif', Georgia, serif;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 60px;
  color: #0d1526;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

/* ── THEME RESET — neutralise theme button rules ────────────────── */
.nptf-shell button {
  font-family: 'Inria Serif', Georgia, serif !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
  border-radius: 0 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* ── PROGRESS BAR ───────────────────────────────────────────────── */
.nptf-progress {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 0 14px;
  border-bottom: 1px solid #e2e7f0;
}

.nptf-ps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: #8fa0bc;
  white-space: nowrap;
}
.nptf-ps:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #e2e7f0;
  margin: 0 4px;
  transition: background 0.3s;
  min-width: 8px;
}
.nptf-ps.done:not(:last-child)::after,
.nptf-ps.active:not(:last-child)::after { background: #c7d0f7; }

.nptf-pdot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #dde5f5;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #8fa0bc;
  flex-shrink: 0;
  transition: all 0.25s;
}
.nptf-ps.active .nptf-pdot,
.nptf-ps.done .nptf-pdot {
  background: #1338be; border-color: #1338be; color: #fff;
}
.nptf-ps.active .nptf-pdot { box-shadow: 0 0 0 4px #eef1fc; }
.nptf-ps.active span { color: #1338be; }
.nptf-ps.done span   { color: #5a6a84; }

/* Hide labels on mobile — dots only */
.nptf-ps span { display: none; }
@media (min-width: 480px) { .nptf-ps span { display: inline; } }

/* ── STEP ANIMATION ─────────────────────────────────────────────── */
.nptf-step { display: none; animation: nptfIn 0.28s ease; }
.nptf-step.active { display: block; }
@keyframes nptfIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── STEP HEADING ───────────────────────────────────────────────── */
.nptf-step-head { margin-bottom: 16px; }
.nptf-step-head h2 {
  font-size: 20px; font-weight: 800; color: #0d1526;
  font-family: 'Roboto Serif', Georgia, serif;
  letter-spacing: -0.02em; margin: 0 0 5px; line-height: 1.25;
}
.nptf-step-head p {
  font-size: 13px; color: #5a6a84; line-height: 1.6; margin: 0;
}
@media (min-width: 640px) {
  .nptf-step-head h2 { font-size: 23px; }
  .nptf-step-head p  { font-size: 13.5px; }
}

/* ── CARD ───────────────────────────────────────────────────────── */
.nptf-card {
  background: #fff;
  border: 1px solid #e2e7f0;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 2px 12px rgba(19,56,190,0.07);
}
@media (min-width: 480px) { .nptf-card { padding: 24px 20px; } }
@media (min-width: 640px) { .nptf-card { padding: 28px 26px; } }

/* ── FIELDS ─────────────────────────────────────────────────────── */
.nptf-fields {
  display: grid;
  grid-template-columns: 1fr;   /* mobile: single column */
  gap: 14px;
  margin-bottom: 4px;
}
@media (min-width: 560px) {
  .nptf-fields { grid-template-columns: 1fr 1fr; }
}

.nptf-field {
  display: flex; flex-direction: column; gap: 5px;
}
.nptf-field label {
  font-size: 12.5px; font-weight: 700; color: #374151; letter-spacing: 0.01em;
}
.req { color: #FF5833; }

.nptf-field input,
.nptf-field select,
.nptf-field textarea {
  padding: 12px 14px;
  border: 1.5px solid #e2e7f0;
  border-radius: 10px;
  font-size: 15px;   /* 15px prevents iOS zoom on focus */
  color: #0d1526;
  font-family: inherit;
  background: #fff;
  width: 100%; box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}
@media (min-width: 640px) {
  .nptf-field input,
  .nptf-field select,
  .nptf-field textarea { font-size: 14px; padding: 11px 13px; }
}
.nptf-field input::placeholder,
.nptf-field textarea::placeholder { color: #b0bdd0; }
.nptf-field input:focus,
.nptf-field select:focus { border-color: #1338be; box-shadow: 0 0 0 3px #eef1fc; }

.nptf-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0bc' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.nptf-sep-label {
  grid-column: 1 / -1;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8fa0bc;
  padding: 10px 0 2px;
  border-top: 1px solid #e2e7f0;
  margin-top: 4px;
}
.nptf-hint { font-size: 11.5px; color: #8fa0bc; }

/* ── ERROR ───────────────────────────────────────────────────────── */
.nptf-error {
  display: none;
  background: #fef2f2; border: 1.5px solid #fca5a5;
  border-radius: 8px; padding: 10px 14px;
  font-size: 13px; color: #dc2626; margin-bottom: 14px;
  line-height: 1.5;
}
.nptf-error.show { display: block; }

/* ── MEETING TYPE CARDS ──────────────────────────────────────────── */
.nptf-mtype-grid {
  display: grid;
  grid-template-columns: 1fr;   /* mobile: stacked */
  gap: 12px;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .nptf-mtype-grid { grid-template-columns: 1fr 1fr; }
}

.nptf-mtype-card {
  border: 2px solid #e2e7f0; border-radius: 14px;
  padding: 16px 15px; cursor: pointer;
  transition: all 0.18s; background: #fff; position: relative;
  user-select: none; display: flex; align-items: flex-start; gap: 12px;
}
/* Horizontal layout on mobile feels better */
@media (max-width: 479px) {
  .nptf-mtype-card { flex-direction: row; align-items: flex-start; }
  .nptf-micon { font-size: 22px; flex-shrink: 0; margin-bottom: 0 !important; }
}
.nptf-mtype-card:hover { border-color: #1338be; background: #f5f7ff; }
.nptf-mtype-card.sel   { border-color: #1338be; background: #eef1fc; box-shadow: 0 0 0 3px #c7d0f7; }

.nptf-mcheck {
  position: absolute; top: 12px; right: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #dde5f5; background: #fff;
  flex-shrink: 0;
  transition: all 0.18s;
}
.nptf-mtype-card.sel .nptf-mcheck { background: #1338be; border-color: #1338be; }
.nptf-mcheck::after {
  content: ""; display: block;
  width: 5px; height: 8px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translate(2px,-1px);
  margin: 2px 0 0 5px;
  opacity: 0; transition: opacity 0.15s;
}
.nptf-mtype-card.sel .nptf-mcheck::after { opacity: 1; }

.nptf-micon { font-size: 28px; flex-shrink: 0; display: flex; align-items: center; line-height: 1; }
.nptf-mcard-body { flex: 1; min-width: 0; }
.nptf-mtitle { font-size: 14px; font-weight: 800; color: #0d1526; margin-bottom: 4px; }
.nptf-mdesc  { font-size: 12px; color: #5a6a84; line-height: 1.5; }

/* Class teacher info strip */
.nptf-ct-info {
  display: none;
  background: #eef1fc; border: 1.5px solid #c7d0f7;
  border-radius: 10px; padding: 13px 15px;
  align-items: center; gap: 12px;
  margin-bottom: 10px; animation: nptfIn 0.2s ease;
}
.nptf-ct-info.show { display: flex; }
.nptf-ct-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1338be; color: #fff;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nptf-ct-name  { font-size: 14px; font-weight: 700; color: #0d1526; }
.nptf-ct-label { font-size: 12px; color: #5a6a84; margin-top: 2px; }

/* Subject box */
.nptf-subject-box {
  display: none; background: #f8f9fc;
  border: 1.5px solid #e2e7f0; border-radius: 10px;
  padding: 16px; margin-bottom: 10px; animation: nptfIn 0.2s ease;
}
.nptf-subject-box.show { display: block; }

/* ── SLOT SECTION ────────────────────────────────────────────────── */
.nptf-slot-info {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 14px; background: #f4f6fb;
  border-radius: 8px; margin-bottom: 16px;
  font-size: 12.5px; color: #5a6a84; line-height: 1.5;
}
.nptf-slot-info svg { color: #1338be; flex-shrink: 0; margin-top: 1px; }
.nptf-slot-info strong { color: #0d1526; }

.nptf-day-row {
  display: flex; gap: 8px; margin-bottom: 16px;
  overflow-x: auto; padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nptf-day-row::-webkit-scrollbar { display: none; }

.nptf-shell .nptf-day-btn {
  flex-shrink: 0 !important;
  padding: 8px 16px !important;
  border: 1.5px solid #e2e7f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #5a6a84 !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
}
.nptf-shell .nptf-day-btn:hover  { border-color: #1338be !important; color: #1338be !important; background: #f5f7ff !important; }
.nptf-shell .nptf-day-btn.active { border-color: #1338be !important; background: #1338be !important; color: #ffffff !important; }

/* Slots: 2 columns on mobile, auto-fill on desktop */
.nptf-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 400px) {
  .nptf-slots-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 560px) {
  .nptf-slots-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

.nptf-shell .nptf-slot {
  display: flex !important;
  border: 1.5px solid #e2e7f0 !important;
  border-radius: 10px !important;
  padding: 14px 8px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0d1526 !important;
  text-align: center !important;
  min-height: 72px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  line-height: 1.3 !important;
  cursor: pointer !important;
  transition: border-color 0.15s, background-color 0.15s !important;
  filter: none !important;
  opacity: 1 !important;
}
.nptf-shell .nptf-slot:hover:not(.full) { border-color: #1338be !important; background: #eef1fc !important; background-color: #eef1fc !important; }
.nptf-shell .nptf-slot.sel  { border-color: #1338be !important; background: #1338be !important; background-color: #1338be !important; color: #fff !important; filter: none !important; opacity: 1 !important; }
.nptf-shell .nptf-slot.full { opacity: 0.4 !important; cursor: not-allowed !important; background: #f4f6fb !important; background-color: #f4f6fb !important; }

.nptf-shell .nptf-slot .nptf-slot-time   { font-size: 14px !important; font-weight: 800 !important; color: #0d1526 !important; letter-spacing: -0.01em; }
.nptf-shell .nptf-slot.sel .nptf-slot-time { color: #fff !important; }
.nptf-shell .nptf-slot .nptf-slot-period { font-size: 10px !important; color: #8fa0bc !important; margin-top: 2px; }
.nptf-shell .nptf-slot.sel .nptf-slot-period { color: rgba(255,255,255,0.65) !important; }
.nptf-shell .nptf-slot .nptf-slot-avail  { font-size: 10px !important; font-weight: 600 !important; color: #16a34a !important; margin-top: 5px; }
.nptf-shell .nptf-slot.full .nptf-slot-avail { color: #dc2626 !important; }
.nptf-shell .nptf-slot.sel .nptf-slot-avail  { color: rgba(255,255,255,0.75) !important; }

/* ── BOOKING SUMMARY STRIP ───────────────────────────────────────── */
.nptf-summary {
  background: linear-gradient(135deg, #1338be 0%, #2a4fd6 100%);
  border-radius: 10px; padding: 16px 18px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 480px) {
  .nptf-summary {
    display: flex; flex-wrap: wrap; gap: 18px;
  }
}
.nptf-si { min-width: 0; }
.nptf-si-label { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.nptf-si-val   { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Detail table */
.nptf-detail-table { margin-bottom: 4px; }
.nptf-dr {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #f0f2f7;
  font-size: 13px;
}
.nptf-dr:last-child { border-bottom: none; }
.nptf-dr span:first-child { color: #5a6a84; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.nptf-dr span:last-child  { color: #0d1526; font-weight: 700; text-align: right; word-break: break-word; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.nptf-btn-row {
  display: flex; gap: 10px; align-items: center;
  margin-top: 22px;
}
.nptf-btn-row.end { justify-content: flex-end; }

.nptf-shell .nptf-btn-back {
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  flex-shrink: 0 !important;
  border: 1.5px solid #e2e7f0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #5a6a84 !important;
}
.nptf-shell .nptf-btn-back:hover { border-color: #1338be !important; color: #1338be !important; }
/* Show text label on wider screens */
@media (min-width: 480px) {
  .nptf-btn-back {
    width: auto; padding: 11px 18px; gap: 5px;
    font-size: 13.5px; font-weight: 600;
  }
  .nptf-btn-back-label { display: inline; }
}
.nptf-btn-back-label { display: none; }

.nptf-shell .nptf-btn-next {
  flex: 1 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 10px !important;
  background: #1338be !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 48px !important;
  width: 100% !important;
  text-align: center !important;
}
.nptf-shell .nptf-btn-next:hover { background: #0f2ea0 !important; box-shadow: 0 4px 14px rgba(19,56,190,0.3) !important; }

.nptf-shell .nptf-btn-submit {
  flex: 1 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-radius: 10px !important;
  background: #FF5833 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 48px !important;
  width: 100% !important;
  text-align: center !important;
}
.nptf-shell .nptf-btn-submit:hover { background: #e84a28 !important; box-shadow: 0 4px 16px rgba(255,88,51,0.35) !important; }
.nptf-shell .nptf-btn-submit:disabled { opacity: 0.6 !important; cursor: not-allowed !important; box-shadow: none !important; }

/* ── SUCCESS ─────────────────────────────────────────────────────── */
.nptf-success { text-align: center; padding: 36px 16px 24px; }
.nptf-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: #ecfdf5; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.nptf-success-icon svg { color: #10b981; }
.nptf-success h2 {
  font-size: 22px; font-weight: 900; color: #0d1526;
  font-family: 'Roboto Serif', Georgia, serif;
  letter-spacing: -0.025em; margin: 0 0 10px;
}
.nptf-success p {
  font-size: 14px; color: #5a6a84; line-height: 1.65;
  max-width: 400px; margin: 0 auto 24px;
}
.nptf-ref-wrap {
  display: inline-block;
  background: #eef1fc; border: 1.5px solid #c7d0f7;
  border-radius: 10px; padding: 12px 28px; margin-bottom: 22px;
}
.nptf-ref-label { font-size: 11px; font-weight: 700; color: #5a6a84; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.nptf-ref { font-size: 20px; font-weight: 900; color: #1338be; letter-spacing: 0.04em; }
.nptf-succ-note { font-size: 12.5px; color: #8fa0bc; max-width: 360px; margin: 0 auto; line-height: 1.6; }

/* ── NO EVENT ────────────────────────────────────────────────────── */
.nptf-no-event {
  background: #f4f6fb; border: 1px solid #e2e7f0;
  border-radius: 10px; padding: 24px;
  font-size: 14px; color: #5a6a84;
  font-family: 'Inria Serif', Georgia, serif;
}

/* ═══════════════════════════════════════════════════════════════════
   ANONYMOUS FEEDBACK FORM  [ptf_feedback]
═══════════════════════════════════════════════════════════════════ */

.nptf-fb-wrap {
  font-family: 'Inria Serif', Georgia, serif;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 0 40px;
  -webkit-font-smoothing: antialiased;
}

/* Identity toggle (anon / named) */
.nptf-anon-toggle-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.nptf-anon-tab {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  border: 1.5px solid #d0d9ee !important;
  border-radius: 999px !important;
  background: #fff !important;
  background-color: #fff !important;
  color: #5a6a84 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  font-family: 'Inria Serif', Georgia, serif !important;
}
.nptf-anon-tab.sel {
  background: #1338be !important;
  background-color: #1338be !important;
  border-color: #1338be !important;
  color: #fff !important;
}

/* Anonymous badge */
.nptf-anon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1338be;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Name field hint */
.nptf-fb-hint {
  font-size: 11px;
  color: #8fa0bc;
  margin-top: 4px;
}

/* Feedback wall name */
.nptf-wall-name {
  color: #1338be;
  font-size: 12px;
  font-weight: 600;
}

/* Card */
.nptf-fb-card {
  background: #fff;
  border: 1.5px solid #e2e8f4;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 4px 24px rgba(19,56,190,.07);
}
@media (min-width: 480px) { .nptf-fb-card { padding: 32px 28px; } }

.nptf-fb-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  font-family: 'Roboto Serif', Georgia, serif;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
@media (min-width: 480px) { .nptf-fb-title { font-size: 22px; } }

.nptf-fb-sub {
  font-size: 13px;
  color: #6b7c99;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* Fields */
.nptf-fb-field { margin-bottom: 20px; }
.nptf-fb-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.nptf-req { color: #ef4444; }

.nptf-fb-select,
.nptf-fb-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #d1d9ed;
  border-radius: 10px;
  font-size: 15px;  /* prevents iOS zoom */
  font-family: inherit;
  color: #111827;
  background: #f8faff;
  outline: none;
  -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.nptf-fb-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238fa0bc' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.nptf-fb-select:focus,
.nptf-fb-input:focus { border-color: #1338be; background: #fff; box-shadow: 0 0 0 3px #eef1fc; }

.nptf-fb-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #d1d9ed;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: #111827;
  background: #f8faff;
  outline: none;
  resize: vertical;
  min-height: 110px;
  -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.nptf-fb-textarea:focus { border-color: #1338be; background: #fff; box-shadow: 0 0 0 3px #eef1fc; }

/* About toggle row — full width buttons on mobile */
.nptf-fb-toggle-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 400px) {
  .nptf-fb-toggle-row { grid-template-columns: repeat(3, 1fr); }
}

.nptf-fb-toggle {
  padding: 11px 14px;
  border: 1.5px solid #d1d9ed;
  border-radius: 10px;
  background: #f8faff;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: inherit;
  transition: all .15s;
  text-align: center;
}
.nptf-fb-toggle.sel { border-color: #1338be; background: #eff4ff; color: #1338be; box-shadow: 0 0 0 3px #c7d0f7; }
.nptf-fb-toggle:hover:not(.sel) { border-color: #1338be; background: #f5f7ff; }

/* Class teacher strip */
.nptf-fb-ct-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f4ff;
  border: 1.5px solid #c7d7ff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  margin-bottom: 20px;
  animation: nptfIn 0.2s ease;
}
.nptf-fb-ct-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1338be; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.nptf-fb-ct-name  { font-size: 14px; font-weight: 700; color: #111827; }
.nptf-fb-ct-class { font-size: 12px; color: #6b7c99; margin-top: 2px; }

/* Star rating */
.nptf-fb-stars { display: flex; gap: 2px; }
.nptf-fb-star {
  font-size: 36px;
  color: #d1d5db;
  background: none; border: none;
  cursor: pointer; padding: 0 3px;
  line-height: 1;
  transition: color .12s, transform .12s;
  -webkit-tap-highlight-color: transparent;
}
.nptf-fb-star.on  { color: #f59e0b; }
.nptf-fb-star:hover { color: #f59e0b; transform: scale(1.18); }
/* Larger touch targets on mobile */
@media (max-width: 479px) { .nptf-fb-star { font-size: 42px; } }

.nptf-fb-star-label {
  font-size: 12px; color: #9ca3af;
  margin-top: 6px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
}

/* Error */
.nptf-fb-error {
  display: none;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 16px; line-height: 1.5;
}

/* Submit button */
.nptf-fb-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #1338be; color: #fff;
  border: none; border-radius: 10px;
  padding: 15px 28px;
  font-size: 15px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  width: 100%;
  min-height: 52px;
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.nptf-fb-submit:hover    { background: #0f2ea0; }
.nptf-fb-submit:active   { opacity: .9; }
.nptf-fb-submit:disabled { opacity: .65; cursor: not-allowed; }

/* Success screen */
.nptf-fb-success {
  background: #fff;
  border: 1.5px solid #bbf7d0;
  border-radius: 16px;
  padding: 48px 24px;
  text-align: center;
}
.nptf-fb-success-icon {
  width: 64px; height: 64px;
  background: #dcfce7; color: #16a34a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800;
  margin: 0 auto 20px;
}
.nptf-fb-success h2 { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 10px; font-family: 'Roboto Serif', Georgia, serif; }
.nptf-fb-success p  { font-size: 14px; color: #6b7c99; max-width: 360px; margin: 0 auto; line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════
   FEEDBACK WALL  [ptf_feedback_wall]
═══════════════════════════════════════════════════════════════════ */

.nptf-wall-wrap {
  font-family: 'Inria Serif', Georgia, serif;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .nptf-wall-wrap { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.nptf-wall-card {
  background: #fff;
  border: 1.5px solid #e2e8f4;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(19,56,190,.05);
  display: flex; flex-direction: column; gap: 10px;
}

.nptf-wall-stars   { font-size: 15px; letter-spacing: 1px; }
.nptf-wall-star    { color: #d1d5db; }
.nptf-wall-star.on { color: #f59e0b; }

.nptf-wall-quote {
  font-size: 14.5px; color: #374151;
  line-height: 1.65; font-style: italic;
  margin: 0; flex: 1;
}

.nptf-wall-meta {
  display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap;
}
.nptf-wall-label {
  font-size: 12px; font-weight: 700; color: #6b7c99;
  text-transform: uppercase; letter-spacing: .05em;
}
.nptf-wall-anon {
  font-size: 11px; background: #eff6ff; color: #1338be;
  border: 1px solid #bfdbfe; border-radius: 999px;
  padding: 2px 9px; font-weight: 600;
}

/* ── ADMIN inline styles ─────────────────────────────────────────── */
.nptf-fb-stars-sm { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.nptf-fb-stars-sm .off { color: #d1d5db; }
