/*!
 * Aqlli qidiruv – smart-search.css (pri.oliymajlis.uz)
 * Shablondagi #search uslublari ustidan :not(#pss-x) orqali yoziladi (!important ishlatilmaydi).
 */
#search.pss:not(#pss-x) {
	--pss-navy: #0b2a4a;
	--pss-navy2: #123b66;
	--pss-green: #1e9e57;
	--pss-green-l: #30c96a;
	--pss-text: #1a1a1a;
	--pss-muted: #5c667d;
	--pss-line: #e3e8ef;
	--pss-soft: #f4f6f9;
	--pss-focus: #1a73e8;
	padding: 22px 16px 26px;
	background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
	box-shadow: 0 18px 40px rgba(11, 42, 74, .16);
	border-top: 1px solid var(--pss-line);
	container-type: inline-size;
	container-name: pss;
}
#search.pss:not(#pss-x) .pss-wrap { position: relative; max-width: 760px; margin: 0 auto; }

/* ---------- Qidiruv qatori ---------- */
#search.pss:not(#pss-x) .pss-bar {
	display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px;
	background: #fff; border: 2px solid var(--pss-line); border-radius: 999px;
	box-shadow: 0 6px 18px rgba(11, 42, 74, .08);
	transition: border-color .2s, box-shadow .2s;
}
#search.pss:not(#pss-x) .pss-bar:focus-within { border-color: var(--pss-navy2); box-shadow: 0 0 0 4px rgba(26, 115, 232, .15), 0 6px 18px rgba(11, 42, 74, .08); }
#search.pss:not(#pss-x) .pss-bar__ic { color: var(--pss-muted); font-size: 17px; }
#search.pss:not(#pss-x) .pss-input {
	flex: 1 1 auto; min-width: 0; height: 46px; margin: 0; padding: 0 6px;
	border: 0; outline: 0; background: transparent; box-shadow: none; border-radius: 0;
	color: var(--pss-text); font-size: 17px; font-weight: 500; -webkit-appearance: none; appearance: none;
}
#search.pss:not(#pss-x) .pss-input::placeholder { color: #8a93a6; font-weight: 400; }
#search.pss:not(#pss-x) .pss-input::-webkit-search-cancel-button { cursor: pointer; }
#search.pss:not(#pss-x) .pss-kbd {
	flex: 0 0 auto; padding: 3px 8px; border: 1px solid var(--pss-line); border-bottom-width: 2px; border-radius: 6px;
	background: var(--pss-soft); color: var(--pss-muted); font: 600 12px/1.4 inherit; white-space: nowrap;
}
#search.pss:not(#pss-x) .pss-voice,
#search.pss:not(#pss-x) .pss-go {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: none;
	font-size: 16px; transition: background .2s, color .2s, transform .2s;
}
#search.pss:not(#pss-x) .pss-voice { background: var(--pss-soft); color: var(--pss-navy); }
#search.pss:not(#pss-x) .pss-voice:hover { background: #e6edf6; }
#search.pss:not(#pss-x) .pss-voice[hidden] { display: none; }
#search.pss:not(#pss-x) .pss-voice.is-on { background: #e5484d; color: #fff; animation: pss-pulse 1.2s infinite; }
#search.pss:not(#pss-x) .pss-go { background: var(--pss-navy); color: #fff; }
#search.pss:not(#pss-x) .pss-go:hover { background: var(--pss-green-l); transform: translateX(2px); }
#search.pss:not(#pss-x) .pss-voice:focus-visible,
#search.pss:not(#pss-x) .pss-go:focus-visible,
#search.pss:not(#pss-x) .pss-opt:focus-visible,
#search.pss:not(#pss-x) .pss-clear:focus-visible { outline: 2px solid var(--pss-focus); outline-offset: 2px; }
@keyframes pss-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .45); } 50% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } }

#search.pss:not(#pss-x) .pss-note { display: flex; align-items: center; gap: 8px; margin: 10px 0 0 20px; color: var(--pss-muted); font-size: 13px; line-height: 1.4; }
#search.pss:not(#pss-x) .pss-note i { color: var(--pss-green); }

