/* ஒளியோன் கருத்துப் பெட்டி · The Oliyon suggestion box (oliyon-feedback.js). Master copy: oliyonresearch
   docs/shared/feedback/. Copy unchanged. The box carries its own colours, so it looks the same in every tool, day or night. */
/* margin and inset are set here because some tools' reset styles (Tailwind) take away the browser's centring */
.ofb { position: fixed; inset: 0; margin: auto; width: min(560px, calc(100vw - 24px)); height: fit-content; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 18px; color: #15213a;
  background: #fffdf8; box-shadow: 0 24px 64px rgba(0, 20, 60, .35); overflow: auto; font: 16px/1.55 "Noto Sans Tamil", "Source Sans 3", system-ui, sans-serif; }
.ofb::backdrop { background: rgba(4, 12, 32, .55); backdrop-filter: blur(2px); }
.ofb-f, .ofb-done { display: grid; gap: 12px; padding: 18px 18px 20px; position: relative; }
.ofb-f::before, .ofb-done::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #001f5b, #f0a003 60%, #feb001); border-radius: 18px 18px 0 0; }
.ofb-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ofb-t { margin: 0; font-size: 21px; line-height: 1.3; color: #001f5b; font-family: "Noto Serif Tamil", Georgia, serif; font-weight: 700; }
.ofb-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d8d2c2; background: #fff; color: #15213a; font-size: 22px; line-height: 1; cursor: pointer; }
.ofb-lede { margin: 0; color: #3c4762; font-size: 15px; }
.ofb-kinds { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; }
.ofb-kinds legend { width: 100%; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #15213a; padding: 0; }
.ofb-kind { position: relative; }
.ofb-kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ofb-kind span { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1px solid #d8d2c2; background: #fff; font-size: 14px; }
.ofb-kind input:checked + span { background: #001f5b; border-color: #001f5b; color: #fff; }
.ofb-kind input:focus-visible + span { outline: 2px solid #f0a003; outline-offset: 2px; }
.ofb-l { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: #15213a; }
.ofb textarea, .ofb input:not([type="radio"]) { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 12px; border: 1px solid #cfc8b6; background: #fff; color: #15213a; font: inherit; font-weight: 400; }
.ofb textarea { min-height: 120px; resize: vertical; }
.ofb textarea:focus, .ofb input:focus { outline: 2px solid #f0a003; outline-offset: 1px; border-color: #f0a003; }
.ofb-two { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: end; }
@media (min-width: 520px) { .ofb-two { grid-template-columns: 1fr 1fr; } }
.ofb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ofb-note { margin: 0; font-size: 12.5px; color: #5d6780; }
.ofb-note a { color: #8a5a00; }
.ofb-err { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fdecea; color: #8c1d18; font-size: 14px; }
.ofb-err[hidden], .ofb-done[hidden], .ofb-f[hidden] { display: none; }
.ofb-actions { display: flex; justify-content: flex-end; }
.ofb-send { min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #f0a003, #feb001); color: #001f5b; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(240, 160, 3, .35); }
.ofb-send:disabled { opacity: .6; cursor: wait; }
.ofb-done { justify-items: center; text-align: center; padding: 28px 22px; }
.ofb-tick { margin: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e7f6ec; color: #1a7f3c; font-size: 30px; font-weight: 700; }
/* a link or button that opens the box, wherever a tool puts it (footer, About, help) */
.ofb-open { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
