/* The search box and filter chips on the notice board and the blog (resources/views/partials/search-field.blade.php).
   Glass look: built on the tokens in theme-base.css, so the dark theme follows by itself. */
.sfield { display: flex; gap: 8px; align-items: center; max-width: 640px; margin: 0 auto 12px; }
.sfield.wide { max-width: none; }
.sfield-box { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; margin: 0; }
.sfield-box > svg { position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--g-muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.sfield-box input { width: 100%; min-height: 50px; padding: 0 48px 0 44px; border-radius: 16px; border: 1px solid var(--g-line); background: var(--g-field); color: var(--g-text);
  font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; }
.sfield-box input::placeholder { color: var(--g-muted); opacity: 1; }
.sfield-box input:focus { outline: none; border-color: var(--g-accent); box-shadow: 0 0 0 3px rgba(83, 44, 235, .15); }
/* The browser's own small clear cross is hidden: the round button below does the same job and looks the same everywhere. */
.sfield-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.sfield-clear { position: absolute; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--g-muted); }
.sfield-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sfield-clear:hover { color: var(--g-accent); }
.sfield-go { flex: none; min-height: 50px; padding: 0 20px; border-radius: 16px; border: 0; background: var(--g-grad); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.sfield-go:hover { filter: brightness(1.08); }
/* With JavaScript the list follows the typing, so the button only matters for the keyboard's Enter and can stay small on phones. */
@media (max-width: 479px) { .sfield-go { padding: 0 14px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Chips scroll sideways on a phone (edge to edge inside the panel) and wrap from 768px. */
.schips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 12px 6px; margin: 0 -12px; scrollbar-width: none; }
.schips::-webkit-scrollbar { display: none; }
.schips a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--g-tile-line);
  background: var(--g-tile); color: var(--g-text); font-size: 15px; font-weight: 700; white-space: nowrap; }
.schips a:hover { background: var(--g-tile-hover); }
.schips a i { font-style: normal; font-size: 13px; line-height: 1.6; padding: 0 7px; border-radius: 999px; background: var(--g-icon-bg); color: var(--g-accent); }
.schips a.on { background: var(--g-brand); border-color: var(--g-brand); color: #fff; }
.schips a.on i { background: rgba(255, 255, 255, .22); color: #fff; }
@media (min-width: 768px) { .schips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }

/* "১২টি নোটিশ পাওয়া গেছে", and the list fading a little while the next answer is on its way. */
.lfound { margin: 0 0 4px; font-size: 16px; color: var(--g-muted); text-align: center; }
.lfound b { color: var(--g-text); }
[data-live-list] { transition: opacity .15s; }
[data-live-list].busy { opacity: .55; }
.lempty { text-align: center; padding: 30px 16px; border: 1px solid var(--g-panel-line); border-radius: var(--g-r-panel); background: var(--g-panel); color: var(--g-muted); }
.lempty svg { width: 44px; height: 44px; margin: 0 auto 10px; fill: none; stroke: var(--g-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lempty b { display: block; color: var(--g-text); font-size: 18px; margin-bottom: 4px; }
.lempty a { color: var(--g-accent); text-decoration: underline; }

/* Page numbers (partials/number-pager). The same rules live in success.css; repeated here so these pages need only this small file. */
.sx-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 14px 0 0; }
.sx-pager a, .sx-pager span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--g-tile-line);
  background: var(--g-tile); color: var(--g-text); font-size: 15px; font-weight: 700; }
.sx-pager a:hover { background: var(--g-tile-hover); color: var(--g-accent); }
.sx-pager .on { background: var(--g-brand); border-color: var(--g-brand); color: #fff; }
.sx-pager .sx-gap { border: 0; background: none; min-width: 20px; padding: 0; color: var(--g-muted); }
.sx-pager .off { opacity: .45; }

/* The line of notice text that matched a search. */
.notice-snip { display: block; margin: 2px 0; font-size: 15px; line-height: 1.6; color: var(--g-muted); overflow-wrap: anywhere; }