/* ---------- Natijalar paneli ---------- */
#search.pss:not(#pss-x) .pss-panel {
	margin-top: 12px; background: #fff; border: 1px solid var(--pss-line); border-radius: 18px;
	box-shadow: 0 16px 36px rgba(11, 42, 74, .12); overflow: hidden;
	animation: pss-in .18s ease-out;
}
#search.pss:not(#pss-x) .pss-panel[hidden] { display: none; }
@keyframes pss-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
#search.pss:not(#pss-x) .pss-list { max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; padding: 8px; }
#search.pss:not(#pss-x) .pss-grp + .pss-grp { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--pss-line); }
#search.pss:not(#pss-x) .pss-grp__h {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 10px 4px;
	color: var(--pss-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
#search.pss:not(#pss-x) .pss-typo { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--pss-green); }
#search.pss:not(#pss-x) .pss-typo b { color: var(--pss-navy); }
#search.pss:not(#pss-x) .pss-clear {
	margin-left: auto; height: auto; padding: 2px 8px; border: 0; border-radius: 6px; background: none; box-shadow: none;
	color: var(--pss-green); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; cursor: pointer;
}
#search.pss:not(#pss-x) .pss-clear:hover { background: var(--pss-soft); }
#search.pss:not(#pss-x) .pss-msg { display: flex; align-items: center; gap: 10px; margin: 4px 10px 8px; color: var(--pss-muted); font-size: 14px; }

#search.pss:not(#pss-x) .pss-opt {
	display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px;
	color: var(--pss-text); text-decoration: none; transition: background .15s;
}
#search.pss:not(#pss-x) .pss-opt[aria-selected="true"] { background: #eef3fa; }
#search.pss:not(#pss-x) .pss-opt__ic {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 36px; height: 36px; border-radius: 10px; background: var(--pss-soft); color: var(--pss-navy); font-size: 14px;
	transition: background .15s, color .15s;
}
#search.pss:not(#pss-x) .pss-opt[aria-selected="true"] .pss-opt__ic { background: var(--pss-navy); color: #fff; }
#search.pss:not(#pss-x) .pss-opt__b { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
#search.pss:not(#pss-x) .pss-opt__t { color: var(--pss-navy); font-weight: 700; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
#search.pss:not(#pss-x) .pss-opt__m { color: var(--pss-muted); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#search.pss:not(#pss-x) .pss-opt__go { flex: 0 0 auto; color: var(--pss-muted); opacity: 0; transform: rotate(90deg); transition: opacity .15s; }
#search.pss:not(#pss-x) .pss-opt[aria-selected="true"] .pss-opt__go { opacity: 1; }
#search.pss:not(#pss-x) .pss-opt mark { padding: 0 1px; border-radius: 3px; background: #fff1b8; color: inherit; }
#search.pss:not(#pss-x) .pss-list > .pss-opt { margin-top: 6px; border-top: 1px solid var(--pss-line); border-radius: 0 0 12px 12px; }
#search.pss:not(#pss-x) .pss-hint { margin: 0; padding: 8px 18px; border-top: 1px solid var(--pss-line); background: var(--pss-soft); color: var(--pss-muted); font-size: 12px; }
#search.pss:not(#pss-x) .pss-spin { width: 14px; height: 14px; border: 2px solid var(--pss-line); border-top-color: var(--pss-navy); border-radius: 50%; animation: pss-spin .7s linear infinite; }
@keyframes pss-spin { to { transform: rotate(360deg); } }
#search.pss:not(#pss-x) .pss-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Yopish tugmasi – shablondagidek, faqat yumshatildi */
#search.pss:not(#pss-x) .close { top: 34px; transform: none; padding: 0; width: 44px; height: 44px; border-radius: 50%; }

/* ---------- Moslashuvchanlik ---------- */
@container pss (max-width: 991.98px) {
	#search.pss:not(#pss-x) .pss-wrap { margin-right: 56px; }
}
@container pss (max-width: 767.98px) {
	#search.pss:not(#pss-x) .pss-kbd, #search.pss:not(#pss-x) .pss-hint { display: none; }
}
@container pss (max-width: 575.98px) {
	#search.pss:not(#pss-x) .pss-bar { padding-left: 14px; }
	#search.pss:not(#pss-x) .pss-input { font-size: 16px; height: 42px; }
	#search.pss:not(#pss-x) .pss-voice, #search.pss:not(#pss-x) .pss-go { width: 40px; height: 40px; }
	#search.pss:not(#pss-x) .pss-note { margin-left: 4px; font-size: 12px; }
	#search.pss:not(#pss-x) .pss-list { max-height: 65vh; }
}
@media (max-width: 991.98px) {
	#search.pss:not(#pss-x) .pss-wrap { margin-right: 56px; }
}
@media (max-width: 767.98px) {
	#search.pss:not(#pss-x) .pss-kbd, #search.pss:not(#pss-x) .pss-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	#search.pss:not(#pss-x) .pss-panel, #search.pss:not(#pss-x) .pss-voice.is-on, #search.pss:not(#pss-x) .pss-spin { animation: none; }
	#search.pss:not(#pss-x) .pss-bar, #search.pss:not(#pss-x) .pss-go, #search.pss:not(#pss-x) .pss-opt { transition: none; }
}
@media print { #search.pss:not(#pss-x) { display: none; } }
