/* ok_brand.css — Panelde marka renkleri: düz beyaz zemin + OturKalk kırmızısı (#FF0029).
   Panelin yazı tipi, köşeleri ve gölgeleri olduğu gibi kalır; yalnız renkler. ok_brand.js ile birlikte. */

/* Açık temada sayfa zeminleri düz beyaz */
html:not(.dark) body, html:not(.dark) body[class*="bg-slate-"], html:not(.dark) body[class*="bg-gray-"], html:not(.dark) body[class*="bg-["],
html:not(.dark) .bg-\[\#F8FAFC\], html:not(.dark) .bg-\[\#f8fafc\], html:not(.dark) .bg-\[\#F5F7FA\], html:not(.dark) .bg-\[\#F4F6F9\] { background-color: #FFFFFF !important; }
html:not(.dark) main.bg-slate-50, html:not(.dark) main.bg-gray-50, html:not(.dark) main[class*="bg-slate-50"] { background-color: #FFFFFF !important; }

/* Turkuaz vurgu (#00DFFF) → OturKalk kırmızısı */
.text-\[\#00DFFF\], .hover\:text-\[\#00DFFF\]:hover { color: #FF0029 !important; }
.bg-\[\#00DFFF\] { background-color: #FF0029 !important; }
.border-\[\#00DFFF\], .hover\:border-\[\#00DFFF\]:hover { border-color: #FF0029 !important; }
[class~="bg-[#00DFFF]/10"] { background-color: rgba(255, 0, 41, .08) !important; }
.text-cyan-500, .text-cyan-600 { color: #FF0029 !important; }
.bg-cyan-500 { background-color: #FF0029 !important; }

/* Emoji yerine çizgi ikonlar (ok_brand.js) */
.okv2-ic { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.okv2-dot { display: inline-block; width: .62em; height: .62em; border-radius: 50%; vertical-align: .05em; flex: none; }

/* =====================================================================
   Marka kılavuzu v2 (2026-11-25): beyaz + kırmızı #FF0029 + vişne çürüğü #6E1631.
   Değerler ok_tokens.css'ten. Yerleşime dokunmaz; yalnız renk, yazı tipi ve bileşen görünümü.
   Gri tonlar açık temada hafif vişneye çalan sıcak nötrlere döner; koyu tema (html.dark) ok_dark.css'te kalır.
   ===================================================================== */

/* ---------- Sayfa başlıkları: Bricolage Grotesque ---------- */
body h1, .oks-h1, body h2.text-2xl, body h2.text-3xl, body h2.text-4xl {
    font-family: var(--ok-font-display, 'Bricolage Grotesque', 'Inter', system-ui, sans-serif) !important;
    letter-spacing: -.028em !important;
}
body h1.font-black, body h2.font-black { font-weight: 800 !important; }
#sidebar-logo-text, .okm-wordmark { font-family: var(--ok-font-display, 'Bricolage Grotesque', 'Inter', sans-serif) !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
html:not(.dark) #sidebar-logo-text { color: var(--ok-cherry, #6E1631); }

/* ---------- Sıcak nötrler (açık tema) ---------- */
html:not(.dark) .text-slate-900, html:not(.dark) .text-gray-900, html:not(.dark) .text-\[\#141519\], html:not(.dark) .text-\[\#0F172A\], html:not(.dark) .text-\[\#0f172a\] { color: #21181C !important; }
html:not(.dark) .text-slate-800, html:not(.dark) .text-gray-800, html:not(.dark) .hover\:text-slate-800:hover, html:not(.dark) .hover\:text-gray-800:hover { color: #2B2125 !important; }
html:not(.dark) .text-slate-700, html:not(.dark) .text-gray-700, html:not(.dark) .hover\:text-slate-700:hover, html:not(.dark) .hover\:text-gray-700:hover { color: #3A3035 !important; }
html:not(.dark) .text-slate-600, html:not(.dark) .text-gray-600 { color: #4D4247 !important; }
html:not(.dark) .text-slate-500, html:not(.dark) .text-gray-500 { color: #6B5E65 !important; }
html:not(.dark) .text-slate-400, html:not(.dark) .text-gray-400 { color: #968A90 !important; }
html:not(.dark) .text-slate-300, html:not(.dark) .text-gray-300 { color: #C9BEC3 !important; }
html:not(.dark) .bg-slate-50, html:not(.dark) .bg-gray-50, html:not(.dark) .hover\:bg-slate-50:hover, html:not(.dark) .hover\:bg-gray-50:hover { background-color: #FBF8F9 !important; }
html:not(.dark) .bg-slate-100, html:not(.dark) .bg-gray-100, html:not(.dark) .hover\:bg-slate-100:hover, html:not(.dark) .hover\:bg-gray-100:hover { background-color: #F5F0F2 !important; }
html:not(.dark) .bg-slate-200, html:not(.dark) .bg-gray-200, html:not(.dark) .hover\:bg-slate-200:hover, html:not(.dark) .hover\:bg-gray-200:hover { background-color: #EEE7EA !important; }
html:not(.dark) .border-slate-50, html:not(.dark) .border-gray-50 { border-color: #F7F2F4 !important; }
html:not(.dark) .border-slate-100, html:not(.dark) .border-gray-100 { border-color: #F1EAED !important; }
html:not(.dark) .border-slate-200, html:not(.dark) .border-gray-200 { border-color: #E8DFE3 !important; }
html:not(.dark) .border-slate-300, html:not(.dark) .border-gray-300 { border-color: #DCD1D6 !important; }
html:not(.dark) .divide-slate-100 > :not([hidden]) ~ :not([hidden]), html:not(.dark) .divide-gray-100 > :not([hidden]) ~ :not([hidden]) { border-color: #F1EAED !important; }
html:not(.dark) .bg-slate-900, html:not(.dark) .bg-gray-900 { background-color: #21181C !important; }
html:not(.dark) .bg-slate-800, html:not(.dark) .bg-gray-800 { background-color: #2B2125 !important; }

/* ---------- Kırmızı düğmeler tek kırmızı: OturKalk kırmızısı ---------- */
html:not(.dark) .bg-red-500, html:not(.dark) .bg-red-600, html:not(.dark) .bg-rose-500, html:not(.dark) .bg-rose-600 { background-color: #FF0029 !important; }
html:not(.dark) .hover\:bg-red-600:hover, html:not(.dark) .hover\:bg-red-700:hover, html:not(.dark) .hover\:bg-rose-600:hover, html:not(.dark) .hover\:bg-rose-700:hover, html:not(.dark) .hover\:bg-\[\#E60025\]:hover, html:not(.dark) .hover\:bg-\[\#e60025\]:hover { background-color: #E00024 !important; }
html:not(.dark) .text-red-500, html:not(.dark) .text-red-600, html:not(.dark) .text-rose-500, html:not(.dark) .text-rose-600 { color: #D90023 !important; }
html:not(.dark) .text-red-700, html:not(.dark) .text-rose-700 { color: #B8001F !important; }
html:not(.dark) .bg-red-50, html:not(.dark) .bg-rose-50 { background-color: #FFF0F2 !important; }
html:not(.dark) .border-red-200, html:not(.dark) .border-rose-200 { border-color: #FFD0D8 !important; }
/* Ana düğme: kırmızı zemin + beyaz yazı olan düğmelere marka gölgesi */
html:not(.dark) button.bg-\[\#FF0029\], html:not(.dark) a.bg-\[\#FF0029\] { box-shadow: 0 12px 24px -14px rgba(255, 0, 41, .6); }
html:not(.dark) button.bg-\[\#FF0029\]:hover, html:not(.dark) a.bg-\[\#FF0029\]:hover { background-color: #E00024 !important; }

/* ---------- Form alanları: odakta kırmızı çerçeve ---------- */
html:not(.dark) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not(.border-0):not(.border-none):not(.bg-transparent):not(#sb-ara):focus,
html:not(.dark) select:not(.border-0):not(.bg-transparent):focus,
html:not(.dark) textarea:not(.border-0):not(.bg-transparent):focus {
    border-color: #FF0029 !important; box-shadow: 0 0 0 3px rgba(255, 0, 41, .16) !important; outline: none !important;
}
input[type=checkbox], input[type=radio], input[type=range] { accent-color: #FF0029; }

/* ---------- Yan menü ---------- */
.okm-ic { width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center; }
.okm-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.okm-sky    { background: #EAF3FF; color: #2D78CC; }
.okm-peach  { background: #FFF1E8; color: #D0612C; }
.okm-lilac  { background: #F3EFFF; color: #6B5CE7; }
.okm-rose   { background: #FFF0F2; color: #FF0029; }
.okm-mint   { background: #E9F8F0; color: #16925E; }
.okm-butter { background: #FFF7DC; color: #A8730B; }
.okm-cherry { background: #FCF3F6; color: #6E1631; }
.okm-slate  { background: #F5F0F2; color: #4D4247; }
html.dark .okm-ic { background: rgba(255, 255, 255, .07); }
html.dark .okm-cherry, html.dark .okm-slate { color: #E3C2CD; }
.okm-logo { box-shadow: 0 6px 14px -8px rgba(255, 0, 41, .7); }
/* Seçili sayfa: açık kırmızı zemin, solda kırmızı çizgi */
a.ok-nav-on { background: #FFF0F2; color: #D90023; font-weight: 800; box-shadow: inset 3px 0 0 #FF0029; }
a.ok-nav-on:hover { background: #FFE3E8; }
html.dark a.ok-nav-on { background: rgba(255, 0, 41, .16); color: #FF8094; }
/* Menüdeki küçük etiketler: açık zemin + koyu yazı */
.okm-tag { font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 2px 6px; border-radius: 99px; line-height: 1.3; white-space: nowrap; }
.okm-tag-new { background: #FFF0F2; color: #C8001F; box-shadow: inset 0 0 0 1px #FFD0D8; }
.okm-tag-ai  { background: #F3EFFF; color: #5643D1; box-shadow: inset 0 0 0 1px #E1D9FF; }
.okm-tag-v2  { background: #E9F8F0; color: #0F7A4D; box-shadow: inset 0 0 0 1px #C9EEDB; }
html.dark .okm-tag-new { background: rgba(255, 0, 41, .16); color: #FF8094; box-shadow: none; }
html.dark .okm-tag-ai { background: rgba(157, 146, 255, .16); color: #B9B0FF; box-shadow: none; }
html.dark .okm-tag-v2 { background: rgba(52, 211, 153, .14); color: #6EE7B7; box-shadow: none; }
html.dark .okm-branch { background: rgba(255, 0, 41, .14) !important; color: #FF8094 !important; border-color: rgba(255, 0, 41, .3) !important; }

/* Panelde iki yazı ailesi: başlık Bricolage, metin Inter. Eski "font-fun" (Baloo 2) başlıklar da Bricolage olur */
.font-fun { font-family: var(--ok-font-display, 'Bricolage Grotesque', 'Inter', sans-serif) !important; letter-spacing: -.03em; }

/* Siyah düğmeler (Kaydet, Gönder, Onayla…) → vişne çürüğü: kılavuzdaki ikinci ağırlıklı düğme. Kırmızı ana düğme olduğu gibi kalır. */
html:not(.dark) button.bg-slate-900, html:not(.dark) a.bg-slate-900, html:not(.dark) button.bg-gray-900, html:not(.dark) a.bg-gray-900,
html:not(.dark) button.bg-\[\#111827\], html:not(.dark) a.bg-\[\#111827\], html:not(.dark) button.bg-black, html:not(.dark) a.bg-black,
html:not(.dark) button.bg-slate-800, html:not(.dark) a.bg-slate-800, html:not(.dark) button.bg-\[\#141519\], html:not(.dark) a.bg-\[\#141519\] {
    background-color: #6E1631 !important; color: #fff !important;
}
html:not(.dark) button.bg-slate-900:hover, html:not(.dark) a.bg-slate-900:hover, html:not(.dark) button.bg-gray-900:hover, html:not(.dark) a.bg-gray-900:hover,
html:not(.dark) button.bg-\[\#111827\]:hover, html:not(.dark) a.bg-\[\#111827\]:hover, html:not(.dark) button.bg-black:hover, html:not(.dark) a.bg-black:hover,
html:not(.dark) button.bg-slate-800:hover, html:not(.dark) a.bg-slate-800:hover, html:not(.dark) button.bg-\[\#141519\]:hover, html:not(.dark) a.bg-\[\#141519\]:hover {
    background-color: #8A2342 !important;
}
html:not(.dark) button.bg-slate-900:disabled, html:not(.dark) button.bg-\[\#111827\]:disabled, html:not(.dark) button.bg-black:disabled { background-color: #C9BEC3 !important; }
