/* DSR Feedback — phone-first, simple English forms + floating pills */
.dsr-fb-page h1{font-size:1.6rem;margin:0 0 .5rem;color:#0b3d6e;line-height:1.25}
.dsr-fb-lead{color:#475569;max-width:560px;margin:0 auto 1.1rem;font-size:1rem;line-height:1.45}

.dsr-fb{max-width:560px;margin:0 auto 1.5rem;padding:1.1rem 1.15rem;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-sizing:border-box}
.dsr-fb__note{font-size:.92rem;color:#475569;margin:0 0 1rem;line-height:1.4}
.dsr-fb__note a{color:#006BD6;font-weight:600}
.dsr-fb__label{display:block;font-weight:600;font-size:.92rem;margin:0 0 .85rem;color:#0b3d6e}
.dsr-fb__label input,.dsr-fb__label select,.dsr-fb__label textarea{
  display:block;width:100%;margin-top:.35rem;padding:.6rem .75rem;border:1px solid #cbd5e1;border-radius:10px;
  font:inherit;box-sizing:border-box;background:#fff;color:#0f172a
}
.dsr-fb__label input:focus,.dsr-fb__label select:focus,.dsr-fb__label textarea:focus{
  outline:2px solid #006BD6;outline-offset:1px;border-color:#006BD6
}
.dsr-fb__btn{
  display:inline-block;margin-top:.35rem;padding:.7rem 1.2rem;border-radius:999px;background:#006BD6;color:#fff!important;
  font-weight:700;text-decoration:none!important;border:none;cursor:pointer;font-size:1rem
}
.dsr-fb__btn:hover,.dsr-fb__btn:focus-visible{background:#0057ad}
.dsr-fb__btn--bug{background:#b45309}
.dsr-fb__btn--bug:hover,.dsr-fb__btn--bug:focus-visible{background:#92400e}
.dsr-fb__link{margin-left:.65rem;color:#006BD6;font-weight:600}
.dsr-fb__err{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:.65rem .8rem;border-radius:10px;margin:0 0 .85rem}
.dsr-fb--thanks h2{margin:0 0 .5rem;font-size:1.25rem;color:#0b3d6e}
.dsr-fb__hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

.dsr-fb-pill{
  position:fixed;right:1rem;z-index:40;padding:.5rem .9rem;border-radius:999px;font-weight:700;font-size:.85rem;
  text-decoration:none!important;box-shadow:0 4px 16px rgba(11,61,110,.22);max-width:calc(100vw - 2rem)
}
.dsr-fb-pill--course{bottom:1rem;background:#0b3d6e;color:#fff!important}
.dsr-fb-pill--course:hover{background:#006BD6;color:#fff!important}
.dsr-fb-pill--bug{bottom:3.5rem;background:#fff;color:#0b3d6e!important;border:1px solid #cbd5e1}
.dsr-fb-pill--bug:hover{background:#f8fafc;color:#0057ad!important}

.dsr-fb-dash{margin:0 0 .55rem}
.dsr-fb-dash__course,.dsr-fb-dash__bug{
  display:inline-flex;align-items:center;gap:.35rem;padding:.55rem 1rem;border-radius:999px;font-weight:700;
  text-decoration:none!important;font-size:.92rem
}
.dsr-fb-dash__course{background:#eef6ff;border:1px solid #bfdbfe;color:#0057ad!important}
.dsr-fb-dash__course:hover{background:#dbeafe}
.dsr-fb-dash__bug{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412!important}
.dsr-fb-dash__bug:hover{background:#ffedd5}
.dsr-fb-dash-wrap{margin:0 0 1rem}

@media (max-width:640px){
  .dsr-fb{padding:1rem;border-radius:12px}
  .dsr-fb-pill{right:.65rem;font-size:.8rem;padding:.48rem .78rem}
  .dsr-fb-pill--course{bottom:.65rem}
  .dsr-fb-pill--bug{bottom:3.15rem}
  /* Keep clear of bottom next-card CTAs on course/lesson */
  body.single-lesson .dsr-fb-pill--course,body.single-courses .dsr-fb-pill--course{bottom:4.5rem}
  body.single-lesson .dsr-fb-pill--bug,body.single-courses .dsr-fb-pill--bug{bottom:7.5rem}
}
