/* Fotoğrafçı Paneli v5 - tek merkez tema düzeltmesi */
html[data-bs-theme="dark"],
html[data-theme="dark"],
html.admin-theme-dark,
body[data-bs-theme="dark"],
body.admin-theme-dark{color-scheme:dark;}

html[data-bs-theme="dark"] body,
html[data-theme="dark"] body,
html.admin-theme-dark body,
body[data-bs-theme="dark"]{
    background:#070b12!important;
    color:#e5e7eb!important;
}
html[data-bs-theme="dark"] #layout-wrapper,
html[data-bs-theme="dark"] .app-wrapper,
html[data-bs-theme="dark"] .page-content,
html[data-bs-theme="dark"] .main-content,
html[data-bs-theme="dark"] .container-fluid,
html[data-bs-theme="dark"] .main-content .page-content,
html.admin-theme-dark #layout-wrapper,
html.admin-theme-dark .app-wrapper,
html.admin-theme-dark .page-content,
html.admin-theme-dark .main-content,
html.admin-theme-dark .container-fluid{
    background:radial-gradient(circle at top left, rgba(124,58,237,.18), transparent 32%),radial-gradient(circle at top right, rgba(37,99,235,.14), transparent 30%),#070b12!important;
    color:#e5e7eb!important;
}
html[data-bs-theme="dark"] .pe-app-sidebar,
html.admin-theme-dark .pe-app-sidebar,
html[data-bs-theme="dark"] .app-header,
html.admin-theme-dark .app-header,
html[data-bs-theme="dark"] .header-main,
html.admin-theme-dark .header-main{
    background:#0b1220!important;
    border-color:rgba(255,255,255,.09)!important;
    color:#e5e7eb!important;
}
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .offcanvas,
html.admin-theme-dark .card,
html.admin-theme-dark .dropdown-menu,
html.admin-theme-dark .modal-content,
html.admin-theme-dark .offcanvas{
    background:#111827!important;
    color:#e5e7eb!important;
    border-color:rgba(255,255,255,.10)!important;
    box-shadow:0 22px 70px rgba(0,0,0,.34)!important;
}
html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-footer,
html.admin-theme-dark .card-header,
html.admin-theme-dark .card-footer{
    background:#111827!important;
    color:#e5e7eb!important;
    border-color:rgba(255,255,255,.10)!important;
}
html[data-bs-theme="dark"] .table,
html.admin-theme-dark .table{
    --bs-table-bg:transparent!important;
    --bs-table-color:#e5e7eb!important;
    --bs-table-border-color:rgba(255,255,255,.10)!important;
    color:#e5e7eb!important;
}
html[data-bs-theme="dark"] .table>:not(caption)>*>*,
html.admin-theme-dark .table>:not(caption)>*>*{
    background-color:transparent!important;
    color:#e5e7eb!important;
    border-color:rgba(255,255,255,.10)!important;
}
html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] textarea,
html.admin-theme-dark .form-control,
html.admin-theme-dark .form-select,
html.admin-theme-dark textarea{
    background:#0b1220!important;
    color:#e5e7eb!important;
    border-color:rgba(255,255,255,.14)!important;
}
html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus,
html.admin-theme-dark .form-control:focus,
html.admin-theme-dark .form-select:focus{
    background:#0b1220!important;
    color:#fff!important;
    border-color:#60a5fa!important;
    box-shadow:0 0 0 .2rem rgba(96,165,250,.14)!important;
}
html[data-bs-theme="dark"] .form-control::placeholder,
html.admin-theme-dark .form-control::placeholder{color:#94a3b8!important;}
html[data-bs-theme="dark"] label,
html[data-bs-theme="dark"] .form-label,
html[data-bs-theme="dark"] .text-body-emphasis,
html[data-bs-theme="dark"] .fw-semibold,
html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] h5,
html[data-bs-theme="dark"] h6,
html.admin-theme-dark label,
html.admin-theme-dark .form-label,
html.admin-theme-dark .text-body-emphasis,
html.admin-theme-dark .fw-semibold,
html.admin-theme-dark h1,
html.admin-theme-dark h2,
html.admin-theme-dark h3,
html.admin-theme-dark h4,
html.admin-theme-dark h5,
html.admin-theme-dark h6{color:#f8fafc!important;}
html[data-bs-theme="dark"] .text-muted,
html.admin-theme-dark .text-muted{color:#94a3b8!important;}
html[data-bs-theme="dark"] .bg-white,
html.admin-theme-dark .bg-white{background:#111827!important;}
html[data-bs-theme="dark"] code,
html.admin-theme-dark code{
    background:#0b1220!important;
    color:#93c5fd!important;
    border:1px solid rgba(255,255,255,.10)!important;
}
html[data-bs-theme="dark"] .breadcrumb,
html[data-bs-theme="dark"] .breadcrumb a,
html.admin-theme-dark .breadcrumb,
html.admin-theme-dark .breadcrumb a{color:#cbd5e1!important;}
html[data-bs-theme="dark"] .main-breadcrumb,
html.admin-theme-dark .main-breadcrumb{color:#e5e7eb!important;}

/* Ayarlar sayfası dark/premium */
html[data-bs-theme="dark"] .nav-tabs,
html.admin-theme-dark .nav-tabs{border-color:rgba(255,255,255,.10)!important;}
html[data-bs-theme="dark"] .nav-tabs .nav-link,
html.admin-theme-dark .nav-tabs .nav-link{
    color:#cbd5e1!important;
    border:1px solid transparent!important;
    background:transparent!important;
}
html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
html.admin-theme-dark .nav-tabs .nav-link.active{
    color:#fff!important;
    background:linear-gradient(135deg, rgba(124,58,237,.30), rgba(37,99,235,.22))!important;
    border-color:rgba(96,165,250,.30)!important;
    box-shadow:0 12px 28px rgba(37,99,235,.18)!important;
}
html[data-bs-theme="dark"] .alert-info,
html.admin-theme-dark .alert-info{
    background:rgba(14,165,233,.10)!important;
    border-color:rgba(56,189,248,.22)!important;
    color:#dbeafe!important;
}
html[data-bs-theme="dark"] .alert-success,
html.admin-theme-dark .alert-success{
    background:rgba(34,197,94,.12)!important;
    border-color:rgba(34,197,94,.25)!important;
    color:#dcfce7!important;
}
html[data-bs-theme="dark"] .alert-warning,
html.admin-theme-dark .alert-warning{
    background:rgba(245,158,11,.12)!important;
    border-color:rgba(245,158,11,.25)!important;
    color:#fef3c7!important;
}
html[data-bs-theme="dark"] .setting-file-preview,
html.admin-theme-dark .setting-file-preview{
    background:#0b1220!important;
    border-color:rgba(255,255,255,.10)!important;
}
html[data-bs-theme="dark"] .setting-file-preview img,
html.admin-theme-dark .setting-file-preview img{
    background:#111827!important;
    border-color:rgba(255,255,255,.10)!important;
}
html[data-bs-theme="dark"] option,
html.admin-theme-dark option{background:#0b1220!important;color:#e5e7eb!important;}

/* Light mod seçilirse temiz light kalsın */
html[data-bs-theme="light"] body,
body[data-bs-theme="light"]{background:#f6f8fb!important;color:#111827!important;}

/* v7 loader kilit fix: eski footer/header cache'ten kalsa bile sayfayı kapatmasın */
#appLoader,
#preloader,
#pageLoader,
#globalLoader,
.preloader,
.page-loader,
.loader-wrapper,
.global-loader{
    display:none!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:-1!important;
}
#appLoader *,
.preloader *,
.page-loader *,
.loader-wrapper *,
.global-loader *{
    animation:none!important;
    pointer-events:none!important;
}

/* v7 kararlı tema: ayarlar ve diğer sayfalar aynı görünür */
html[data-bs-theme="dark"] .page-title,
html[data-bs-theme="dark"] .page-title-box,
html.admin-theme-dark .page-title,
html.admin-theme-dark .page-title-box{
    color:#f8fafc!important;
}
html[data-bs-theme="dark"] .tab-content,
html.admin-theme-dark .tab-content{
    background:transparent!important;
    color:#e5e7eb!important;
}
html[data-bs-theme="dark"] .btn-light,
html.admin-theme-dark .btn-light{
    background:#1f2937!important;
    border-color:rgba(255,255,255,.10)!important;
    color:#f8fafc!important;
}

/* =========================================================
   Fotoğrafçı Paneli v7 - LIGHT / DARK tek merkez fix
   Sorun: bazı sayfalar eski template/cache yüzünden light seçiliyken dark kalıyordu.
   Çözüm: data-panel-theme=light en güçlü kaynak kabul edilir.
========================================================= */
html[data-panel-theme="light"],
html[data-panel-theme="light"] body,
body[data-panel-theme="light"]{
    color-scheme:light!important;
}

html[data-panel-theme="light"],
html[data-panel-theme="light"] body,
body[data-panel-theme="light"]{
    --fp-soft:#f6f8fb!important;
    --fp-border:rgba(15,23,42,.10)!important;
    --fp-text:#0f172a!important;
    --fp-muted:#64748b!important;
    --fp-card:#ffffff!important;
    --fp-shadow:0 20px 55px rgba(15,23,42,.10)!important;
    --admin-bg:#f6f8fb!important;
    --admin-bg-2:#eef2f7!important;
    --admin-card:#ffffff!important;
    --admin-card-2:#f8fafc!important;
    --admin-sidebar:#ffffff!important;
    --admin-topbar:#ffffff!important;
    --admin-text:#0f172a!important;
    --admin-text-soft:#334155!important;
    --admin-text-muted:#64748b!important;
    --admin-border:rgba(15,23,42,.10)!important;
    --pe-body-bg:#f6f8fb!important;
    --pe-body-color:#0f172a!important;
    --pe-secondary-bg:#ffffff!important;
    --pe-border-color:rgba(15,23,42,.10)!important;
    --pe-card-bg:#ffffff!important;
}

html[data-panel-theme="light"] body,
body[data-panel-theme="light"]{
    background:#f6f8fb!important;
    color:#0f172a!important;
}

html[data-panel-theme="light"] #layout-wrapper,
html[data-panel-theme="light"] .app-wrapper,
html[data-panel-theme="light"] .page-content,
html[data-panel-theme="light"] .main-content,
html[data-panel-theme="light"] .container-fluid,
html[data-panel-theme="light"] .main-content .page-content,
body[data-panel-theme="light"] #layout-wrapper,
body[data-panel-theme="light"] .app-wrapper,
body[data-panel-theme="light"] .page-content,
body[data-panel-theme="light"] .main-content,
body[data-panel-theme="light"] .container-fluid{
    background:radial-gradient(circle at top left, rgba(124,58,237,.07), transparent 32%),radial-gradient(circle at top right, rgba(37,99,235,.06), transparent 30%),#f6f8fb!important;
    color:#0f172a!important;
}

html[data-panel-theme="light"] .pe-app-sidebar,
html[data-panel-theme="light"] .app-header,
html[data-panel-theme="light"] .header-main,
body[data-panel-theme="light"] .pe-app-sidebar,
body[data-panel-theme="light"] .app-header,
body[data-panel-theme="light"] .header-main{
    background:#ffffff!important;
    border-color:rgba(15,23,42,.10)!important;
    color:#0f172a!important;
    box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
}

html[data-panel-theme="light"] .pe-app-sidebar-logo,
html[data-panel-theme="light"] .pe-app-sidebar-menu,
body[data-panel-theme="light"] .pe-app-sidebar-logo,
body[data-panel-theme="light"] .pe-app-sidebar-menu{
    background:#ffffff!important;
    color:#0f172a!important;
}

html[data-panel-theme="light"] .pe-menu-title,
body[data-panel-theme="light"] .pe-menu-title{
    color:#64748b!important;
}
html[data-panel-theme="light"] .pe-nav-link,
html[data-panel-theme="light"] .pe-nav-link i,
html[data-panel-theme="light"] .pe-nav-link span,
body[data-panel-theme="light"] .pe-nav-link,
body[data-panel-theme="light"] .pe-nav-link i,
body[data-panel-theme="light"] .pe-nav-link span{
    color:#334155!important;
}
html[data-panel-theme="light"] .pe-nav-link:not(.active):hover,
body[data-panel-theme="light"] .pe-nav-link:not(.active):hover{
    background:#f1f5f9!important;
    color:#0f172a!important;
}
html[data-panel-theme="light"] .pe-nav-link.active,
html[data-panel-theme="light"] .pe-nav-link.active i,
html[data-panel-theme="light"] .pe-nav-link.active span,
body[data-panel-theme="light"] .pe-nav-link.active,
body[data-panel-theme="light"] .pe-nav-link.active i,
body[data-panel-theme="light"] .pe-nav-link.active span{
    color:#ffffff!important;
}

html[data-panel-theme="light"] .card,
html[data-panel-theme="light"] .dropdown-menu,
html[data-panel-theme="light"] .modal-content,
html[data-panel-theme="light"] .offcanvas,
html[data-panel-theme="light"] .fp-premium-card,
body[data-panel-theme="light"] .card,
body[data-panel-theme="light"] .dropdown-menu,
body[data-panel-theme="light"] .modal-content,
body[data-panel-theme="light"] .offcanvas,
body[data-panel-theme="light"] .fp-premium-card{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
    box-shadow:0 20px 55px rgba(15,23,42,.08)!important;
}

html[data-panel-theme="light"] .card-header,
html[data-panel-theme="light"] .card-footer,
body[data-panel-theme="light"] .card-header,
body[data-panel-theme="light"] .card-footer{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
}

html[data-panel-theme="light"] .table,
body[data-panel-theme="light"] .table{
    --bs-table-bg:transparent!important;
    --bs-table-color:#0f172a!important;
    --bs-table-border-color:rgba(15,23,42,.10)!important;
    color:#0f172a!important;
}
html[data-panel-theme="light"] .table>:not(caption)>*>*,
body[data-panel-theme="light"] .table>:not(caption)>*>*{
    background-color:transparent!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
}

html[data-panel-theme="light"] .form-control,
html[data-panel-theme="light"] .form-select,
html[data-panel-theme="light"] textarea,
body[data-panel-theme="light"] .form-control,
body[data-panel-theme="light"] .form-select,
body[data-panel-theme="light"] textarea{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.14)!important;
}
html[data-panel-theme="light"] .form-control:focus,
html[data-panel-theme="light"] .form-select:focus,
body[data-panel-theme="light"] .form-control:focus,
body[data-panel-theme="light"] .form-select:focus{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:#2563eb!important;
    box-shadow:0 0 0 .2rem rgba(37,99,235,.12)!important;
}
html[data-panel-theme="light"] .form-control::placeholder,
body[data-panel-theme="light"] .form-control::placeholder{color:#94a3b8!important;}

html[data-panel-theme="light"] label,
html[data-panel-theme="light"] .form-label,
html[data-panel-theme="light"] .text-body-emphasis,
html[data-panel-theme="light"] .fw-semibold,
html[data-panel-theme="light"] h1,
html[data-panel-theme="light"] h2,
html[data-panel-theme="light"] h3,
html[data-panel-theme="light"] h4,
html[data-panel-theme="light"] h5,
html[data-panel-theme="light"] h6,
body[data-panel-theme="light"] label,
body[data-panel-theme="light"] .form-label,
body[data-panel-theme="light"] .text-body-emphasis,
body[data-panel-theme="light"] .fw-semibold,
body[data-panel-theme="light"] h1,
body[data-panel-theme="light"] h2,
body[data-panel-theme="light"] h3,
body[data-panel-theme="light"] h4,
body[data-panel-theme="light"] h5,
body[data-panel-theme="light"] h6{color:#0f172a!important;}

html[data-panel-theme="light"] .text-muted,
body[data-panel-theme="light"] .text-muted{color:#64748b!important;}
html[data-panel-theme="light"] .bg-white,
body[data-panel-theme="light"] .bg-white{background:#ffffff!important;}
html[data-panel-theme="light"] .btn-light,
body[data-panel-theme="light"] .btn-light{
    background:#f8fafc!important;
    border-color:rgba(15,23,42,.10)!important;
    color:#0f172a!important;
}
html[data-panel-theme="light"] .btn-dark,
body[data-panel-theme="light"] .btn-dark{
    background:#111827!important;
    border-color:#111827!important;
    color:#ffffff!important;
}

html[data-panel-theme="light"] .fp-sticky-actions,
body[data-panel-theme="light"] .fp-sticky-actions{
    background:rgba(255,255,255,.90)!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
}
html[data-panel-theme="light"] .fp-upload-drop,
body[data-panel-theme="light"] .fp-upload-drop{
    background:linear-gradient(135deg,rgba(124,58,237,.07),rgba(37,99,235,.05))!important;
    border-color:rgba(124,58,237,.35)!important;
}
html[data-panel-theme="light"] .alert-info,
body[data-panel-theme="light"] .alert-info{
    background:#eff6ff!important;
    border-color:#bfdbfe!important;
    color:#1e3a8a!important;
}

/* =========================================================
   Fotoğrafçı Paneli v8 - kesin light/dark senkron fix
   Light seçiliyse admin-theme-light class'ı ve data-panel-theme=light
   tüm özel fotoğraf sayfalarında en güçlü kaynak kabul edilir.
========================================================= */
html.admin-theme-light,
html.admin-theme-light body,
body.admin-theme-light,
html[data-panel-theme="light"],
html[data-panel-theme="light"] body,
body[data-panel-theme="light"]{
    color-scheme:light!important;
    background:#f6f8fb!important;
    color:#0f172a!important;
    --fp-soft:#f6f8fb!important;
    --fp-border:rgba(15,23,42,.10)!important;
    --fp-text:#0f172a!important;
    --fp-muted:#64748b!important;
    --fp-card:#ffffff!important;
    --fp-shadow:0 20px 55px rgba(15,23,42,.10)!important;
    --admin-bg:#f6f8fb!important;
    --admin-bg-2:#eef2f7!important;
    --admin-card:#ffffff!important;
    --admin-card-2:#f8fafc!important;
    --admin-sidebar:#ffffff!important;
    --admin-topbar:#ffffff!important;
    --admin-text:#0f172a!important;
    --admin-text-soft:#334155!important;
    --admin-text-muted:#64748b!important;
    --admin-border:rgba(15,23,42,.10)!important;
    --pe-body-bg:#f6f8fb!important;
    --pe-body-color:#0f172a!important;
    --pe-secondary-bg:#ffffff!important;
    --pe-border-color:rgba(15,23,42,.10)!important;
    --pe-card-bg:#ffffff!important;
}

html.admin-theme-light #layout-wrapper,
html.admin-theme-light .main-content,
html.admin-theme-light .page-content,
html.admin-theme-light .app-wrapper,
html.admin-theme-light .container-fluid,
body.admin-theme-light #layout-wrapper,
body.admin-theme-light .main-content,
body.admin-theme-light .page-content,
body.admin-theme-light .app-wrapper,
body.admin-theme-light .container-fluid,
html[data-panel-theme="light"] #layout-wrapper,
html[data-panel-theme="light"] .main-content,
html[data-panel-theme="light"] .page-content,
html[data-panel-theme="light"] .app-wrapper,
html[data-panel-theme="light"] .container-fluid,
body[data-panel-theme="light"] #layout-wrapper,
body[data-panel-theme="light"] .main-content,
body[data-panel-theme="light"] .page-content,
body[data-panel-theme="light"] .app-wrapper,
body[data-panel-theme="light"] .container-fluid{
    background:radial-gradient(circle at top left, rgba(124,58,237,.07), transparent 32%),radial-gradient(circle at top right, rgba(37,99,235,.06), transparent 30%),#f6f8fb!important;
    color:#0f172a!important;
}

html.admin-theme-light .pe-app-sidebar,
html.admin-theme-light .pe-app-sidebar-logo,
html.admin-theme-light .pe-app-sidebar-menu,
html.admin-theme-light .app-header,
html.admin-theme-light .header-main,
body.admin-theme-light .pe-app-sidebar,
body.admin-theme-light .pe-app-sidebar-logo,
body.admin-theme-light .pe-app-sidebar-menu,
body.admin-theme-light .app-header,
body.admin-theme-light .header-main,
html[data-panel-theme="light"] .pe-app-sidebar,
html[data-panel-theme="light"] .pe-app-sidebar-logo,
html[data-panel-theme="light"] .pe-app-sidebar-menu,
html[data-panel-theme="light"] .app-header,
html[data-panel-theme="light"] .header-main,
body[data-panel-theme="light"] .pe-app-sidebar,
body[data-panel-theme="light"] .pe-app-sidebar-logo,
body[data-panel-theme="light"] .pe-app-sidebar-menu,
body[data-panel-theme="light"] .app-header,
body[data-panel-theme="light"] .header-main{
    background:#ffffff!important;
    border-color:rgba(15,23,42,.10)!important;
    color:#0f172a!important;
    box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
}

html.admin-theme-light .card,
html.admin-theme-light .fp-premium-card,
html.admin-theme-light .dropdown-menu,
html.admin-theme-light .modal-content,
html.admin-theme-light .offcanvas,
body.admin-theme-light .card,
body.admin-theme-light .fp-premium-card,
body.admin-theme-light .dropdown-menu,
body.admin-theme-light .modal-content,
body.admin-theme-light .offcanvas,
html[data-panel-theme="light"] .card,
html[data-panel-theme="light"] .fp-premium-card,
html[data-panel-theme="light"] .dropdown-menu,
html[data-panel-theme="light"] .modal-content,
html[data-panel-theme="light"] .offcanvas,
body[data-panel-theme="light"] .card,
body[data-panel-theme="light"] .fp-premium-card,
body[data-panel-theme="light"] .dropdown-menu,
body[data-panel-theme="light"] .modal-content,
body[data-panel-theme="light"] .offcanvas{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
    box-shadow:0 20px 55px rgba(15,23,42,.08)!important;
}

html.admin-theme-light .card-header,
html.admin-theme-light .card-footer,
body.admin-theme-light .card-header,
body.admin-theme-light .card-footer,
html[data-panel-theme="light"] .card-header,
html[data-panel-theme="light"] .card-footer,
body[data-panel-theme="light"] .card-header,
body[data-panel-theme="light"] .card-footer{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
}

html.admin-theme-light .table,
body.admin-theme-light .table,
html[data-panel-theme="light"] .table,
body[data-panel-theme="light"] .table{
    --bs-table-bg:transparent!important;
    --bs-table-color:#0f172a!important;
    --bs-table-border-color:rgba(15,23,42,.10)!important;
    color:#0f172a!important;
}
html.admin-theme-light .table>:not(caption)>*>*,
body.admin-theme-light .table>:not(caption)>*>*,
html[data-panel-theme="light"] .table>:not(caption)>*>*,
body[data-panel-theme="light"] .table>:not(caption)>*>*{
    background-color:transparent!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
}

html.admin-theme-light .pe-menu-title,
body.admin-theme-light .pe-menu-title,
html[data-panel-theme="light"] .pe-menu-title,
body[data-panel-theme="light"] .pe-menu-title{color:#64748b!important;}

html.admin-theme-light .pe-nav-link,
html.admin-theme-light .pe-nav-link i,
html.admin-theme-light .pe-nav-link span,
body.admin-theme-light .pe-nav-link,
body.admin-theme-light .pe-nav-link i,
body.admin-theme-light .pe-nav-link span,
html[data-panel-theme="light"] .pe-nav-link,
html[data-panel-theme="light"] .pe-nav-link i,
html[data-panel-theme="light"] .pe-nav-link span,
body[data-panel-theme="light"] .pe-nav-link,
body[data-panel-theme="light"] .pe-nav-link i,
body[data-panel-theme="light"] .pe-nav-link span{color:#334155!important;}

html.admin-theme-light .pe-nav-link:not(.active):hover,
body.admin-theme-light .pe-nav-link:not(.active):hover,
html[data-panel-theme="light"] .pe-nav-link:not(.active):hover,
body[data-panel-theme="light"] .pe-nav-link:not(.active):hover{
    background:#f1f5f9!important;
    color:#0f172a!important;
}
html.admin-theme-light .pe-nav-link.active,
html.admin-theme-light .pe-nav-link.active i,
html.admin-theme-light .pe-nav-link.active span,
body.admin-theme-light .pe-nav-link.active,
body.admin-theme-light .pe-nav-link.active i,
body.admin-theme-light .pe-nav-link.active span,
html[data-panel-theme="light"] .pe-nav-link.active,
html[data-panel-theme="light"] .pe-nav-link.active i,
html[data-panel-theme="light"] .pe-nav-link.active span,
body[data-panel-theme="light"] .pe-nav-link.active,
body[data-panel-theme="light"] .pe-nav-link.active i,
body[data-panel-theme="light"] .pe-nav-link.active span{
    color:#ffffff!important;
}

html.admin-theme-light .main-breadcrumb,
html.admin-theme-light .breadcrumb,
html.admin-theme-light .breadcrumb a,
html.admin-theme-light .breadcrumb-item,
html.admin-theme-light .breadcrumb-title,
body.admin-theme-light .main-breadcrumb,
body.admin-theme-light .breadcrumb,
body.admin-theme-light .breadcrumb a,
body.admin-theme-light .breadcrumb-item,
body.admin-theme-light .breadcrumb-title,
html[data-panel-theme="light"] .main-breadcrumb,
html[data-panel-theme="light"] .breadcrumb,
html[data-panel-theme="light"] .breadcrumb a,
html[data-panel-theme="light"] .breadcrumb-item,
html[data-panel-theme="light"] .breadcrumb-title,
body[data-panel-theme="light"] .main-breadcrumb,
body[data-panel-theme="light"] .breadcrumb,
body[data-panel-theme="light"] .breadcrumb a,
body[data-panel-theme="light"] .breadcrumb-item,
body[data-panel-theme="light"] .breadcrumb-title{color:#0f172a!important;}

html.admin-theme-light .form-control,
html.admin-theme-light .form-select,
html.admin-theme-light textarea,
body.admin-theme-light .form-control,
body.admin-theme-light .form-select,
body.admin-theme-light textarea,
html[data-panel-theme="light"] .form-control,
html[data-panel-theme="light"] .form-select,
html[data-panel-theme="light"] textarea,
body[data-panel-theme="light"] .form-control,
body[data-panel-theme="light"] .form-select,
body[data-panel-theme="light"] textarea{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.14)!important;
}

html.admin-theme-light .text-muted,
body.admin-theme-light .text-muted,
html[data-panel-theme="light"] .text-muted,
body[data-panel-theme="light"] .text-muted{color:#64748b!important;}

html.admin-theme-light label,
html.admin-theme-light .form-label,
html.admin-theme-light .text-body-emphasis,
html.admin-theme-light .fw-semibold,
html.admin-theme-light h1,
html.admin-theme-light h2,
html.admin-theme-light h3,
html.admin-theme-light h4,
html.admin-theme-light h5,
html.admin-theme-light h6,
body.admin-theme-light label,
body.admin-theme-light .form-label,
body.admin-theme-light .text-body-emphasis,
body.admin-theme-light .fw-semibold,
body.admin-theme-light h1,
body.admin-theme-light h2,
body.admin-theme-light h3,
body.admin-theme-light h4,
body.admin-theme-light h5,
body.admin-theme-light h6,
html[data-panel-theme="light"] label,
html[data-panel-theme="light"] .form-label,
html[data-panel-theme="light"] .text-body-emphasis,
html[data-panel-theme="light"] .fw-semibold,
html[data-panel-theme="light"] h1,
html[data-panel-theme="light"] h2,
html[data-panel-theme="light"] h3,
html[data-panel-theme="light"] h4,
html[data-panel-theme="light"] h5,
html[data-panel-theme="light"] h6,
body[data-panel-theme="light"] label,
body[data-panel-theme="light"] .form-label,
body[data-panel-theme="light"] .text-body-emphasis,
body[data-panel-theme="light"] .fw-semibold,
body[data-panel-theme="light"] h1,
body[data-panel-theme="light"] h2,
body[data-panel-theme="light"] h3,
body[data-panel-theme="light"] h4,
body[data-panel-theme="light"] h5,
body[data-panel-theme="light"] h6{color:#0f172a!important;}

html.admin-theme-light .header-profile-btn,
html.admin-theme-light .header-btn,
body.admin-theme-light .header-profile-btn,
body.admin-theme-light .header-btn,
html[data-panel-theme="light"] .header-profile-btn,
html[data-panel-theme="light"] .header-btn,
body[data-panel-theme="light"] .header-profile-btn,
body[data-panel-theme="light"] .header-btn{
    background:#ffffff!important;
    color:#0f172a!important;
    border-color:rgba(15,23,42,.10)!important;
}

html.admin-theme-light .btn-light,
body.admin-theme-light .btn-light,
html[data-panel-theme="light"] .btn-light,
body[data-panel-theme="light"] .btn-light{
    background:#f8fafc!important;
    border-color:rgba(15,23,42,.10)!important;
    color:#0f172a!important;
}

/* Dark seçiliyse de bozulmasın */
html.admin-theme-dark,
html.admin-theme-dark body,
body.admin-theme-dark,
html[data-panel-theme="dark"],
html[data-panel-theme="dark"] body,
body[data-panel-theme="dark"]{
    color-scheme:dark!important;
}
