/* =========================================================
   EduX Panel — Modern admin temasının üzerine EduX tasarım katmanı
   (frontend ile aynı renk/yazı dili: navy + kırmızı, Plus Jakarta Sans)
   ========================================================= */
:root {
  --navy: #0c1b4d;
  --navy-2: #16297a;
  --navy-3: #22389c;
  --red: #e11d48;
  --red-2: #fb3b62;
  --red-soft: #ffe8ee;
  --ink: #141b34;
  --muted: #5c6582;
  --line: #e6e8f0;
  --bg: #f5f6fb;
  --soft: #eef1fa;
  --gold: #f5b301;
  --green: #18a957;
  --blue: #2563eb;
  --accent: #3b4fa8;
  --accent-soft: #eceffa;
  --side-bg: #111b3f;
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --sh: 0 18px 40px -22px rgba(12, 27, 77, .25);
  --sh-sm: 0 4px 16px -8px rgba(12, 27, 77, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --side-w: 264px;
  --top-h: 68px;
}

/* ---------- Temel ---------- */
html body.vertical-layout,
html body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
html body .content .content-wrapper { padding: 28px 28px 12px; }
body h1, body h2, body h3, body h4, body h5, body h6,
body .h1, body .h2, body .h3, body .h4, body .h5, body .h6 { font-family: var(--font); color: var(--navy); letter-spacing: -.01em; }
a { color: var(--navy-3); }
a:hover { color: var(--accent); text-decoration: none; }
::selection { background: var(--accent-soft); color: var(--navy); }

/* ---------- Üst bar ---------- */
html body .header-navbar.navbar-semi-dark,
html body .header-navbar {
  height: var(--top-h); min-height: var(--top-h); background: rgba(255, 255, 255, .92) !important;
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: none !important;
}
html body .header-navbar .navbar-header {
  background: var(--side-bg) !important; height: var(--top-h); width: var(--side-w);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
html body .header-navbar .navbar-header .navbar-brand { display: flex; align-items: center; gap: 10px; padding: 0; height: var(--top-h); }
html body .header-navbar .navbar-header .navbar-brand .brand-logo { max-height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 4px 6px; }
html body .header-navbar .navbar-header .navbar-brand .brand-text { color: #fff; font-weight: 800; font-size: 1.05rem; padding: 0; margin: 0; letter-spacing: -.01em; }
html body .header-navbar .navbar-header .nav-link,
html body .header-navbar .navbar-header .nav-link i { color: #fff !important; }
html body .header-navbar .navbar-container { height: var(--top-h); background: transparent !important; }
html body .header-navbar .navbar-container ul.nav li > a.nav-link { color: var(--ink); padding: 0 10px; height: var(--top-h); display: flex; align-items: center; }
html body .header-navbar .navbar-container ul.nav li a.nav-link i { color: var(--muted); }

.px-title { display: flex; flex-direction: column; justify-content: center; height: var(--top-h); padding-left: 6px; }
.px-title small { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.1; }
.px-title strong { color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.3; }

.px-icon-btn {
  width: 40px; height: 40px; border-radius: 12px; display: grid !important; place-items: center; position: relative;
  border: 1px solid var(--line); background: #fff; color: var(--navy) !important; transition: .2s var(--ease); padding: 0 !important;
}
.px-icon-btn:hover { border-color: var(--navy); background: var(--soft); }
.px-icon-btn i { font-size: 18px; color: var(--navy) !important; }
.px-icon-btn .px-dot {
  position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff;
}
.px-icon-btn .px-dot.green { background: var(--green); }
.header-navbar .navbar-container ul.nav li.px-li { display: flex; align-items: center; height: var(--top-h); padding: 0 4px; }

.px-user { display: flex !important; align-items: center; gap: 10px; padding: 4px 6px 4px 4px !important; height: auto !important; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.px-user:hover { border-color: var(--navy); }
.px-user::after { display: none !important; }
.px-avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--navy-2); font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.px-avatar.lg { width: 52px; height: 52px; font-size: 18px; }
.px-user .px-user-meta { display: flex; flex-direction: column; line-height: 1.15; padding-right: 6px; }
.px-user .px-user-meta strong { font-size: 13.5px; color: var(--navy); font-weight: 700; }
.px-user .px-user-meta small { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: capitalize; }

/* ---------- Dropdown ---------- */
body .dropdown-menu {
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 8px; font-family: var(--font);
  animation: px-pop .18s var(--ease);
}
@keyframes px-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body .dropdown-menu .dropdown-item { border-radius: 8px; padding: 9px 12px; font-size: 14px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 10px; }
body .dropdown-menu .dropdown-item i { color: var(--muted); width: 18px; text-align: center; }
body .dropdown-menu .dropdown-item:hover, body .dropdown-menu .dropdown-item:focus { background: var(--soft); color: var(--navy); }
body .dropdown-menu .dropdown-item.text-danger, body .dropdown-menu .dropdown-item.text-danger i { color: var(--red) !important; }
body .dropdown-menu .dropdown-divider { margin: 6px 0; border-color: var(--line); }
.px-dd-head { padding: 10px 12px 12px; display: flex; gap: 12px; align-items: center; }
.px-dd-head strong { display: block; color: var(--navy); font-size: 14px; }
.px-dd-head small { color: var(--muted); font-size: 12px; }
.px-online { width: 320px; max-height: 420px; overflow: auto; }
.px-online .px-online-item { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; align-items: center; }
.px-online .px-online-item:hover { background: var(--soft); }
.px-online .px-online-item .px-avatar { width: 30px; height: 30px; font-size: 11px; position: relative; }
.px-online .px-online-item .px-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.px-online .px-online-item.away .px-avatar::after { background: #a3a9bf; }
.px-online .px-online-item strong { font-size: 13px; color: var(--ink); display: block; }
.px-online .px-online-item small { font-size: 11.5px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
.px-dd-title { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 8px; }

/* ---------- Sidebar ---------- */
html body .main-menu.menu-dark,
html body .main-menu {
  background: var(--side-bg) !important; width: var(--side-w); top: var(--top-h) !important; height: calc(100% - var(--top-h)) !important;
  border-right: 0; box-shadow: none !important; font-family: var(--font);
}
html body .main-menu .main-menu-content { background: transparent; padding: 14px 12px 24px; height: 100%; overflow-y: auto; }
html body .main-menu .main-menu-content::-webkit-scrollbar { width: 6px; }
html body .main-menu .main-menu-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); border-radius: 6px; }
html body .main-menu.menu-dark .navigation { background: transparent !important; font-family: var(--font); }
html body .main-menu.menu-dark .navigation .navigation-header {
  color: rgba(255, 255, 255, .42) !important; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 18px 14px 8px; margin: 0; border: 0;
}
html body .main-menu.menu-dark .navigation .navigation-header span { font-family: var(--font); }
html body .main-menu.menu-dark .navigation > li { margin-bottom: 2px; }
html body .main-menu.menu-dark .navigation > li > a {
  color: rgba(255, 255, 255, .78) !important; padding: 10px 14px !important; border-radius: 12px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 12px; transition: background .2s, color .2s; border: 0 !important;
}
html body .main-menu.menu-dark .navigation > li > a > i {
  color: rgba(255, 255, 255, .6) !important; font-size: 1.2rem !important; width: 22px; margin: 0 !important; text-align: center; float: none !important; transition: color .2s;
}
html body .main-menu.menu-dark .navigation > li > a span { font-size: 14px; }
html body .main-menu.menu-dark .navigation > li > a:hover,
html body .main-menu.menu-dark .navigation > li.hover > a { background: rgba(255, 255, 255, .07) !important; color: #fff !important; padding-left: 14px !important; }
html body .main-menu.menu-dark .navigation > li > a:hover > i { color: #fff !important; }
html body .main-menu.menu-dark .navigation > li.active > a,
html body .main-menu.menu-dark .navigation > li.px-active > a {
  background: rgba(255, 255, 255, .1) !important; color: #fff !important; box-shadow: inset 3px 0 0 #f2627c;
}
html body .main-menu.menu-dark .navigation > li.active > a > i,
html body .main-menu.menu-dark .navigation > li.px-active > a > i { color: #fff !important; }
html body .main-menu.menu-dark .navigation > li.open > a,
html body .main-menu.menu-dark .navigation > li.has-sub.open > a { background: rgba(255, 255, 255, .07) !important; color: #fff !important; }
html body .main-menu.menu-dark .navigation > li.open > a > i { color: #fff !important; }

/* alt menü */
html body .main-menu.menu-dark .navigation > li > ul,
html body .main-menu.menu-dark .navigation .menu-content { background: transparent !important; padding: 4px 0 6px; margin: 0; }
html body .main-menu.menu-dark .navigation li .menu-content > li { margin: 1px 0; }
html body .main-menu.menu-dark .navigation li .menu-content > li > a {
  color: rgba(255, 255, 255, .62) !important; padding: 8px 12px 8px 48px !important; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  display: block; position: relative; background: transparent !important; transition: color .2s, background .2s;
}
html body .main-menu.menu-dark .navigation li .menu-content > li > a > i { display: none; }
html body .main-menu.menu-dark .navigation li .menu-content > li > a::before {
  content: "" !important; position: absolute; left: 25px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: rgba(255, 255, 255, .28); transition: .2s; font-family: inherit !important;
}
html body .main-menu.menu-dark .navigation li .menu-content > li > a:hover { color: #fff !important; background: rgba(255, 255, 255, .05) !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li.active > a,
html body .main-menu.menu-dark .navigation li .menu-content > li > a.active { color: #fff !important; background: rgba(255, 255, 255, .08) !important; font-weight: 700; }
html body .main-menu.menu-dark .navigation li .menu-content > li.active > a::before,
html body .main-menu.menu-dark .navigation li .menu-content > li > a.active::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
html body .main-menu.menu-dark .navigation li .menu-content > li.active { background: transparent !important; }

/* açılır ok */
html body .main-menu.menu-dark .navigation > li.has-sub > a::after,
html body .main-menu .navigation > li.has-sub > a:not(.mm-next)::after {
  color: rgba(255, 255, 255, .45); right: 14px; top: 50%; transform: translateY(-50%) rotate(0); font-size: .9rem; transition: transform .2s;
}
html body .main-menu.menu-dark .navigation > li.has-sub.open > a::after { transform: translateY(-50%) rotate(90deg); }

/* sidebar alt kart */
.px-side-card {
  margin: 18px 4px 4px; padding: 16px; border-radius: 16px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.px-side-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .04); filter: blur(10px); }
.px-side-card strong { display: block; color: #fff; font-size: 14px; position: relative; z-index: 1; }
.px-side-card p { color: rgba(255, 255, 255, .7); font-size: 12.5px; margin: 4px 0 12px; position: relative; z-index: 1; line-height: 1.45; }
.px-side-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy) !important; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.px-side-card a:hover { background: var(--accent-soft); }

/* içerik alanı */
html body.vertical-layout.vertical-menu-modern.menu-expanded .content,
html body.vertical-layout.vertical-menu-modern.menu-expanded .footer { margin-left: var(--side-w); }
html body.vertical-layout.vertical-menu-modern.menu-expanded .navbar .navbar-container { margin-left: var(--side-w); }
html body.vertical-layout.vertical-menu-modern.menu-expanded .main-menu { width: var(--side-w); }
html body.vertical-layout.vertical-menu-modern.menu-expanded .navbar .navbar-header { width: var(--side-w); }
html body.fixed-navbar { padding-top: var(--top-h); }
html body .app-content { min-height: calc(100vh - var(--top-h)); }

/* daraltılmış menü */
html body.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation > li > a { justify-content: center; padding: 12px 0 !important; }
html body.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .px-side-card,
html body.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation-header { display: none; }

/* ---------- Footer ---------- */
html body footer.footer { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 8px 28px 22px; }
.px-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; flex-wrap: wrap; }
.px-footer a { color: var(--muted); font-weight: 700; }
.px-footer a:hover { color: var(--navy); }

/* ---------- Kartlar ---------- */
html body .card {
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); margin-bottom: 24px; background: #fff;
}
html body .card .card-header {
  background: transparent; border-bottom: 1px solid var(--line); padding: 18px 22px; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
html body .card .card-header .card-title, html body .card .card-title { font-size: 16px; font-weight: 800; color: var(--navy); font-family: var(--font); margin: 0; }
html body .card .card-body { padding: 22px; }
html body .card .card-footer { background: var(--bg); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
html body .card.pull-up { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
html body .card.pull-up:hover { transform: translateY(-3px); box-shadow: var(--sh); }
html body .card .heading-elements { top: 16px; right: 18px; }

/* ---------- Butonlar ---------- */
html body .btn {
  font-family: var(--font); font-weight: 700; border-radius: 10px; padding: .6rem 1.15rem; font-size: 14px; letter-spacing: 0;
  transition: .2s var(--ease); box-shadow: none;
}
html body .btn-sm, html body .btn-group-sm > .btn { padding: .38rem .8rem; font-size: 13px; border-radius: 8px; }
html body .btn-lg { padding: .8rem 1.5rem; font-size: 15px; border-radius: 12px; }
html body .btn:focus, html body .btn.focus { box-shadow: 0 0 0 3px rgba(59, 79, 168, .18) !important; }
html body .btn-primary, html body .btn-info { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; }
html body .btn-primary:hover, html body .btn-info:hover { background: var(--navy-2) !important; border-color: var(--navy-2) !important; transform: translateY(-1px); }
html body .btn-danger { background: #fff !important; border: 1px solid #f3c9d2 !important; color: #c8143d !important; }
html body .btn-danger:hover { background: #fdf0f3 !important; border-color: #e8a3b2 !important; }
html body .btn-success { background: #1f8a55 !important; border-color: #1f8a55 !important; color: #fff !important; }
html body .btn-success:hover { filter: brightness(.94); transform: translateY(-1px); }
html body .btn-warning { background: #fff !important; border: 1px solid var(--line) !important; color: var(--navy) !important; }
html body .btn-warning:hover { border-color: var(--navy) !important; background: var(--soft) !important; }
html body .btn-secondary, html body .btn-light { background: #fff !important; border: 1px solid var(--line) !important; color: var(--navy) !important; }
html body .btn-secondary:hover, html body .btn-light:hover { border-color: var(--navy) !important; background: var(--soft) !important; }
html body [class*="btn-outline-"] { background: #fff; }
html body .btn-outline-primary, html body .btn-outline-info { color: var(--navy) !important; border-color: var(--line) !important; }
html body .btn-outline-primary:hover, html body .btn-outline-info:hover { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff !important; }
html body .btn-outline-danger { color: var(--red) !important; border-color: #f7c3cf !important; }
html body .btn-outline-danger:hover { background: var(--red) !important; color: #fff !important; }

/* ---------- Rozetler ---------- */
html body .badge { font-family: var(--font); font-weight: 700; font-size: 11.5px; padding: .38em .7em; border-radius: 999px; letter-spacing: .01em; }
html body .badge-primary, html body .badge-info { background: #e5eafc !important; color: var(--navy-2) !important; }
html body .badge-success { background: #e2f6ea !important; color: #10804a !important; }
html body .badge-danger { background: var(--red-soft) !important; color: var(--red) !important; }
html body .badge-warning { background: #fff4d6 !important; color: #9a6a00 !important; }
html body .badge-secondary, html body .badge-dark, html body .badge-light { background: var(--soft) !important; color: var(--muted) !important; }
html body button.badge, html body a.badge { border: 0; cursor: pointer; transition: .15s; }
html body button.badge:hover, html body a.badge:hover { filter: brightness(.95); transform: translateY(-1px); }

/* ---------- Tablolar ---------- */
html body .table { color: var(--ink); font-size: 14px; margin-bottom: 0; }
html body .table thead th, html body .table th {
  border-top: 0; border-bottom: 1px solid var(--line) !important; background: var(--bg); color: var(--muted);
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 12px 16px; white-space: nowrap;
}
html body .table tbody th { text-transform: none; letter-spacing: 0; font-size: 14px; background: transparent; color: var(--ink); font-weight: 700; }
html body .table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
html body .table tbody tr { transition: background .15s; }
html body .table-hover tbody tr:hover, html body .table tbody tr:hover { background: #fafbfe; }
html body .table-striped tbody tr:nth-of-type(odd) { background: #fbfcff; }
html body .table-bordered, html body .table-bordered td, html body .table-bordered th { border-color: var(--line) !important; }
html body .card .table-responsive { border-radius: 0 0 var(--r-lg) var(--r-lg); }
html body .card .card-body > .table-responsive:only-child { margin: -22px; width: calc(100% + 44px); }

/* ---------- Formlar ---------- */
html body .form-control, html body .custom-select, html body select.form-control {
  font-family: var(--font); border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 14px;
  padding: .6rem .9rem; height: auto; min-height: 42px; background-color: #fff; transition: border-color .2s, box-shadow .2s;
}
html body .form-control:focus, html body .custom-select:focus {
  border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(34, 56, 156, .1); outline: 0;
}
html body .form-control::placeholder { color: #9aa1b8; }
html body .form-control.is-invalid { border-color: var(--red); }
html body label, html body .col-form-label { font-weight: 700; color: var(--navy); font-size: 13.5px; }
html body .form-group { margin-bottom: 1.1rem; }
html body .input-group-text { background: var(--bg); border: 1.5px solid var(--line); color: var(--muted); border-radius: 10px; }
html body .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--accent); border-color: var(--accent); }
html body .select2-container--default .select2-selection--single,
html body .select2-container--default .select2-selection--multiple { border: 1.5px solid var(--line); border-radius: 10px; min-height: 42px; }

/* ---------- Diğer bileşenler ---------- */
html body .alert { border-radius: var(--r); border: 0; font-weight: 600; }
html body .alert-success { background: #e2f6ea; color: #10804a; }
html body .alert-danger { background: var(--red-soft); color: #b01338; }
html body .alert-info, html body .alert-primary { background: #e5eafc; color: var(--navy-2); }
html body .alert-warning { background: #fff4d6; color: #8a5f00; }
html body .modal-content { border: 0; border-radius: var(--r-lg); box-shadow: var(--sh); }
html body .modal-header { border-bottom: 1px solid var(--line); padding: 18px 22px; }
html body .modal-footer { border-top: 1px solid var(--line); }
html body .nav-tabs { border-bottom: 1px solid var(--line); }
html body .nav-tabs .nav-link { border: 0; color: var(--muted); font-weight: 700; padding: 10px 16px; border-bottom: 2px solid transparent; }
html body .nav-tabs .nav-link.active, html body .nav-tabs .nav-link:hover { color: var(--navy); border-bottom-color: var(--accent); background: transparent; }
html body .nav-pills .nav-link { border-radius: 10px; font-weight: 700; color: var(--muted); }
html body .nav-pills .nav-link.active { background: var(--navy); color: #fff; }
html body .pagination { gap: 6px; flex-wrap: wrap; }
html body .page-item .page-link { border: 1px solid var(--line); border-radius: 10px !important; color: var(--navy); font-weight: 700; min-width: 38px; text-align: center; margin: 0; }
html body .page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }
html body .page-item .page-link:hover { background: var(--soft); }
html body .breadcrumb { background: transparent; padding: 0; font-size: 13px; }
html body .breadcrumb-item a { color: var(--muted); font-weight: 600; }
html body .breadcrumb-item.active { color: var(--navy); font-weight: 700; }
html body .content-header-title { font-weight: 800; color: var(--navy); }
html body .progress { border-radius: 999px; background: var(--soft); }
html body .progress-bar { background: var(--accent); }
html body .list-group-item { border-color: var(--line); }

/* tema renk yardımcıları — EduX paletine eşle */
html body .primary, html body .text-primary, html body .info, html body .text-info { color: var(--navy-3) !important; }
html body .danger, html body .text-danger { color: #c8143d !important; }
html body .success, html body .text-success { color: var(--green) !important; }
html body .warning, html body .text-warning { color: #c98f00 !important; }
html body .bg-primary, html body .bg-info { background-color: var(--navy) !important; }
html body .bg-danger { background-color: #c8143d !important; }

/* ---------- Dashboard ---------- */
.px-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 26px 28px; margin-bottom: 24px; color: var(--ink);
  background: linear-gradient(120deg, #fff 0%, #f3f5fb 100%); border: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: var(--sh-sm);
}
.px-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(12, 27, 77, .07) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.px-hero > * { position: relative; z-index: 1; }
.px-hero .px-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; }
.px-hero h2 { color: var(--navy); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin: 12px 0 6px; }
.px-hero p { color: var(--muted); margin: 0; font-size: 14.5px; max-width: 520px; }
.px-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.px-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: .2s var(--ease); border: 0; }
.px-btn-red { background: var(--navy); color: #fff !important; box-shadow: 0 8px 20px -12px rgba(12, 27, 77, .6); }
.px-btn-red:hover { background: var(--navy-2); transform: translateY(-1px); }
.px-btn-glass { background: #fff; color: var(--navy) !important; border: 1px solid var(--line); }
.px-btn-glass:hover { border-color: var(--navy); background: var(--soft); }

.px-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 24px; }
.px-stat {
  display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--sh-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); color: inherit !important;
}
.px-stat:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.px-stat .px-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex: none; }
.px-stat .px-ico.navy { background: var(--accent-soft); color: var(--accent); }
.px-stat .px-ico.red { background: #f6eef0; color: #a8475a; }
.px-stat .px-ico.green { background: #ebf4ef; color: #3f7d5c; }
.px-stat .px-ico.gold { background: #f7f2e6; color: #93732f; }
.px-stat .px-ico.violet { background: #f0eef8; color: #5f5596; }
.px-stat .px-num { font-size: 26px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.px-stat .px-lbl { font-size: 13px; color: var(--muted); font-weight: 600; }

.px-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.px-grid > * { min-width: 0; }
@media (max-width: 1199.98px) { .px-grid { grid-template-columns: 1fr; } }

.px-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-sm); margin-bottom: 24px; overflow: hidden; }
.px-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.px-card-head h4 { font-size: 16px; font-weight: 800; margin: 0; color: var(--navy); }
.px-card-head h4 small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.px-link { font-size: 13px; font-weight: 700; color: var(--accent) !important; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.px-link:hover { gap: 9px; }
.px-card-body { padding: 18px 22px; }
.px-card .table th { background: var(--bg); }
.px-card .table td, .px-card .table th { padding-left: 22px; padding-right: 22px; }

.px-person { display: flex; align-items: center; gap: 12px; }
.px-person .px-avatar { width: 36px; height: 36px; font-size: 12.5px; }
.px-person strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }
.px-person small { display: block; color: var(--muted); font-size: 12.5px; }
.px-person a:hover strong { color: var(--accent); }
.px-muted { color: var(--muted); font-size: 13px; }

.px-types { display: flex; flex-direction: column; }
.px-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 22px; border-top: 1px solid var(--line); color: var(--ink) !important; font-weight: 600; font-size: 14px; transition: background .15s; }
.px-type:first-child { border-top: 0; }
.px-type:hover { background: var(--bg); }
.px-type .px-type-name { display: flex; align-items: center; gap: 10px; }
.px-type .px-type-name i { width: 30px; height: 30px; border-radius: 9px; background: var(--soft); color: var(--navy-3); display: grid; place-items: center; font-size: 15px; }
.px-type .px-count { background: var(--soft); color: var(--navy); font-weight: 800; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }

.px-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 22px; }
.px-quick a { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); color: var(--navy) !important; font-weight: 700; font-size: 13.5px; transition: .2s var(--ease); }
.px-quick a i { font-size: 20px; color: var(--accent); }
.px-quick a:hover { border-color: var(--navy); background: var(--soft); transform: translateY(-2px); }

.px-msg { display: flex; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); }
.px-msg:first-child { border-top: 0; }
.px-msg .px-msg-body { flex: 1; min-width: 0; }
.px-msg .px-msg-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.px-msg .px-msg-top strong { font-size: 14px; color: var(--ink); }
.px-msg .px-msg-title { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-top: 2px; }
.px-msg p { font-size: 13px; color: var(--muted); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.px-msg .px-msg-actions { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.px-msg .px-msg-actions form { margin: 0; }
.px-chip-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--navy) !important; cursor: pointer; }
.px-chip-btn:hover { border-color: var(--navy); background: var(--soft); }
.px-chip-btn.danger { color: #b3364f !important; }
.px-chip-btn.danger:hover { border-color: #e8a3b2; background: #fdf0f3; }

.px-empty { padding: 34px 22px; text-align: center; color: var(--muted); font-size: 14px; }
.px-empty i { display: block; font-size: 34px; color: #c3c8da; margin-bottom: 8px; }

/* ---------- Giriş / Kayıt ---------- */
body.px-auth { background: var(--bg) !important; min-height: 100vh; }
body.px-auth .app-content, body.px-auth .content-wrapper, body.px-auth .content-body { padding: 0 !important; margin: 0 !important; }
.px-auth-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.px-auth-art {
  position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, rgba(12, 27, 77, .92), rgba(22, 41, 122, .86)), var(--px-auth-bg, none) center / cover no-repeat, var(--navy);
}
.px-auth-art::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(120, 140, 230, .25); filter: blur(60px); }
.px-auth-art > * { position: relative; z-index: 1; }
.px-auth-art .px-auth-logo img { max-height: 46px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; }
.px-auth-art h1 { color: #fff; font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; line-height: 1.08; margin: 0 0 14px; text-transform: uppercase; letter-spacing: -.02em; }
.px-auth-art h1 span { color: #aebcf5; }
.px-auth-art p { color: rgba(255, 255, 255, .75); font-size: 16px; max-width: 440px; margin: 0; }
.px-auth-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.px-auth-feats div { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.px-auth-feats i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; font-size: 16px; }
.px-auth-art small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.px-auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.px-auth-box { width: 100%; max-width: 420px; }
.px-auth-box .px-auth-mobile-logo { display: none; margin-bottom: 26px; }
.px-auth-box .px-auth-mobile-logo img { max-height: 44px; width: auto; }
.px-auth-box h2 { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.px-auth-box .px-sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.px-field { margin-bottom: 16px; }
.px-field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.px-input { position: relative; }
.px-input > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #9aa1b8; font-size: 18px; pointer-events: none; transition: color .2s; }
.px-input .form-control { padding-left: 42px !important; min-height: 48px; border-radius: 12px; background: #fff; }
.px-input:focus-within > i { color: var(--navy-3); }
.px-input .px-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #9aa1b8; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.px-input .px-eye:hover { color: var(--navy); background: var(--soft); }
.px-auth-row { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; font-size: 13.5px; }
.px-auth-row label { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--muted); margin: 0; cursor: pointer; }
.px-auth-row input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); }
.px-auth-row a { font-weight: 700; color: var(--accent); }
.px-submit { width: 100%; justify-content: center; padding: 14px 18px; font-size: 15px; border-radius: 12px; }
.px-auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }
.px-auth-alt a { font-weight: 800; color: var(--navy); }
.px-auth-alt a:hover { color: var(--accent); }
.px-err { display: block; color: #c8143d; font-size: 12.5px; font-weight: 700; margin-top: 6px; }
.px-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 28px; }
@media (max-width: 991.98px) {
  .px-auth-wrap { grid-template-columns: 1fr; }
  .px-auth-art { display: none; }
  .px-auth-box .px-auth-mobile-logo { display: block; }
}

/* ---------- Mobil ---------- */
@media (max-width: 767.98px) {
  html body .content .content-wrapper { padding: 18px 14px 8px; }
  html body .header-navbar .navbar-header { width: 100%; }
  html body .header-navbar .navbar-container { background: #fff !important; }
  html body .main-menu { top: var(--top-h) !important; }
  html body.vertical-layout.vertical-menu-modern .content,
  html body.vertical-layout.vertical-menu-modern .footer,
  html body.vertical-layout.vertical-menu-modern .navbar .navbar-container { margin-left: 0 !important; }
  .px-title, .px-user .px-user-meta { display: none; }
  .px-hero { padding: 22px; }
  .px-quick { grid-template-columns: 1fr 1fr; }
  html body footer.footer { padding: 8px 14px 18px; }
}

/* ---------- Tema fontu (Quicksand) temizliği + ikon boyutları ---------- */
html body .header-navbar, html body .breadcrumb, html body .navigation, html body .navigation .navigation-header,
html body .dropdown-menu, html body .modal, html body .popover, html body .tooltip { font-family: var(--font) !important; }
html body .px-stat .px-ico i { font-size: 24px !important; }
html body .px-icon-btn i, html body .px-icon-btn .la { font-size: 19px !important; }
html body .px-quick a i { font-size: 22px !important; }
html body .px-type .px-type-name i { font-size: 16px !important; }
html body .px-empty i { font-size: 36px !important; }
html body .px-auth-feats i, html body .px-input > i { font-size: 18px !important; }
html body .main-menu.menu-dark .navigation > li > a > i { font-size: 19px !important; }
html body .main-menu .ps__rail-y, html body .main-menu .ps__rail-x { opacity: 0 !important; }
html body .main-menu .main-menu-content { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
html body .px-card .table td.px-muted { white-space: nowrap; }
html body .content-body a:not(.btn):not(.badge):not(.px-btn):not(.px-chip-btn):not(.px-link):not(.px-stat):not(.dropdown-item):not(.page-link):not(.nav-link) { color: var(--navy-3); }
html body .content-body a:not(.btn):not(.badge):not(.px-btn):not(.px-chip-btn):not(.px-link):not(.px-stat):not(.dropdown-item):not(.page-link):not(.nav-link):hover { color: var(--accent); }
html body .content-body .table td a:not(.btn):not(.badge):not(.px-chip-btn) { font-weight: 700; }

/* =========================================================
   İç sayfa bileşenleri
   ========================================================= */
.px-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.px-page-head h1 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -.02em; }
.px-page-head p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.px-crumbs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.px-crumbs a { color: var(--muted) !important; }
.px-crumbs a:hover { color: var(--navy) !important; }
.px-crumbs .sep { opacity: .5; }
.px-page-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* butonlar (sayfa içi) */
.px-btn-sm { padding: 8px 14px; font-size: 13px; }
.px-btn-ghost { background: #fff; color: var(--navy) !important; border: 1px solid var(--line); }
.px-btn-ghost:hover { border-color: var(--navy); background: var(--soft); }
.px-btn-danger { background: #fff; color: #b3364f !important; border: 1px solid #f3c9d2; }
.px-btn-danger:hover { background: #fdf0f3; border-color: #e8a3b2; }
.px-btn i { font-size: 16px !important; }

/* filtre çubuğu */
.px-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #fcfcfe; }
.px-filter .px-f { display: flex; flex-direction: column; gap: 5px; flex: 1 1 160px; min-width: 140px; }
.px-filter .px-f.grow { flex: 2 1 240px; }
.px-filter label { font-size: 11.5px !important; font-weight: 800 !important; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) !important; margin: 0; }
.px-filter .form-control { min-height: 40px; padding: .45rem .8rem; }
.px-filter .px-f-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.px-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600 !important; color: var(--ink) !important; cursor: pointer; margin: 0; text-transform: none !important; letter-spacing: 0 !important; min-height: 40px; }
.px-check input { width: 16px; height: 16px; accent-color: var(--accent); margin: 0; }
.px-search { position: relative; }
.px-search > i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9aa1b8; font-size: 17px !important; pointer-events: none; }
.px-search .form-control { padding-left: 36px !important; }

/* satır işlemleri */
.px-actions { display: inline-flex; gap: 6px; align-items: center; justify-content: flex-end; }
.px-actions form { margin: 0; display: inline-flex; }
.px-act { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--navy) !important; transition: .15s; padding: 0; cursor: pointer; }
.px-act i { font-size: 16px !important; }
.px-act:hover { border-color: var(--navy); background: var(--soft); }
.px-act.danger { color: #b3364f !important; }
.px-act.danger:hover { border-color: #e8a3b2; background: #fdf0f3; }
.px-act.success { color: #2f7a52 !important; }
.px-act.success:hover { border-color: #a9d6bd; background: #eef7f2; }

/* tablo yardımcıları */
.px-card .table td.px-num-cell, .px-id { color: var(--muted); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.px-card .table .px-col-check { width: 44px; }
.px-card .table input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); vertical-align: middle; }
.px-thumb { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); background: var(--soft); }
.px-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 420px; color: var(--muted); font-size: 13.5px; }
.px-warn { color: #b7791f; font-size: 15px !important; margin-left: 4px; vertical-align: -1px; }
.px-status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.px-status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a3a9bf; }
.px-status-dot.on { color: #2f7a52; }
.px-status-dot.on::before { background: #3aa76d; }

/* tablo altı: toplu işlem + sayfalama */
.px-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); background: #fcfcfe; }
.px-card-foot .pagination { margin: 0; }
.px-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.px-bulk .form-control { min-height: 38px; padding: .4rem .8rem; width: auto; }
.px-count-pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: 12.5px; font-weight: 800; margin-left: 6px; vertical-align: 2px; }

/* form bölümleri */
.px-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.px-form-grid .full { grid-column: 1 / -1; }
@media (max-width: 767.98px) { .px-form-grid { grid-template-columns: 1fr; } }
.px-section-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 6px 0 14px; display: flex; align-items: center; gap: 8px; }
.px-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.px-help { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.px-form-actions { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--line); background: #fcfcfe; flex-wrap: wrap; }
.px-sticky { position: sticky; top: calc(var(--top-h) + 16px); }

/* bilgi listeleri (detay sayfaları) */
.px-dl { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 0; margin: 0; }
.px-dl dt, .px-dl dd { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; font-size: 14px; }
.px-dl dt { color: var(--muted); font-weight: 600; padding-right: 12px; }
.px-dl dd { color: var(--ink); font-weight: 600; word-break: break-word; }
.px-dl dt:first-of-type, .px-dl dt:first-of-type + dd { border-top: 0; }
.px-profile { display: flex; gap: 16px; align-items: center; }
.px-profile .px-avatar { width: 60px; height: 60px; font-size: 20px; }
.px-profile h3 { font-size: 19px; font-weight: 800; margin: 0; }
.px-profile p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.px-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.px-file > i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 18px !important; flex: none; }
.px-file .px-file-name { flex: 1; min-width: 0; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.px-file .px-file-name small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.px-file.missing > i { background: var(--soft); color: #a3a9bf; }
.px-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.px-steps li { position: relative; padding: 0 0 18px 30px; font-size: 14px; }
.px-steps li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.px-steps li:last-child::before { display: none; }
.px-steps li .px-step-dot { position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.px-steps li.done .px-step-dot { background: var(--accent); border-color: var(--accent); }
.px-steps li.current .px-step-dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.px-steps li strong { display: block; color: var(--ink); }
.px-steps li small { color: var(--muted); }
html body .px-card .table td { white-space: nowrap; }
html body .px-card .table td .px-clamp, html body .px-card .table td.px-wrap { white-space: normal; min-width: 220px; }
html body .main-menu.menu-dark .navigation > li.active, html body .main-menu.menu-dark .navigation > li.active > a { border: 0 !important; outline: 0; }
html body .main-menu.menu-dark .navigation > li.active > a { box-shadow: none !important; position: relative; }
html body .main-menu.menu-dark .navigation > li.active > a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: #f2627c; }
html body .nav-pills .px-chip-btn.active, html body .nav .px-chip-btn.active { background: var(--navy); border-color: var(--navy); color: #fff !important; }

/* =========================================================
   NÖTR PALET (v5) — açık sidebar, kırmızı yok, tek soluk vurgu
   Bu blok yukarıdaki renkleri ezer.
   ========================================================= */
:root {
  --navy: #1f2a3d;
  --navy-2: #2b3850;
  --navy-3: #44506a;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e7e9ee;
  --bg: #f6f7f9;
  --soft: #f1f2f5;
  --accent: #4b5875;
  --accent-soft: #eef0f4;
  --side-bg: #ffffff;
  --sh: 0 12px 30px -20px rgba(17, 24, 39, .18);
  --sh-sm: 0 1px 2px rgba(17, 24, 39, .04);
}
html body, html body.vertical-layout { background: var(--bg) !important; }

/* sidebar + marka alanı açık */
html body .main-menu, html body .main-menu.menu-dark { background: #fff !important; border-right: 1px solid var(--line) !important; }
html body .header-navbar .navbar-header { background: #fff !important; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
html body .header-navbar .navbar-header .navbar-brand .brand-logo { background: transparent; padding: 0; border-radius: 0; }
html body .header-navbar .navbar-header .navbar-brand .brand-text { color: var(--navy) !important; }
html body .header-navbar .navbar-header .nav-link, html body .header-navbar .navbar-header .nav-link i { color: var(--navy) !important; }
html body .main-menu .main-menu-content::-webkit-scrollbar-thumb { background: #dfe2e8; }
html body .main-menu .main-menu-content { scrollbar-color: #dfe2e8 transparent; }
html body .main-menu.menu-dark .navigation .navigation-header { color: #9aa0ab !important; }
html body .main-menu.menu-dark .navigation > li > a { color: #4b5563 !important; }
html body .main-menu.menu-dark .navigation > li > a > i { color: #9aa0ab !important; }
html body .main-menu.menu-dark .navigation > li > a:hover,
html body .main-menu.menu-dark .navigation > li.hover > a,
html body .main-menu.menu-dark .navigation > li.open > a,
html body .main-menu.menu-dark .navigation > li.has-sub.open > a { background: var(--soft) !important; color: var(--ink) !important; }
html body .main-menu.menu-dark .navigation > li > a:hover > i,
html body .main-menu.menu-dark .navigation > li.open > a > i { color: var(--ink) !important; }
html body .main-menu.menu-dark .navigation > li.active > a,
html body .main-menu.menu-dark .navigation > li.px-active > a { background: var(--accent-soft) !important; color: var(--navy) !important; font-weight: 700; }
html body .main-menu.menu-dark .navigation > li.active > a > i { color: var(--navy) !important; }
html body .main-menu.menu-dark .navigation > li.active > a::before { background: var(--accent); }
html body .main-menu.menu-dark .navigation li .menu-content > li > a { color: #6b7280 !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li > a::before { background: #cfd3db; }
html body .main-menu.menu-dark .navigation li .menu-content > li > a:hover { color: var(--ink) !important; background: var(--soft) !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li.active > a,
html body .main-menu.menu-dark .navigation li .menu-content > li > a.active { color: var(--navy) !important; background: var(--accent-soft) !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li.active > a::before,
html body .main-menu.menu-dark .navigation li .menu-content > li > a.active::before { background: var(--accent); box-shadow: none; }
html body .main-menu.menu-dark .navigation > li.has-sub > a::after, html body .main-menu .navigation > li.has-sub > a:not(.mm-next)::after { color: #9aa0ab; }
.px-side-card { background: var(--soft); border: 1px solid var(--line); }
.px-side-card::after { display: none; }
.px-side-card strong { color: var(--ink); }
.px-side-card p { color: var(--muted); }
.px-side-card a { background: #fff; border: 1px solid var(--line); color: var(--navy) !important; }
.px-side-card a:hover { background: #fff; border-color: var(--navy); }

/* üst bar */
html body .header-navbar, html body .header-navbar.navbar-semi-dark { background: #fff !important; }
.px-icon-btn .px-dot { background: #6b7280; }
.px-icon-btn .px-dot.green { background: #6b8f7a; }
.px-online .px-online-item .px-avatar::after { background: #6b8f7a; }

/* butonlar */
html body .btn-primary, html body .btn-info, .px-btn-red { background: var(--navy) !important; border-color: var(--navy) !important; box-shadow: none !important; }
html body .btn-primary:hover, html body .btn-info:hover, .px-btn-red:hover { background: var(--navy-2) !important; transform: none; }
html body .btn-success { background: var(--navy) !important; border-color: var(--navy) !important; }
html body .btn-danger, .px-btn-danger, .px-act.danger, .px-chip-btn.danger { color: #8f4452 !important; border-color: var(--line) !important; background: #fff !important; }
html body .btn-danger:hover, .px-btn-danger:hover, .px-act.danger:hover, .px-chip-btn.danger:hover { background: #f8f1f2 !important; border-color: #dcc3c8 !important; }
.px-act.success { color: #4f6f5d !important; }
html body .btn:focus, html body .btn.focus { box-shadow: 0 0 0 3px rgba(75, 88, 117, .15) !important; }
html body .form-control:focus, html body .custom-select:focus { border-color: #9aa3b5; box-shadow: 0 0 0 3px rgba(75, 88, 117, .1); }

/* rozetler: hepsi soluk */
html body .badge-primary, html body .badge-info { background: #eef0f4 !important; color: #3b4659 !important; }
html body .badge-success { background: #edf3ef !important; color: #436652 !important; }
html body .badge-warning { background: #f5f1e8 !important; color: #725d33 !important; }
html body .badge-danger { background: #f6eeef !important; color: #8a4250 !important; }
html body .badge-secondary, html body .badge-dark, html body .badge-light { background: #f1f2f5 !important; color: #5b6170 !important; }

/* uyarılar */
html body .alert-success { background: #edf3ef; color: #436652; }
html body .alert-danger { background: #f6eeef; color: #8a4250; }
html body .alert-warning { background: #f5f1e8 !important; color: #725d33 !important; }
html body .alert-info, html body .alert-primary { background: #eef0f4; color: #3b4659; }

/* metin renk yardımcıları */
html body .primary, html body .text-primary, html body .info, html body .text-info { color: var(--accent) !important; }
html body .danger, html body .text-danger { color: #8a4250 !important; }
html body .success, html body .text-success { color: #436652 !important; }
html body .warning, html body .text-warning, .px-warn { color: #a08550 !important; }
html body .bg-danger { background-color: #8a4250 !important; }
html body .bg-success { background-color: #436652 !important; }

/* özet sayfaları */
.px-hero { background: #fff; }
.px-hero::before { display: none; }
.px-hero .px-eyebrow { background: var(--soft); color: var(--muted); }
.px-stat .px-ico.navy, .px-stat .px-ico.red, .px-stat .px-ico.green,
.px-stat .px-ico.gold, .px-stat .px-ico.violet { background: var(--soft); color: var(--accent); }
.px-link, .px-quick a i { color: var(--accent) !important; }
.px-avatar { background: var(--soft); color: var(--navy-3); }
.px-status-dot.on { color: #436652; }
.px-status-dot.on::before { background: #6b8f7a; }
html body .main-menu.menu-dark .navigation > li.active > a::before { width: 3px; }
html body .custom-control-input:checked ~ .custom-control-label::before { background-color: var(--accent); border-color: var(--accent); }
html body .progress-bar { background: var(--accent); }

/* giriş ekranı */
.px-auth-art { background: linear-gradient(160deg, rgba(31, 42, 61, .9), rgba(43, 56, 80, .86)), var(--px-auth-bg, none) center / cover no-repeat, var(--navy); }
.px-auth-art::after { display: none; }
.px-auth-art h1 span { color: #d6dbe6; }
.px-err { color: #8a4250; }
html body .px-stat .px-ico, html body .px-stat .px-ico i { color: var(--accent) !important; background-color: var(--soft); }
html body .px-stat .px-ico i { background: transparent; }
.px-lang { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--navy); }

/* =========================================================
   ORTA TON (v7) — koyu ama yumuşak (grimsi) sidebar
   ========================================================= */
:root { --side-bg: #2a3243; --side-hover: rgba(255, 255, 255, .06); --side-active: rgba(255, 255, 255, .11); }
html body .main-menu, html body .main-menu.menu-dark { background: var(--side-bg) !important; border-right: 0 !important; }
html body .header-navbar .navbar-header { background: var(--side-bg) !important; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
html body .header-navbar .navbar-header .navbar-brand .brand-logo { background: #fff; padding: 4px 6px; border-radius: 8px; }
html body .header-navbar .navbar-header .navbar-brand .brand-text { color: #fff !important; }
html body .header-navbar .navbar-header .nav-link, html body .header-navbar .navbar-header .nav-link i { color: #fff !important; }
html body .main-menu .main-menu-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); }
html body .main-menu .main-menu-content { scrollbar-color: rgba(255, 255, 255, .12) transparent; }
html body .main-menu.menu-dark .navigation .navigation-header { color: rgba(255, 255, 255, .38) !important; }
html body .main-menu.menu-dark .navigation > li > a { color: rgba(255, 255, 255, .72) !important; }
html body .main-menu.menu-dark .navigation > li > a > i { color: rgba(255, 255, 255, .5) !important; }
html body .main-menu.menu-dark .navigation > li > a:hover,
html body .main-menu.menu-dark .navigation > li.hover > a,
html body .main-menu.menu-dark .navigation > li.open > a,
html body .main-menu.menu-dark .navigation > li.has-sub.open > a { background: var(--side-hover) !important; color: #fff !important; }
html body .main-menu.menu-dark .navigation > li > a:hover > i,
html body .main-menu.menu-dark .navigation > li.open > a > i { color: #fff !important; }
html body .main-menu.menu-dark .navigation > li.active > a,
html body .main-menu.menu-dark .navigation > li.px-active > a { background: var(--side-active) !important; color: #fff !important; }
html body .main-menu.menu-dark .navigation > li.active > a > i { color: #fff !important; }
html body .main-menu.menu-dark .navigation > li.active > a::before { background: #aab4cc; }
html body .main-menu.menu-dark .navigation li .menu-content > li > a { color: rgba(255, 255, 255, .58) !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li > a::before { background: rgba(255, 255, 255, .25); }
html body .main-menu.menu-dark .navigation li .menu-content > li > a:hover { color: #fff !important; background: var(--side-hover) !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li.active > a,
html body .main-menu.menu-dark .navigation li .menu-content > li > a.active { color: #fff !important; background: var(--side-active) !important; }
html body .main-menu.menu-dark .navigation li .menu-content > li.active > a::before,
html body .main-menu.menu-dark .navigation li .menu-content > li > a.active::before { background: #fff; }
html body .main-menu.menu-dark .navigation > li.has-sub > a::after, html body .main-menu .navigation > li.has-sub > a:not(.mm-next)::after { color: rgba(255, 255, 255, .4); }
.px-side-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.px-side-card strong { color: #fff; }
.px-side-card p { color: rgba(255, 255, 255, .62); }
.px-side-card a { background: #fff; border: 0; color: var(--navy) !important; }
.px-side-card a:hover { background: #e9ecf2; }

/* istatistik ikonlarına hafif soluk renk */
html body .px-stat .px-ico.red, html body .px-stat .px-ico.red i { background-color: #f4eef0; color: #93606b !important; }
html body .px-stat .px-ico.navy, html body .px-stat .px-ico.navy i { background-color: #eceff5; color: #4b5875 !important; }
html body .px-stat .px-ico.gold, html body .px-stat .px-ico.gold i { background-color: #f4f1ea; color: #8a7346 !important; }
html body .px-stat .px-ico.green, html body .px-stat .px-ico.green i { background-color: #edf2ef; color: #557563 !important; }
html body .px-stat .px-ico.violet, html body .px-stat .px-ico.violet i { background-color: #f0eff5; color: #66608a !important; }
html body .px-stat .px-ico i { background: transparent !important; }

/* =========================================================
   Başvuru formu (/applications)
   ========================================================= */
body.px-apply-body { background: var(--bg) !important; }
.px-apply-top { position: sticky; top: 0; z-index: 20; padding: 12px 20px; }
.px-apply-bar { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border: 1px solid rgba(230,232,240,.9); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 6px 20px -12px rgba(17,24,39,.18); }
.px-apply-nav { display: flex; align-items: center; gap: 4px; }
.px-apply-link { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--navy) !important; text-decoration: none !important; transition: .2s; }
.px-apply-link i { font-size: 18px; }
.px-apply-link:hover { background: var(--soft); color: var(--red) !important; }
.px-apply-user { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 5px; margin-left: 4px; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 14px; color: var(--navy); }
.px-apply-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; }
.px-apply-uname { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-apply-logout { margin: 0; }
.px-apply-logout button { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: transparent; color: var(--navy); font-size: 19px; cursor: pointer; transition: .2s; }
.px-apply-logout button:hover { background: #ffe8ee; color: var(--red); }
.px-apply-cta { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--red); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none !important; }
.px-apply-cta:hover { background: #c8143d; }
@media (max-width: 767.98px) {
  .px-apply-top { padding: 10px 12px; }
  .px-apply-bar { padding: 6px 6px 6px 14px; }
  .px-apply-logo img { height: 28px !important; }
  .px-apply-link { padding: 0; width: 40px; height: 40px; justify-content: center; }
  .px-apply-link span, .px-apply-uname { display: none; }
  .px-apply-user { padding: 0; background: transparent; margin-left: 0; height: 40px; }
  .px-apply-logout button { width: 40px; height: 40px; }
}
.px-apply-logo img { max-height: 36px; width: auto; }
.px-apply { max-width: 860px; margin: 0 auto; padding: 32px 20px 60px; }
.px-apply-head { margin-bottom: 22px; }
.px-apply-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--soft); padding: 5px 12px; border-radius: 999px; }
.px-apply-head h1 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--navy); margin: 12px 0 6px; }
.px-apply-head p { color: var(--muted); font-size: 15px; margin: 0; max-width: 560px; }
.px-apply .step { display: none; }
.px-apply .step.active { display: block; }
.px-apply .px-card-body { padding: 22px; }

.px-stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0 0 10px; }
.px-stepper li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: .2s; }
.px-stepper-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--soft); color: var(--muted); flex: none; transition: .2s; }
.px-stepper strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.px-stepper small { display: block; font-size: 12px; color: var(--muted); }
.px-stepper li.current { border-color: #c9cfdb; box-shadow: var(--sh-sm); }
.px-stepper li.current .px-stepper-num { background: var(--navy); color: #fff; }
.px-stepper li.done .px-stepper-num { background: var(--accent-soft); color: var(--accent); font-size: 0; }
.px-stepper li.done .px-stepper-num::before { content: "✓"; font-size: 15px; }
.px-apply-progress { height: 4px; background: var(--soft); border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.px-apply-progress > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .35s var(--ease); }

.px-choice { display: flex; gap: 10px; flex-wrap: wrap; }
.px-choice-item { display: inline-flex !important; align-items: center; gap: 10px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600 !important; color: var(--ink) !important; background: #fff; transition: .15s; margin: 0; }
.px-choice-item input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.px-choice-item:has(input:checked) { border-color: var(--navy); background: var(--accent-soft); }

.px-upload { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px dashed #d3d7e0; border-radius: 12px; background: #fcfcfd; cursor: pointer; margin: 0; transition: .15s; font-weight: 400 !important; }
.px-upload:hover { border-color: #aab2c2; background: #fff; }
.px-upload > i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--accent); font-size: 19px !important; flex: none; }
.px-upload-text { flex: 1; min-width: 0; }
.px-upload-text strong { display: block; font-size: 14px; color: var(--ink); }
.px-upload-text small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-upload-btn { font-size: 12.5px; font-weight: 700; color: var(--navy); border: 1px solid var(--line); background: #fff; padding: 5px 12px; border-radius: 8px; }
.px-upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.px-upload.has-file { border-style: solid; border-color: #b9c7bf; background: #f5f9f6; }
.px-upload.has-file > i { background: #e6f0ea; color: #4f6f5d; }
.px-upload.has-file .px-upload-text small { color: #4f6f5d; font-weight: 600; }

.px-apply .select2-container--default .select2-selection--single { height: 44px; display: flex; align-items: center; }
.px-apply .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
@media (max-width: 640px) {
  .px-stepper li { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; }
  .px-stepper small { display: none; }
  .px-apply { padding: 22px 14px 40px; }
  .px-apply .px-form-actions { padding: 14px; }
}
.px-apply-logo { display: inline-flex; align-items: center; }
.px-apply-logo img { display: block; height: 34px; width: auto; max-width: 180px; }
.px-stepper-num b { font-weight: 800; }
.px-stepper li.done .px-stepper-num b { display: none; }
.px-stepper li.done .px-stepper-num { font-size: 15px; }
html body .px-apply .alert-info { background: #eef0f4 !important; color: #3b4659 !important; border: 0; }
.px-auth-art .px-auth-logo img, .px-auth-box .px-auth-mobile-logo img { display: block; height: 44px; width: auto; }

/* doğrulama ekranı */
.px-verify-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--soft); color: var(--accent); margin-bottom: 18px; }
.px-verify-icon i { font-size: 28px !important; }
.px-verify-note { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.px-verify-note p { margin: 0; }
body.px-auth .alert-success { background: #edf3ef !important; color: #436652 !important; border: 0; }
