/* Usta — ⓘ bilgi işaretleri, ayar/yardım araması, "ekrana git" vurgusu. */

/* Başlık + ⓘ aynı satırda */
.usta-label-satir { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.usta-label-satir .usta-label { margin-bottom: 0; }
.usta-field > .usta-label-satir { margin-bottom: 5px; }
.usta-check + .usta-ip { margin-left: 4px; vertical-align: middle; }

/* ⓘ düğmesi */
.usta-ip { position: relative; display: inline-flex; vertical-align: middle; }
.usta-ip-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; padding: 0; margin: 0;
	border: 1.5px solid #2271b1; border-radius: 50%; background: #fff; color: #2271b1;
	font: italic 700 11px/1 Georgia, "Times New Roman", serif; cursor: pointer;
	transition: background .15s, color .15s, box-shadow .15s;
}
.usta-ip-btn:hover, .usta-ip-btn[aria-expanded="true"] { background: #2271b1; color: #fff; }
.usta-ip-btn:focus-visible { outline: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1; }
.usta-ip-btn--ornek { cursor: default; }

/* Baloncuk (tek bir tane, gövdeye taşınır) */
.usta-ip-pop {
	position: absolute; z-index: 100100; width: min(360px, calc(100vw - 24px));
	background: #1d2327; color: #f0f0f1; border-radius: 10px; padding: 12px 14px;
	font-size: 13px; line-height: 1.55; box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}
.usta-ip-pop::before {
	content: ""; position: absolute; top: -6px; left: var(--ok, 16px); width: 12px; height: 12px;
	background: #1d2327; transform: rotate(45deg); border-radius: 2px;
}
.usta-ip-pop.is-ust::before { top: auto; bottom: -6px; }
.usta-ip-pop a { color: #8ec5ff; }
.usta-ip-pop code { background: rgba(255, 255, 255, .12); color: #fff; padding: 1px 4px; border-radius: 3px; }
.usta-ip-pop strong { color: #fff; }
.usta-ip-pop .usta-ip-yardim { display: block; margin-top: 8px; font-weight: 600; text-decoration: none; }
.usta-ip-pop .usta-ip-yardim:hover { text-decoration: underline; }
.usta-ip-kapat { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: #a7aaad; font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.usta-ip-kapat:hover { color: #fff; }

/* Ayar ekranlarının başlığında arama */
.usta-baslik-satir { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.usta-baslik-satir .usta-title { margin-right: auto; }
.usta-bul--baslik { flex: 0 1 360px; margin: 8px 0 !important; }
.usta-bul--baslik .usta-bul-giris { font-size: 13px !important; min-height: 34px; padding-top: 5px !important; padding-bottom: 5px !important; }
.usta-bul--baslik .dashicons { top: 8px; }
.usta-bul--baslik .usta-bul-sonuc { left: auto; width: min(560px, calc(100vw - 40px)); }
.usta-bul--yardim { max-width: 760px; }

/* Sonuçlar */
.usta-bul-sonuc li { display: block; }
.usta-bul-sonuc .usta-bs { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: #1d2327; }
.usta-bul-sonuc .usta-bs:hover, .usta-bul-sonuc li.is-sec .usta-bs { background: #f0f6fc; }
.usta-bs-ust { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.usta-bs-ust strong { font-size: 14px; }
.usta-bs-ust small { color: #646970; text-align: right; font-size: 12px; }
.usta-bs-d { display: block; color: #50575e; font-size: 12px; line-height: 1.45; margin-top: 2px; }
.usta-bs-rozet { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 0 6px; border-radius: 99px; background: #f0f0f1; color: #50575e; margin-left: 6px; vertical-align: 1px; }
.usta-bs-rozet.is-yardim { background: #fcf9e8; color: #996800; }
.usta-bs-y { display: inline-block; margin: 0 10px 4px; font-size: 12px; }

/* "Ekrana git": bulunan kutu sarı yanıp söner */
@keyframes usta-isik { 0%, 100% { box-shadow: 0 0 0 0 rgba(219, 166, 23, 0); background-color: transparent; } 20%, 70% { box-shadow: 0 0 0 4px rgba(219, 166, 23, .55); background-color: #fff8db; } }
.usta-field.usta-isik { animation: usta-isik 2.6s ease 1; border-radius: 6px; }

/* Yan yardım paneli (Google Ads yardım paneli gibi) */
.usta-yp {
	position: fixed; z-index: 100050; top: 32px; right: 0; bottom: 0; width: min(440px, 100vw);
	background: #fff; border-left: 1px solid #dcdcde; box-shadow: -12px 0 32px rgba(0, 0, 0, .12);
	display: flex; flex-direction: column; animation: usta-yp-gir .18s ease-out;
}
@keyframes usta-yp-gir { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.usta-yp[hidden] { display: none; }
.usta-yp-ust { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #f0f0f1; }
.usta-yp-b { flex: 1; font-size: 15px; }
.usta-yp-tam { font-size: 12px; white-space: nowrap; }
.usta-yp-x { background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: #50575e; padding: 2px 6px; border-radius: 6px; }
.usta-yp-x:hover { background: #f0f0f1; color: #1d2327; }
.usta-yp-ic { flex: 1; overflow: auto; padding: 4px 18px 24px; font-size: 13.5px; line-height: 1.6; outline: 0; }
.usta-yp-ic h3 { margin: 18px 0 6px; font-size: 14px; }
.usta-yp-ic .usta-ref dt { font-weight: 600; margin-top: 12px; padding: 2px 4px; border-radius: 4px; }
.usta-yp-ic .usta-ref dt a { font-weight: 400; font-size: 12px; margin-left: 6px; }
.usta-yp-ic .usta-ref dd { margin: 2px 0 0 4px; color: #3c434a; }
.usta-yp-ic .usta-isik, .usta-yp-ic .usta-isik + dd { background: #fff3a3; }
.usta-yp-yuk { color: #646970; }
@media (min-width: 1100px) { body.usta-yp-acik #wpcontent { margin-right: 440px; } }
@media (max-width: 782px) { .usta-yp { top: 46px; } }
