/* Yönetim konsolu: seçili kullanıcı temasından renk alır. */
.admin-console{--admin-ink:#172033;--admin-muted:#526075;--admin-surface:#fff;--admin-line:rgba(var(--theme-primary-rgb),.16);--admin-soft:rgba(var(--theme-primary-rgb),.08);background:linear-gradient(135deg,rgba(var(--theme-primary-rgb),.09),#edf2f7 42%,rgba(var(--theme-primary-rgb),.06));color:var(--admin-ink);font-size:15px;}
.admin-console #header2{background:var(--theme-gradient)!important;border-bottom:1px solid rgba(var(--theme-primary-rgb),.45);box-shadow:0 7px 24px rgba(var(--theme-primary-rgb),.2);}
.admin-console .logo_wrap img{animation:none!important;filter:none!important;}.admin-console .logo_wrap::after,.admin-console .smoke{display:none!important;}
.admin-console #page_content{max-width:1440px;padding:28px 24px 44px;}
.admin-console #page_global{display:grid;grid-template-columns:272px minmax(0,1fr);gap:24px;table-layout:auto;align-items:start;}
.admin-console .page_menu{display:block;width:auto;padding:0;}
.admin-console .page_menu_wrapper{position:sticky;top:18px;overflow:hidden;border:1px solid rgba(var(--theme-primary-rgb),.18);border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.1);}
.admin-console .page_menu_wrapper::before{content:'YÖNETİM MERKEZİ';display:block;padding:19px 20px 15px;background:var(--theme-gradient);color:#fff;font-size:12px;font-weight:900;letter-spacing:1.25px;text-shadow:0 1px 1px rgba(0,0,0,.16);}
.admin-console .page_menu_item,.admin-console .page_drop_item{margin:5px 10px;padding:12px 11px;border:1px solid transparent;border-radius:10px;color:#263348;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;}
.admin-console .page_menu_item:hover,.admin-console .page_menu_item.page_selected{border-color:rgba(var(--theme-primary-rgb),.27);background:rgba(var(--theme-primary-rgb),.13);color:var(--theme-darker);transform:translateX(2px);}
.admin-console .page_menu_icon{width:34px;color:var(--theme-primary);font-size:16px;}
.admin-console .page_menu_text{color:inherit;font-size:15px;font-weight:900;letter-spacing:.08px;}
.admin-console .page_drop_icon{color:var(--theme-primary);}
.admin-console .page_drop{margin:1px 15px 7px;padding:5px 0 7px;border-left:2px solid rgba(var(--theme-primary-rgb),.24);background:linear-gradient(90deg,rgba(var(--theme-primary-rgb),.055),transparent);}
.admin-console .page_drop_item{margin:3px 0 3px 8px;padding:11px 12px;color:#263348;font-size:14px;font-weight:850;line-height:1.3;white-space:normal;}
.admin-console .page_drop_item:hover{background:rgba(var(--theme-primary-rgb),.13);color:var(--theme-darker);}
.admin-console .page_indata{display:block;min-width:0;}
.admin-console #page_wrapper{display:block;min-width:0;}
.admin-console .page_element{margin-bottom:16px;padding:22px;border:1px solid var(--admin-line);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(15,23,42,.07);}
.admin-console .page_top_elem{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:26px;}
.admin-console .page_top_title{color:var(--admin-ink);font-size:22px;letter-spacing:-.25px;}
.admin-console .page_top_title i{color:var(--theme-primary);margin-right:7px;}
.admin-console .page_top_option{color:var(--theme-primary);}
.admin-console .label{margin:0 0 8px;color:var(--admin-muted);font-size:14px;font-weight:850;letter-spacing:.18px;}
.admin-console input.full_input,.admin-console input[type=text],.admin-console input[type=password],.admin-console textarea,.admin-console select{min-height:46px;border:1px solid rgba(100,116,139,.32)!important;border-radius:10px!important;background:#fff!important;color:var(--admin-ink)!important;font-size:15px!important;font-weight:650;box-shadow:none!important;}
.admin-console input.full_input:focus,.admin-console input[type=text]:focus,.admin-console input[type=password]:focus,.admin-console textarea:focus{border-color:var(--theme-primary)!important;box-shadow:0 0 0 3px rgba(var(--theme-primary-rgb),.15)!important;}
.admin-console .admin_search{border:1px solid rgba(100,116,139,.25);border-radius:11px;overflow:visible;background:#fff;}
.admin-console .admin_input{padding:0;}
.admin-console .admin_search .full_input{border:0!important;border-radius:10px 0 0 10px!important;}
.admin-console .admin_search_btn{width:52px;border-radius:0 10px 10px 0;background:var(--theme-primary)!important;color:#fff;transition:filter .18s ease;}
.admin-console .admin_search_btn:hover{filter:brightness(.9);}
.admin-console .theme_btn,.admin-console .default_btn,.admin-console .reg_button{border:0!important;border-radius:10px!important;background:var(--theme-gradient)!important;color:#fff!important;box-shadow:0 7px 15px rgba(var(--theme-primary-rgb),.22);font-weight:700;transition:transform .18s ease,box-shadow .18s ease;}
.admin-console .theme_btn:hover,.admin-console .default_btn:hover,.admin-console .reg_button:hover{transform:translateY(-1px);box-shadow:0 10px 19px rgba(var(--theme-primary-rgb),.3);}
.admin-console .ulist_container{padding:0;max-height:none;}
.admin-console .ulist_item{margin:0 0 9px;padding:12px;border:1px solid var(--admin-line);border-radius:12px;background:linear-gradient(90deg,rgba(var(--theme-primary-rgb),.06),#fff 45%);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;}
.admin-console .ulist_item:hover{border-color:rgba(var(--theme-primary-rgb),.45);box-shadow:0 7px 16px rgba(15,23,42,.08);transform:translateY(-1px);}
.admin-console .ulist_name{font-weight:750;color:var(--admin-ink);}
.admin-console .sp_box{width:calc(25% - 10px);margin:5px;}
.admin-console .sp_content{min-height:106px;border:1px solid var(--admin-line);border-radius:14px;background:#fff;box-shadow:0 7px 18px rgba(15,23,42,.055);overflow:hidden;}
.admin-console .sp_icon{width:62px;background:var(--admin-soft);color:var(--theme-primary);font-size:25px;}
.admin-console .sp_info{padding:14px;}.admin-console .sp_title{margin:0 0 6px;color:var(--admin-muted);font-size:12px;font-weight:700;}.admin-console .sp_count{margin:0;color:var(--admin-ink);font-size:25px;font-weight:800;}
.admin-console .sy_nav_btn{background:var(--theme-primary);box-shadow:0 5px 14px rgba(var(--theme-primary-rgb),.25);}
.admin-console .sy_nav_btn:hover{background:var(--theme-dark);}
@media(max-width:1100px){.admin-console #page_content{padding:22px 16px 36px}.admin-console #page_global{display:block}.admin-console #page_menu{display:none}.admin-console #side_menu{display:none;top:83px;height:calc(100% - 83px);width:min(330px,86vw);padding:0;background:transparent;z-index:3;overscroll-behavior:contain}.admin-console #open_sub_mobile{cursor:pointer}.admin-console #side_menu .page_menu_wrapper{position:relative;top:0;min-height:100%;height:auto;border-radius:0 18px 18px 0}.admin-console .sp_box{width:calc(33.333% - 10px);}}
@media(max-width:700px){.admin-console #page_content{padding:16px 10px 30px}.admin-console .page_element{padding:16px 14px;border-radius:14px}.admin-console .page_top_title{font-size:18px}.admin-console .page_top_elem{align-items:flex-start}.admin-console .sp_box{width:calc(50% - 10px)}.admin-console .sp_content{min-height:92px}.admin-console .sp_icon{width:49px;font-size:20px}.admin-console .sp_info{padding:11px}.admin-console .sp_count{font-size:21px}.admin-console .admin_search_btn{width:46px}.admin-console .page_menu_item,.admin-console .page_drop_item{min-height:44px;}}
@media(max-width:390px){.admin-console .sp_box{width:calc(100% - 10px)}.admin-console .page_top_elem{display:block}.admin-console .page_top_option{margin-top:10px;text-align:left;}}

/* Mobil yönetim menüsü: drawer ekranın tamamına yakınını kaplasın.
   responsive.css içindeki display:none !important kuralı, jQuery toggle()
   ile açılan menüyü kesiyordu; açık durumdaki inline display değerini
   burada yönetim paneli için bilinçli olarak etkinleştiriyoruz. */
@media(max-width:768px){
    html body.admin-console #side_menu{
        left:0!important;
        right:auto!important;
        width:min(360px,calc(100vw - 8px))!important;
        max-width:calc(100vw - 8px)!important;
        min-width:0!important;
        box-sizing:border-box!important;
        overflow-x:hidden!important;
        z-index:1000!important;
    }
    html body.admin-console #side_menu[style*="display: block"],
    html body.admin-console #side_menu[style*="display:block"]{
        display:block!important;
    }
    html body.admin-console #side_menu .page_menu_wrapper{
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        box-sizing:border-box!important;
        overflow-x:hidden!important;
    }
}

/* ─────────────────────────────────────────────────────────────
   Koyu temada yönetim paneli okunurluğu.
   Gece Mavim gibi koyu temalarda kart zeminleri koyu olduğu için
   varsayılan koyu yazı renkleri (gri/kahverengi) okunmuyordu.
   Burada tüm panel yazıları temaya göre yeterli kontrastlı tona çevrilir.
   ───────────────────────────────────────────────────────────── */
html[data-theme-key="gecemavim"] .admin-console{
	--admin-ink:#e8f4fa;
	--admin-muted:#b6d3e3;
	--admin-surface:#102534;
}
html[data-theme-key="gecemavim"] .admin-console :is(.label,.sub_label,.label_line,.sp_title,.page_top_option,.slider_page_text){
	color:var(--admin-muted) !important;
}
/* Yazı rengi gece_mavim.css tarafından veriliyor (bkz. oradaki .page_element
   kuralı ve :is(...) alt öğe listesi). Burada tekrar tanımlanmıyor; iki
   kural çakışınca hangisinin kazandığı tarayıcıdan görünmüyordu. */
html[data-theme-key="gecemavim"] .admin-console :is(.page_element,.page_menu_wrapper,.ulist_item,.sp_content,.ulist_container){
	background:#102534 !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.page_menu_item,.page_drop_item){
	color:#dceaf3 !important;
}
/* Alt menü öğeleri (Ana seçenekler, Kayıt seçenekleri ...): tema
   dosyaları bu öğelere kendi renklerini veriyor ve yönetim konsolunun
   beyaz zemininde okunmuyor. Zemin daima açık tutulur, yazı koyu ve
   yeterli kontrastlı olur. */
.admin-console .page_drop_item{
	background:rgba(var(--theme-primary-rgb),.10) !important;
	color:var(--admin-ink,#263348) !important;
	font-weight:800 !important;
	border:1px solid rgba(var(--theme-primary-rgb),.24) !important;
	border-radius:9px !important;
	transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.admin-console .page_drop_item .page_drop_text,
.admin-console .page_drop_item div{
	color:inherit !important;
}
.admin-console .page_drop_item:hover,
.admin-console .page_drop_item.get_dat:hover{
	background:rgba(var(--theme-primary-rgb),.22) !important;
	color:var(--admin-ink,#1b2432) !important;
}
.admin-console .page_drop_item.get_dat{
	background:rgba(var(--theme-primary-rgb),.26) !important;
	color:var(--admin-ink,#141c27) !important;
	box-shadow:inset 3px 0 var(--theme-primary) !important;
}
.admin-console .page_drop{
	background:transparent !important;
}
.admin-console .page_drop_text{
	color:inherit !important;
}
.admin-console .page_drop_icon i,
.admin-console .page_drop_control .page_menu_icon i{
	color:var(--theme-primary) !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.page_menu_item:hover,.page_menu_item.page_selected,.page_drop_item:hover){
	color:#fff !important;
}
/* Koyu temada form alanları koyu zemin + açık yazı olmalı; aksi halde
   açık yazı beyaz zemin üzerinde okunmuyor. */
html[data-theme-key="gecemavim"] .admin-console input.full_input,
html[data-theme-key="gecemavim"] .admin-console input[type=text],
html[data-theme-key="gecemavim"] .admin-console input[type=password],
html[data-theme-key="gecemavim"] .admin-console textarea,
html[data-theme-key="gecemavim"] .admin-console select{
	background:#0b202e !important;
	color:#e8f4fa !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console .admin_search{
	background:#0b202e !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console input::placeholder,
html[data-theme-key="gecemavim"] .admin-console textarea::placeholder{
	color:#8fb3c6 !important;
}

/* Premium Panel sayfası: koyu temada kart başlıkları ve açıklamalar. */
html[data-theme-key="gecemavim"] .admin-console .premium_setting_group{
	background:#0b2028 !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console .premium_setting_group h3{
	color:#8ed4f2 !important;
}
html[data-theme-key="gecemavim"] .admin-console .premium_setting_group .sub_text,
html[data-theme-key="gecemavim"] .admin-console .premium_setting_group .text_xsmall{
	color:#c3dced !important;
}
/* Premium Panel Ayarları: bu kurallar form alanlarına ilişkin genel
   admin-console kurallarından sonra gelerek koyu temada kontrastı korur. */
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings select,
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings input.full_input,
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings input[type="text"]{
	background-color:#0b202e !important;
	color:#d3edf7 !important;
	-webkit-text-fill-color:#d3edf7 !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings input[type="file"]{
	background-color:#0b202e !important;
	color:#d3edf7 !important;
	-webkit-text-fill-color:#d3edf7 !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings input[type="file"]::file-selector-button{
	background:linear-gradient(120deg,#103e59,#155979) !important;
	color:#e1f4fb !important;
	-webkit-text-fill-color:#e1f4fb !important;
	border:1px solid #2a6483 !important;
	border-radius:5px;
}
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings .theme_btn,
html[data-theme-key="gecemavim"] .admin-console.admin-console .premium_panel_settings .default_btn{
	color:#e1f4fb !important;
	-webkit-text-fill-color:#e1f4fb !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.yer6_zone_group,.yer6_color_code){
	color:#9fd8f0 !important;
	border-top-color:rgba(147,197,253,.3) !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.yer6_prev_card,.yer6_panel_preview){
	background:#e8f4fa !important;
	color:#0b202e !important;
}
html[data-theme-key="gecemavim"] .admin-console .yer6_color_input{
	background:#0b202e !important;
	border-color:#24516b !important;
}

/* Duyuru (slider) yönetimi ve diğer sayfa içi kutular. */
html[data-theme-key="gecemavim"] .admin-console :is(.slider_table th,.slider_modal_title){
	color:#b6d3e3 !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.slider_table td,.slider_empty){
	background:#0b2028 !important;
	color:#e8f4fa !important;
}
html[data-theme-key="gecemavim"] .admin-console .slider_modal_box{
	background:#102534 !important;
	color:#e8f4fa !important;
}
html[data-theme-key="gecemavim"] .admin-console .slider_modal_img{
	background:#0b2028 !important;
}
html[data-theme-key="gecemavim"] .admin-console .slider_sort_handle{
	color:#9fd8f0 !important;
}
html[data-theme-key="gecemavim"] .admin-console .dj_panel_box{
	background:#102534 !important;
	color:#e8f4fa !important;
}
html[data-theme-key="gecemavim"] .admin-console .dj_panel_box h3{
	color:#8ed4f2 !important;
}

/* ─────────────────────────────────────────────────────────────
   Beyin Okuma Paneli: koyu temada okunurluk.
   ───────────────────────────────────────────────────────────── */
html[data-theme-key="gecemavim"] .admin-console .oz_row{
	background:linear-gradient(120deg,rgba(var(--theme-primary-rgb),.14),rgba(16,37,52,.35) 55%) !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_row:hover{
	border-color:rgba(var(--theme-primary-rgb),.6) !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.oz_head h2,.oz_msg,.oz_pager_info strong){
	color:#e8f4fa !important;
}
html[data-theme-key="gecemavim"] .admin-console :is(.oz_head p,.oz_time,.oz_arrow,.oz_pager_info,.oz_page_gap,.oz_empty){
	color:#b6d3e3 !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_from{color:#ff8a80 !important;}
html[data-theme-key="gecemavim"] .admin-console .oz_to{color:#82b1ff !important;}
html[data-theme-key="gecemavim"] .admin-console .oz_stat{
	background:rgba(var(--theme-primary-rgb),.22) !important;
	color:#bfe6f8 !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_page_btn{
	background:#0b202e !important;
	color:#e8f4fa !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_page_active{
	background:var(--theme-gradient) !important;
	color:#fff !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_searchbar > i{color:#8fb3c6 !important;}

/* Emoji gosterimi: mesajdaki <img> etiketleri kucuk ve hizali gosterilir. */
.oz_msg .oz_emo{ display:inline-block; width:26px; height:26px; vertical-align:middle; object-fit:contain; margin:0 1px; }

/* Yükleme hatası bildirimi. */
.oz_load_error{ padding:12px 16px; color:#c62828 !important; font-weight:700; }
.oz_load_error i{ margin-right:6px; }
html[data-theme-key="gecemavim"] .oz_load_error{ color:#ff8a80 !important; }

/* Geçici tanılama: ham PHP çıktısı okunabilir şekilde gösterilir. */
.oz_debug_raw{
	margin:10px 0 0;
	padding:12px;
	border-radius:8px;
	background:rgba(0,0,0,.82);
	color:#9fe8b0;
	font-family:Consolas,Monaco,monospace;
	font-size:12px;
	line-height:1.5;
	white-space:pre-wrap;
	word-break:break-word;
	max-height:340px;
	overflow:auto;
	text-align:left;
}

/* Kayıtları temizle butonu — koyu temada okunurluk. */
html[data-theme-key="gecemavim"] .admin-console .oz_clear_btn{
	background:rgba(211,47,47,.18) !important;
	border-color:rgba(255,138,128,.45) !important;
	color:#ff8a80 !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_clear_btn:hover:not(:disabled){
	background:#d32f2f !important;
	color:#fff !important;
}
html[data-theme-key="gecemavim"] .admin-console .oz_info_text{ color:#b6d3e3 !important; }
html[data-theme-key="gecemavim"] .admin-console .oz_info_text strong{ color:#e8f4fa !important; }

/* ─────────────────────────────────────────────────────────────
   Yönetim paneli alt menüleri (Ana seçenekler, Kayıt seçenekleri,
   Görünüm Ayarları, E-posta, Yükleme, Gecikme, Plaka Engelleme).
   Tema dosyaları bu öğelere kendi renklerini veriyor; yönetim
   konsolunun açık zemininde yazı okunmuyordu. Alt menü yazısı
   her temada koyu ve yeterli kontrastlı olacak şekilde sabitlenir.
   ───────────────────────────────────────────────────────────── */
.admin-console .page_menu_wrapper{
	background:#fff !important;
}
.admin-console .page_drop_item .page_drop_text{
	font-weight:800;
}


/* -------------------------------------------------------------
   Acilir liste (select) - okunabilirlik.
   select her zaman beyaz zemin alir (satir 26 !important); option yazisi
   da her temada koyu olmalidir. -webkit-text-fill-color sifirlanir cunku
   bazi temalar onu acik tona zorluyor.
   ------------------------------------------------------------- */
.admin-console select{
	color:var(--admin-ink,#263348) !important;
	-webkit-text-fill-color:var(--admin-ink,#263348) !important;
}
.admin-console select option,
.admin-console select optgroup,
.admin-console select optgroup option{
	background-color:#ffffff !important;
	color:var(--admin-ink,#263348) !important;
	-webkit-text-fill-color:var(--admin-ink,#263348) !important;
	text-shadow:none !important;
	font-weight:600;
	padding:6px 10px;
}
.admin-console select option:checked,
.admin-console select option:hover,
.admin-console select option:active{
	background-color:rgba(var(--theme-primary-rgb),.20) !important;
	color:var(--admin-ink,#1b2432) !important;
	-webkit-text-fill-color:var(--admin-ink,#1b2432) !important;
}

/* Koyu temada acilir liste de koyu zemin alir; --admin-ink acik renge
   donustugu icin option yazisi koyu zemin uzerinde acik kalmali. */
html[data-theme-key="gecemavim"] .admin-console select{
	background-color:#0b202e !important;
	color:#e8f4fa !important;
	-webkit-text-fill-color:#e8f4fa !important;
	border-color:#24516b !important;
}
html[data-theme-key="gecemavim"] .admin-console select option,
html[data-theme-key="gecemavim"] .admin-console select optgroup,
html[data-theme-key="gecemavim"] .admin-console select optgroup option{
	background-color:#0b202e !important;
	color:#e8f4fa !important;
	-webkit-text-fill-color:#e8f4fa !important;
}
html[data-theme-key="gecemavim"] .admin-console select option:checked,
html[data-theme-key="gecemavim"] .admin-console select option:hover,
html[data-theme-key="gecemavim"] .admin-console select option:active{
	background-color:#155979 !important;
	color:#ffffff !important;
	-webkit-text-fill-color:#ffffff !important;
}

/* All admin pages use SelectBoxIt spans and links as the visible controls.
   Override the page-wide light text on those controls together with their backgrounds. */
body.admin-console{
	--admin-field-bg:#ffffff;
	--admin-field-text:#172033;
	--admin-field-active:#e5eef5;
}
html[data-theme-key="gecemavim"] body.admin-console{
	--admin-field-bg:#0b202e;
	--admin-field-text:#e8f4fa;
	--admin-field-active:#155979;
}
html body.admin-console .selectboxit-container .selectboxit-btn,
html body.admin-console .selectboxit-container .selectboxit-options{
	background:var(--admin-field-bg) !important;
	color:var(--admin-field-text) !important;
	-webkit-text-fill-color:var(--admin-field-text) !important;
	border-color:var(--theme-border,#ccc) !important;
	text-shadow:none !important;
}
html body.admin-console .selectboxit-container span,
html body.admin-console .selectboxit-container li,
html body.admin-console .selectboxit-container a{
	color:var(--admin-field-text) !important;
	-webkit-text-fill-color:var(--admin-field-text) !important;
	text-shadow:none !important;
}
html body.admin-console .selectboxit-container .selectboxit-option-anchor{
	background:var(--admin-field-bg) !important;
}
html body.admin-console .selectboxit-container .selectboxit-focus .selectboxit-option-anchor,
html body.admin-console .selectboxit-container .selectboxit-option-anchor:hover,
html body.admin-console .selectboxit-container .selectboxit-option-anchor:focus{
	background:var(--admin-field-active) !important;
}
html body.admin-console .selectboxit-container .selectboxit-default-arrow{
	border-top-color:var(--admin-field-text) !important;
}
html body.admin-console input[type="file"]{
	background:var(--admin-field-bg) !important;
	color:var(--admin-field-text) !important;
	-webkit-text-fill-color:var(--admin-field-text) !important;
}
html body.admin-console input[type="file"]::file-selector-button{
	background:var(--admin-field-bg) !important;
	color:var(--admin-field-text) !important;
	-webkit-text-fill-color:var(--admin-field-text) !important;
	border:1px solid var(--theme-border,#ccc);
}

/* Dashboard badge: its label and icon must share the background's contrast. */
html body.admin-console .page_element .admin_premium_badge{
	background:var(--admin-field-bg) !important;
	border-color:var(--theme-border,#ccc) !important;
}
html body.admin-console .page_element .admin_premium_badge,
html body.admin-console .page_element .admin_premium_badge *{
	color:var(--admin-field-text) !important;
	-webkit-text-fill-color:var(--admin-field-text) !important;
	text-shadow:none !important;
}

/* Kontrast kilidi: dashboard ve panel kartlarında tema dönüşümü metinleri solduramaz. */
html body.admin-console .sp_title,
html body.admin-console .sp_count,
html body.admin-console .sp_info,
html body.admin-console .page_top_title,
html body.admin-console .admin_premium_badge{color:var(--admin-ink)!important;opacity:1!important;text-shadow:none!important;}
html body.admin-console .sp_content{background:var(--admin-surface,#fff)!important;}
html body.admin-console .sp_icon{color:var(--theme-primary)!important;opacity:1!important;}
html body.admin-console .premium_setting_group h3,
html body.admin-console .premium_setting_group .label,
html body.admin-console .premium_setting_group .sub_text,
html body.admin-console .premium_setting_group .text_xsmall{opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.3);}

/* Yönetim paneli tema izolasyonu: sayfa temalarının genel .page_element ve
   ikon kuralları panele sızmasın; tüm yönetim renkleri seçili tema değişkenini
   kullansın ve metin/FA ikonları kontrastını korusun. */
html body.admin-console{
	--admin-ink:#172033;
	--admin-muted:#526075;
	--admin-surface:#fff;
	--admin-panel:#fff;
	--admin-line:rgba(var(--theme-primary-rgb),.18);
	color:var(--admin-ink)!important;
}
html body.admin-console :is(.page_menu_wrapper,.page_element,.ulist_item,.sp_content,.premium_setting_group,.slider_modal_box,.dj_panel_box,.oz_row){
	background:var(--admin-surface)!important;
	color:var(--admin-ink)!important;
	border-color:var(--admin-line)!important;
}
html body.admin-console :is(.page_top_title,.sp_title,.sp_count,.label,.sub_label,.label_line,.page_menu_text,.page_drop_text,.ulist_name,.premium_setting_group h3,.premium_setting_group .label,.premium_setting_group .sub_text,.premium_setting_group .text_xsmall,.slider_table th,.slider_table td,.slider_modal_title,.dj_panel_box h3,.oz_head h2,.oz_msg,.oz_pager_info,.oz_pager_info strong){
	color:var(--admin-ink)!important;
	-webkit-text-fill-color:var(--admin-ink)!important;
	opacity:1!important;
	text-shadow:none!important;
}
html body.admin-console :is(.label,.sub_label,.label_line,.sp_title,.page_top_option,.slider_page_text,.oz_head p,.oz_time,.oz_empty){color:var(--admin-muted)!important;-webkit-text-fill-color:var(--admin-muted)!important;}
html body.admin-console :is(.page_menu_icon,.page_drop_icon,.page_drop_icon i,.page_menu_icon i,.sp_icon,.page_top_title i,.admin_premium_badge i,.fa,.fas,.far,.fal){
	color:var(--theme-primary)!important;
	-webkit-text-fill-color:var(--theme-primary)!important;
	opacity:1!important;
}
html body.admin-console :is(.page_menu_item,.page_drop_item){color:var(--admin-ink)!important;background:transparent!important;}
html body.admin-console :is(.page_menu_item:hover,.page_menu_item.page_selected,.page_drop_item:hover,.page_drop_item.get_dat){
	background:rgba(var(--theme-primary-rgb),.16)!important;color:var(--theme-ink,#172033)!important;
}
html body.admin-console :is(.page_menu_item:hover,.page_menu_item.page_selected,.page_drop_item:hover,.page_drop_item.get_dat) :is(.page_menu_text,.page_drop_text,.page_menu_icon,.page_drop_icon){color:var(--theme-darker,#172033)!important;-webkit-text-fill-color:var(--theme-darker,#172033)!important;}
html body.admin-console :is(input,textarea,select){color:var(--admin-ink)!important;-webkit-text-fill-color:var(--admin-ink)!important;}
html body.admin-console :is(input,textarea,select)::placeholder{color:var(--admin-muted)!important;-webkit-text-fill-color:var(--admin-muted)!important;opacity:1!important;}

/* Admin giriş penceresinde kullanıcı adı/şifre yazısı tema stilleriyle
   aynı renge zorlanıp görünmez olmasın. Alan zemini açık olduğundan koyu
   metin ve koyu imleç kullanılır. */
html body.admin-console #login_form_box :is(#user_username,#user_password),
html body.admin-console .modal_in :is(#user_username,#user_password){
	background:#ffffff!important;
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
	caret-color:#172033!important;
	opacity:1!important;
}

/* Gece Mavim koyu yüzeyleri; önceki açık kart kurallarıyla karışmaz. */
html[data-theme-key="gecemavim"] body.admin-console{
	--admin-ink:#e8f4fa;
	--admin-muted:#b6d3e3;
	--admin-surface:#102534;
	--admin-panel:#0b202e;
	--admin-line:#24516b;
}
html[data-theme-key="gecemavim"] body.admin-console :is(.page_menu_wrapper,.page_element,.ulist_item,.sp_content,.premium_setting_group,.slider_modal_box,.dj_panel_box,.oz_row){
	background:var(--admin-surface)!important;
	color:var(--admin-ink)!important;
	border-color:var(--admin-line)!important;
}
html[data-theme-key="gecemavim"] body.admin-console :is(.page_menu_item,.page_drop_item){color:var(--admin-ink)!important;}
html[data-theme-key="gecemavim"] body.admin-console :is(.page_menu_item:hover,.page_menu_item.page_selected,.page_drop_item:hover,.page_drop_item.get_dat){background:rgba(var(--theme-primary-rgb),.24)!important;color:#fff!important;}
html[data-theme-key="gecemavim"] body.admin-console :is(.page_menu_item:hover,.page_menu_item.page_selected,.page_drop_item:hover,.page_drop_item.get_dat) :is(.page_menu_text,.page_drop_text,.page_menu_icon,.page_drop_icon){color:#fff!important;-webkit-text-fill-color:#fff!important;}
html[data-theme-key="gecemavim"] body.admin-console :is(input,textarea,select){background:var(--admin-panel)!important;color:var(--admin-ink)!important;-webkit-text-fill-color:var(--admin-ink)!important;border-color:var(--admin-line)!important;}

/* Okey/Pişti puan listeleri kendi açık kart zeminini kullanır. Genel yönetim
   metin kuralı burada açık tema yazısını zorladığı için isim ve ID soluk
   görünüyordu; açık kart üzerinde koyu ve net metin kullan. */
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.okey_card,.okey_empty){
	background:#f4f4f4!important;
	color:#172033!important;
	border-color:#cbd5df!important;
}
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.okey_name,.okey_meta){
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
	opacity:1!important;
}
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper .okey_meta{color:#526075!important;-webkit-text-fill-color:#526075!important;}
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper .okey_score{
	background:#fff!important;
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
	border-color:#cbd5df!important;
}

/* Yönetim sayfalarındaki sekmelerde seçili olmayan başlıklar açık zeminde
   kalır; genel admin metin rengi onları beyazlaştırmamalıdır. */
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li,
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) .reg_menu_item{
	background:transparent!important;
	color:#26455a!important;
	-webkit-text-fill-color:#26455a!important;
	opacity:1!important;
}
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li:hover,
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li.modal_selected,
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li.tab_selected,
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li.reg_selected{
	background:linear-gradient(145deg,#155979,#287da0)!important;
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}

/* Alt sayfalardaki eski bileşen sınıfları (puan, ban, işlem, analiz,
   eklenti ve ikon yönetimi) de aynı panel kontrastını kullansın. */
html body.admin-console #page_wrapper :is(p,span,div,li,td,th,label,small,strong,b,em,h1,h2,h3,h4,h5,h6,a){
	color:var(--admin-ink)!important;
	-webkit-text-fill-color:var(--admin-ink)!important;
	opacity:1!important;
	text-shadow:none!important;
}
html body.admin-console #page_wrapper :is(.fa,.fas,.far,.fal,.fab,i[class*="fa-"]){
	color:var(--theme-primary)!important;
	-webkit-text-fill-color:var(--theme-primary)!important;
	opacity:1!important;
}
html body.admin-console #page_wrapper :is(button,.theme_btn,.default_btn,.reg_button,.admin_search_btn,.page_btn,.oz_page_btn,.ban_button,.remove_ban,.addon_button,.addon_action){
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}
html body.admin-console #page_wrapper :is(.page_element,.sub_list_item,.sub_item,.sub_half_item,.ulist_item,.user_item,.onay_user_item,.oz_row,.addon_item,.addon_box,.action_item,.system_info_item,.device_ban_item){
	background:var(--admin-surface)!important;
	color:var(--admin-ink)!important;
	border-color:var(--admin-line)!important;
}

html[data-theme-key="black"] body.admin-console{
	--admin-ink:#f1f5f9;
	--admin-muted:#cbd5e1;
	--admin-surface:#11161d;
	--admin-panel:#090b0f;
	--admin-line:#374151;
}
html[data-theme-key="black"] body.admin-console :is(.page_menu_wrapper,.page_element,.sub_list_item,.sub_item,.sub_half_item,.ulist_item,.user_item,.onay_user_item,.oz_row,.addon_item,.addon_box,.action_item,.system_info_item,.device_ban_item,.sp_content){
	background:var(--admin-surface)!important;
	color:var(--admin-ink)!important;
	border-color:var(--admin-line)!important;
}
html[data-theme-key="black"] body.admin-console :is(input,textarea,select){background:var(--admin-panel)!important;color:var(--admin-ink)!important;-webkit-text-fill-color:var(--admin-ink)!important;border-color:var(--admin-line)!important;}

/* Siyah temada açık puan kartları koyu yönetim yazısıyla okunur. */
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.okey_card,.okey_empty){
	background:#f4f4f4!important;color:#172033!important;border-color:#cbd5df!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.okey_name,.okey_meta){
	color:#172033!important;-webkit-text-fill-color:#172033!important;opacity:1!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper .okey_meta{color:#526075!important;-webkit-text-fill-color:#526075!important;}
html[data-theme-key="black"] body.admin-console #page_wrapper .okey_score{
	background:#fff!important;color:#172033!important;-webkit-text-fill-color:#172033!important;border-color:#cbd5df!important;
}

/* Yönetim sekmeleri: açık sekme şeridinde seçilmeyen başlıklar koyu,
   seçilen başlık siyah zemin üzerinde beyaz görünür. */
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li,
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) .reg_menu_item{
	background:transparent!important;color:#263244!important;-webkit-text-fill-color:#263244!important;opacity:1!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li:hover,
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li.modal_selected,
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li.tab_selected,
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.modal_menu,.tab_menu,.reg_menu) li.reg_selected{
	background:#11161d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}

/* Sol yönetim menüsü ve açılmış alt menü: metinler siyah zeminde kaybolmasın. */
html[data-theme-key="black"] body.admin-console :is(.page_menu_item,.page_drop_item),
html[data-theme-key="black"] body.admin-console :is(.page_menu_text,.page_drop_text){
	color:#f1f5f9!important;
	-webkit-text-fill-color:#f1f5f9!important;
	opacity:1!important;
}
html[data-theme-key="black"] body.admin-console :is(.page_menu_item:hover,.page_drop_item:hover),
html[data-theme-key="black"] body.admin-console :is(.page_menu_item.page_selected,.page_drop_item.get_dat){
	background:#2b3440!important;
	border-color:#718096!important;
	color:#fff!important;
}
html[data-theme-key="black"] body.admin-console :is(.page_menu_item.page_selected,.page_drop_item.get_dat) :is(.page_menu_text,.page_drop_text,.page_menu_icon,.page_drop_icon){
	color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-theme-key="black"] body.admin-console #page_menu .page_drop_item.get_dat,
html[data-theme-key="black"] body.admin-console #page_menu .page_drop_item.get_dat .page_drop_text{
	background:#2b3440!important;
	color:#f1f5f9!important;
	-webkit-text-fill-color:#f1f5f9!important;
}

/* Tema genelindeki açılır menüler de siyah temada beyaz kutu olarak kalmasın. */
html[data-theme-key="black"] :is(.fmenu,.sysmenu,.sub_menu,.avmenu,.page_menu ul){
	background:#151a22!important;
	border-color:#374151!important;
}
html[data-theme-key="black"] :is(.fmenu_item,.sub_menu_item,.avitem,.fmenu_text,.sub_menu_text,.avset,.list_icon){
	background:transparent!important;
	color:#f1f5f9!important;
	-webkit-text-fill-color:#f1f5f9!important;
}
html[data-theme-key="black"] :is(.fmenu_item,.sub_menu_item,.avitem):hover{
	background:#2b3440!important;color:#fff!important;
}

html[data-theme-key="black"] body.admin-console select option,
html[data-theme-key="black"] body.admin-console select optgroup,
html[data-theme-key="black"] body.admin-console select optgroup option{
	background:#11161d!important;color:#f1f5f9!important;-webkit-text-fill-color:#f1f5f9!important;
}
html[data-theme-key="black"] body.admin-console select option:checked,
html[data-theme-key="black"] body.admin-console select option:hover{
	background:#263b4d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper select option,
html[data-theme-key="black"] body.admin-console #page_wrapper select optgroup option{
	background-color:#151a22!important;
	color:#f1f5f9!important;
}
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options li,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options li a,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options li a span{
	background:#151a22!important;
	color:#f1f5f9!important;
	-webkit-text-fill-color:#f1f5f9!important;
	opacity:1!important;
}
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options li:hover,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options li.selectboxit-focus,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options li.selectboxit-selected{
	background:#2b3440!important;
}

/* SelectBoxIt açılır kutuları: genel panel metin kuralları tarafından
   soluklaştırılmasın; düğme ve seçenek yazıları zeminle daima kontrastlı olsun. */
html body.admin-console .selectboxit-container,
html body.admin-console .selectboxit-container .selectboxit-btn,
html body.admin-console .selectboxit-container .selectboxit-options,
html body.admin-console .selectboxit-container .selectboxit-list{
	background:var(--admin-panel,var(--admin-surface,#fff))!important;
	border-color:#cbd5e1!important;
}
html body.admin-console .selectboxit-container :is(.selectboxit-text,.selectboxit-option-anchor,.selectboxit-arrow-container,.selectboxit-default-arrow),
html body.admin-console .selectboxit-container :is(span,li,a){
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
	text-shadow:none!important;
	opacity:1!important;
}
html body.admin-console .selectboxit-container .selectboxit-option-anchor:hover,
html body.admin-console .selectboxit-container .selectboxit-focus .selectboxit-option-anchor,
html body.admin-console .selectboxit-container .selectboxit-option-anchor:focus{
	background:rgba(var(--theme-primary-rgb),.16)!important;
	color:#172033!important;
}
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container,
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container .selectboxit-btn,
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container .selectboxit-options,
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container .selectboxit-list,
html[data-theme-key="black"] body.admin-console .selectboxit-container,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-btn,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-options,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-list{
	background:var(--admin-panel)!important;
	border-color:var(--admin-line)!important;
}
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container :is(.selectboxit-text,.selectboxit-option-anchor,.selectboxit-arrow-container,.selectboxit-default-arrow),
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container :is(span,li,a),
html[data-theme-key="black"] body.admin-console .selectboxit-container :is(.selectboxit-text,.selectboxit-option-anchor,.selectboxit-arrow-container,.selectboxit-default-arrow),
html[data-theme-key="black"] body.admin-console .selectboxit-container :is(span,li,a){
	color:var(--admin-ink)!important;
	-webkit-text-fill-color:var(--admin-ink)!important;
}
html body.admin-console .selectboxit-container .selectboxit-default-arrow{border-top-color:#172033!important;}
html[data-theme-key="gecemavim"] body.admin-console .selectboxit-container .selectboxit-default-arrow,
html[data-theme-key="black"] body.admin-console .selectboxit-container .selectboxit-default-arrow{border-top-color:var(--admin-ink)!important;}

/* YouTube Films yönetim ekranı: beyaz kategori/video kartlarında genel
   siyah tema yazı rengi soluklaşmasın. */
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.film_admin_categories>div,.film_admin_videos article){
	background:#fff!important;
	color:#172033!important;
	border-color:#bc92dc!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.film_admin_categories b,.film_admin_categories small,.film_admin_videos article b,.film_admin_videos article small,.film_admin_videos article div){
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
	opacity:1!important;
	text-shadow:none!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper .film_admin_videos article small{
	color:#4d2070!important;
	-webkit-text-fill-color:#4d2070!important;
}

/* TikTok eklentisi yönetim kartları da açık kart zemininde koyu ve net
   metin kullanmalı; genel siyah tema yazı kuralı bu alanları soluklaştırmasın. */
html[data-theme-key="black"] body.admin-console #page_wrapper :is(.tiktok_admin_card,.tiktok_admin_comment){
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper .tiktok_admin_card :is(.tiktok_video_head b,.tiktok_video_head small),
html[data-theme-key="black"] body.admin-console #page_wrapper .tiktok_admin_comment :is(b,small,p){
	color:#172033!important;
	-webkit-text-fill-color:#172033!important;
	opacity:1!important;
	text-shadow:none!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper .tiktok_admin_card .tiktok_video_head small,
html[data-theme-key="black"] body.admin-console #page_wrapper .tiktok_admin_comment small{
	color:#526075!important;
	-webkit-text-fill-color:#526075!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper .tiktok_admin_comment.approved{
	background:#f3fff6!important;
}
html[data-theme-key="black"] body.admin-console #page_wrapper .tiktok_video_approved{
	background:#d7f3df!important;
	color:#126b35!important;
	-webkit-text-fill-color:#126b35!important;
}

/* Özel okuma sayfalaması: genel yönetim buton kuralı beyaz zeminde
   beyaz yazı oluşturmamalı; numaralar ve işlemler net görünmeli. */
html body.admin-console #page_wrapper .oz_page_btn{
	background:var(--admin-surface,#fff)!important;
	color:var(--admin-ink,#172033)!important;
	-webkit-text-fill-color:var(--admin-ink,#172033)!important;
	opacity:1!important;
}
html body.admin-console #page_wrapper .oz_page_btn:hover:not(:disabled){
	color:var(--theme-primary)!important;
	-webkit-text-fill-color:var(--theme-primary)!important;
}
html body.admin-console #page_wrapper .oz_page_btn:disabled{
	color:var(--admin-muted,#526075)!important;
	-webkit-text-fill-color:var(--admin-muted,#526075)!important;
	opacity:.7!important;
}
html body.admin-console #page_wrapper .oz_page_btn.oz_page_active,
html body.admin-console #page_wrapper .oz_page_btn.oz_page_active:hover:not(:disabled){
	background:var(--theme-gradient)!important;
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}
html body.admin-console #page_wrapper .oz_clear_btn{
	color:#9f1239!important;
	-webkit-text-fill-color:#9f1239!important;
}
html body.admin-console #page_wrapper .oz_clear_btn:hover:not(:disabled){
	color:#fff!important;
	-webkit-text-fill-color:#fff!important;
}
html[data-theme-key="gecemavim"] body.admin-console #page_wrapper .oz_clear_btn,
html[data-theme-key="black"] body.admin-console #page_wrapper .oz_clear_btn{
	color:#ff8a80!important;
	-webkit-text-fill-color:#ff8a80!important;
}
