body {
  font-size: 15px;
}

.brand-link,
.main-header {
  letter-spacing: 0;
}

.brand-link .brand-text {
  display: none;
}

.brand-link .brand-image {
  margin-right: 0;
  max-width: 100%;
  max-height: 34px;
  width: auto;
  height: auto;
  opacity: 1 !important;
  box-shadow: none !important;
  background: none !important;
  border-radius: 0 !important;
}

.login-logo img {
  max-width: 100%;
  height: auto;
}

.nav-header {
  font-weight: 800;
  letter-spacing: .04em;
}

.nav-sidebar .kostu-admin-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 14px 10px 5px;
  padding: 11px 10px 8px;
  border-top: 1px solid #dfe8ed;
  white-space: normal;
}

.nav-sidebar .kostu-admin-group:first-of-type {
  margin-top: 4px;
  border-top: 0;
}

.kostu-admin-group-title {
  color: #0d7f3a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .065em;
}

.kostu-admin-group-description {
  color: #82909a;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.nav-sidebar .kostu-admin-group ~ .nav-item > .nav-link {
  min-height: 39px;
  margin: 1px 8px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #29485a;
}

.nav-sidebar .nav-link.active {
  background: #e8f7ee !important;
  color: #087532 !important;
  box-shadow: none !important;
  font-weight: 800;
}

.nav-sidebar .nav-link:hover {
  background: #f2f7f4;
  color: #087532;
}

.kostu-cikis-buton {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-right: 6px;
  border: 0;
  background: transparent;
  color: #a52323 !important;
  font-weight: 800;
  cursor: pointer;
}

.kostu-cikis-buton:hover,
.kostu-cikis-buton:focus {
  border-radius: 8px;
  background: #fff0f0 !important;
  color: #821b1b !important;
}

@media (max-width: 575.98px) {
  .kostu-cikis-buton span { display: none; }
  .kostu-cikis-buton { margin-right: 0; padding-inline: 12px !important; }
}

.content-header h1 {
  font-weight: 800;
  color: #023b58;
}

.card,
.module,
.inline-group {
  border: 1px solid #e1e8ed;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(2, 59, 88, .06);
}

.card-header,
.module h2,
.inline-group h2 {
  border-radius: 14px 14px 0 0;
  background: #f6faf8;
  color: #023b58;
  font-weight: 800;
}

.form-row,
.form-group {
  padding-top: 14px;
  padding-bottom: 14px;
}

.form-row label,
.form-group label {
  color: #12384f;
  font-weight: 800;
}

.help,
.help-block,
.form-text,
.description {
  color: #5d6b73 !important;
  font-size: 13px;
  line-height: 1.45;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="number"],
input[type="password"],
select,
textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  min-height: 40px;
  border: 1px solid #d6e0e7 !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

textarea {
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus,
.select2-container--focus .select2-selection {
  border-color: #17a84b !important;
  box-shadow: 0 0 0 3px rgba(23, 168, 75, .14) !important;
}

.submit-row,
.form-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 18px -20px -20px;
  padding: 14px 20px;
  border-top: 1px solid #dfe8ed;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

.btn,
input[type="submit"],
button[type="submit"],
.object-tools a {
  border-radius: 999px !important;
  font-weight: 800 !important;
}

.btn-success,
input[type="submit"].default {
  background: #17a84b !important;
  border-color: #17a84b !important;
}

.admin-choice-grid,
.admin-choice-grid ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-choice-grid li {
  margin: 0 !important;
}

.admin-choice-grid label {
  display: flex !important;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dfe8ed;
  border-radius: 12px;
  background: #fff;
  color: #12384f;
  cursor: pointer;
}

.admin-choice-grid label:hover {
  border-color: rgba(23, 168, 75, .55);
  background: #f1fbf5;
}

.admin-choice-grid input {
  width: 18px;
  height: 18px;
  accent-color: #17a84b;
}

.field-birimler .readonly,
.field-ilgili_birimler {
  line-height: 1.45;
}

.model-duyuru.change-form .field-baslik input {
  width: min(100%, 900px);
  min-height: 48px;
  padding: 10px 14px;
  font-size: 18px;
  font-weight: 700;
}

.model-duyuru.change-form .field-kategori .admin-kategori-secimi > div,
.model-duyuru.change-form .field-kategori .admin-kategori-secimi li {
  display: inline-flex;
  margin: 0 10px 8px 0;
}

.model-duyuru.change-form .field-kategori .admin-kategori-secimi label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #dfe8ed;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.model-duyuru.change-form .field-kategori .admin-kategori-secimi input {
  width: 18px;
  height: 18px;
  accent-color: #17a84b;
}

.model-duyuru.change-form .field-kategori .admin-kategori-secimi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-duyuru.change-form .field-kategori.errors .admin-kategori-secimi {
  padding: 10px 12px 2px;
  border: 1px solid rgba(217, 45, 32, .3);
  border-radius: 12px;
  background: #fffafa;
}

.model-duyuru.change-form .field-icerik > div,
.model-duyuru.change-form .field-icerik .flex-container {
  display: block !important;
}

.model-duyuru.change-form .field-icerik label {
  display: block;
  margin-bottom: 10px;
}

.model-duyuru.change-form .errorlist {
  margin: 0 0 10px;
  padding: 10px 14px;
  border-left: 4px solid #d92d20;
  border-radius: 8px;
  background: #fff2f0;
  color: #b42318;
}

/* Sayfa oluşturma ekranı */
.model-sayfa.change-form .content-wrapper {
  background: #f4f7f6;
}

.model-sayfa.change-form #content-main > form {
  max-width: none;
}

/* Jazzmin fieldset'leri div.card olarak üretir; alanları gerçek DOM'a göre genişlet. */
.model-sayfa.change-form #sayfa_form > .row > .col-lg-9,
.model-sayfa.change-form #sayfa_form > .row > .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
.model-sayfa.change-form #sayfa_form > .row > .col-lg-9 > .card { border: 0; box-shadow: none; background: transparent; }
.model-sayfa.change-form #sayfa_form > .row > .col-lg-9 > .card > .card-body { padding: 0; }
.model-sayfa.change-form .card.sayfa-adim { margin-bottom: 18px; border: 1px solid #dce5ea; border-radius: 12px; box-shadow: none; overflow: visible; }
.model-sayfa.change-form .card.sayfa-adim > .card-header { padding: 13px 20px; background: #f8fafb; border-radius: 12px 12px 0 0; }
.model-sayfa.change-form .card.sayfa-adim .card-title { font-size: 15px; line-height: 1.5; }
.model-sayfa.change-form .card.sayfa-adim .card-title i { display: block; font-style: normal; font-size: 12px; color: #73818a; margin-top: 3px; }
.model-sayfa.change-form .card.sayfa-adim > .card-body { padding: 18px 20px !important; }
.model-sayfa.change-form .form-group { padding: 0; margin-bottom: 14px; }
.model-sayfa.change-form .form-group:last-child { margin-bottom: 0; }
.model-sayfa.change-form .form-group > .row { display: block; margin: 0; }
.model-sayfa.change-form .form-group > .row > .col-sm-3,
.model-sayfa.change-form .form-group > .row > .col-sm-9 { display: block; flex: none; width: 100%; max-width: 100%; padding: 0; }
.model-sayfa.change-form .form-group > .row > label { margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.model-sayfa.change-form .field-baslik input { width: 100% !important; min-height: 44px !important; font-size: 17px !important; border-width: 1px !important; }
.model-sayfa.change-form #jazzy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; border: 1px solid #dce5ea; border-radius: 12px; margin-bottom: 20px; }
.model-sayfa.change-form #jazzy-actions .btn { width: auto !important; margin: 0 !important; padding: 10px 18px; border-radius: 7px; }
.model-sayfa.change-form #jazzy-actions .object-tools { margin-left: auto; }

.model-sayfa.change-form fieldset.sayfa-adim {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid #dce7e2 !important;
  border-radius: 16px !important;
  background: #fff;
  box-shadow: 0 6px 20px rgba(2, 59, 88, .045);
}

.model-sayfa.change-form fieldset.sayfa-adim .card-header {
  min-height: 50px;
  padding: 14px 18px;
  background: #f8fbf9;
}

.model-sayfa.change-form fieldset.sayfa-adim .card-body { padding: 18px; }

.model-sayfa.change-form fieldset.sayfa-adim .description {
  margin: 0;
  padding: 10px 18px;
  border-bottom: 1px solid #e5ece8;
  background: #fff;
}

.model-sayfa.change-form fieldset.sayfa-adim > legend,
.model-sayfa.change-form fieldset.sayfa-adim > h5 {
  color: #073d55;
  font-size: 17px;
  font-weight: 850;
}

.model-sayfa.change-form .field-baslik input {
  width: min(100%, 880px);
  min-height: 52px;
  padding: 11px 15px;
  border-width: 2px !important;
  font-size: 19px;
  font-weight: 750;
}

.model-sayfa.change-form .field-icerik > div,
.model-sayfa.change-form .field-icerik .flex-container {
  display: block !important;
}

.model-sayfa.change-form .field-icerik label {
  display: block;
  margin-bottom: 10px;
}

.model-sayfa.change-form .field-yayinda,
.model-sayfa.change-form .field-headerda_dogrudan_goster {
  margin: 8px 0 !important;
  border: 1px solid #dce7e2;
  border-radius: 12px;
  background: #f8fbf9;
}

.model-sayfa.change-form .field-site_onizleme:empty { display: none; }

.model-sayfa.change-form .field-yayinda input,
.model-sayfa.change-form .field-headerda_dogrudan_goster input {
  width: 19px;
  height: 19px;
  accent-color: #17a84b;
}

.model-sayfa.change-form .field-menu_ust select {
  width: min(100%, 520px);
}

@media (max-width: 767px) {
  .model-sayfa.change-form fieldset.sayfa-adim { border-radius: 12px !important; }
  .model-sayfa.change-form .field-baslik input { font-size: 16px; }
}

.kutuphane-sec-alan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kutuphane-sec-buton {
  background: #f1fbf5 !important;
  border: 1px solid rgba(23, 168, 75, .4) !important;
  color: #0f7a34 !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
}

.kutuphane-sec-buton:hover {
  background: #e3f7ea !important;
  border-color: #17a84b !important;
}

.admin-preview-button {
  display: inline-flex !important;
  align-items: center;
  min-height: 42px;
  padding: 9px 18px !important;
  border: 1px solid #17a84b !important;
  border-radius: 999px !important;
  background: #17a84b !important;
  color: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.admin-preview-button:hover {
  background: #11883b !important;
  border-color: #11883b !important;
}

.admin-preview-note {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
}

.change-list .results table {
  border-radius: 12px;
  overflow: hidden;
}

.change-list .results th {
  background: #f4f8fa;
  color: #023b58;
}

/* Yönetim dashboard'u */
.kostu-dashboard { padding: 0 7.5px 28px; }

.kostu-dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 26px 30px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(125deg, #023b58 0%, #07556a 70%, #128744 135%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(2, 59, 88, .16);
}

.kostu-dashboard-welcome span,
.kostu-dashboard-card-head span {
  color: #35d277;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.kostu-dashboard-welcome h2 { margin: 4px 0 5px; font-size: 25px; font-weight: 850; }
.kostu-dashboard-welcome p { margin: 0; color: rgba(255, 255, 255, .75); }
.kostu-dashboard-welcome > a { flex: 0 0 auto; padding: 11px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; font-weight: 800; text-decoration: none; }
.kostu-dashboard-welcome > a:hover { background: #fff; color: #07556a; }

.kostu-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.kostu-dashboard-stats a {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid #dfe8e4;
  border-radius: 15px;
  background: #fff;
  color: #173e52;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2, 59, 88, .05);
  transition: transform .2s ease, border-color .2s ease;
}

.kostu-dashboard-stats a:hover { transform: translateY(-2px); border-color: rgba(23,168,75,.48); }
.kostu-dashboard-stats strong { color: #0b8740; font-size: 28px; line-height: 1.15; }
.kostu-dashboard-stats span { margin-top: 4px; color: #5a6e79; font-size: 12px; font-weight: 700; }

.kostu-dashboard-grid { display: grid; grid-template-columns: minmax(310px, .85fr) minmax(500px, 1.4fr); gap: 18px; margin-bottom: 18px; }
.kostu-dashboard-card { overflow: hidden; border: 1px solid #dfe8e4; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(2,59,88,.055); }
.kostu-dashboard-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #e7eeeb; background: #f8fbf9; }
.kostu-dashboard-card-head h3 { margin: 2px 0 0; color: #073d55; font-size: 17px; font-weight: 850; }
.kostu-dashboard-card-head > a { color: #0a8740; font-size: 12px; font-weight: 800; }
.kostu-dashboard-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; }
.kostu-dashboard-actions > a { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px; border: 1px solid #e1eae6; border-radius: 12px; color: #173e52; text-decoration: none; }
.kostu-dashboard-actions > a:hover { border-color: #60bf82; background: #f2fbf5; }
.kostu-dashboard-actions i { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: #e8f7ee; color: #0b8a40; }
.kostu-dashboard-actions span { display: grid; min-width: 0; }
.kostu-dashboard-actions b { font-size: 13px; }
.kostu-dashboard-actions small { margin-top: 2px; overflow: hidden; color: #75858e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.kostu-session-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.kostu-session-table th { padding: 11px 14px; border-bottom: 1px solid #e7eeeb; background: #fbfcfc; color: #61747e; font-weight: 800; text-align: left; }
.kostu-session-table td { padding: 12px 14px; border-bottom: 1px solid #edf2f0; color: #405865; vertical-align: middle; }
.kostu-session-table tbody tr:last-child td { border-bottom: 0; }
.oturum-durum { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; white-space: nowrap; }
.oturum-acik { background: #e7f8ed; color: #087837; }
.oturum-kapali { background: #eef2f4; color: #5f6f78; }

.kostu-dashboard-log { margin-bottom: 10px; }
.kostu-log-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #e9efec; }
.kostu-log-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 15px 17px; background: #fff; }
.kostu-log-item > i { color: #15924a; font-size: 12px; }
.kostu-log-item > span { display: grid; min-width: 0; }
.kostu-log-item b { overflow: hidden; color: #27495a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.kostu-log-item small { margin-top: 3px; color: #829098; font-size: 10px; }

@media (max-width: 1100px) {
  .kostu-dashboard-grid { grid-template-columns: 1fr; }
  .kostu-log-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kostu-dashboard-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .kostu-dashboard-welcome { align-items: flex-start; flex-direction: column; padding: 22px; }
  .kostu-dashboard-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kostu-dashboard-actions { grid-template-columns: 1fr; }
  .kostu-log-grid { grid-template-columns: 1fr; }
}

/* Birim/fakülte düzenleme: modern ve tek satırlı bölüm navigasyonu */
.model-birim.change-form #jazzy-tabs {
  position: sticky;
  top: 58px;
  z-index: 1020;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  margin: 0 0 18px !important;
  padding: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #dce7e2;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(2, 59, 88, .09);
  scrollbar-width: thin;
  scrollbar-color: #98cbaa #edf4f0;
  backdrop-filter: blur(10px);
}

.model-birim.change-form #jazzy-tabs::-webkit-scrollbar { height: 6px; }
.model-birim.change-form #jazzy-tabs::-webkit-scrollbar-track { background: #edf4f0; border-radius: 999px; }
.model-birim.change-form #jazzy-tabs::-webkit-scrollbar-thumb { background: #98cbaa; border-radius: 999px; }

.model-birim.change-form #jazzy-tabs .nav-item {
  flex: 0 0 auto;
  margin: 0;
}

.model-birim.change-form #jazzy-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  color: #345466;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.model-birim.change-form #jazzy-tabs .nav-link:hover {
  border-color: #cae4d4 !important;
  background: #eef8f2;
  color: #087538;
}

.model-birim.change-form #jazzy-tabs .nav-link.active {
  border-color: #0f9c48 !important;
  background: #12a750;
  color: #fff;
  box-shadow: 0 5px 13px rgba(18, 167, 80, .22);
}

.model-birim.change-form .tab-content > .tab-pane > .card,
.model-birim.change-form .tab-content > .tab-pane > .inline-group {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(2, 59, 88, .055);
}

@media (max-width: 767px) {
  .model-birim.change-form #jazzy-tabs {
    top: 55px;
    margin-inline: -4px !important;
    width: calc(100% + 8px);
    border-radius: 11px;
  }
  .model-birim.change-form #jazzy-tabs .nav-link { min-height: 38px; padding: 8px 12px; font-size: 12px; }
}

/* Trafik ve okunma raporu */
.kostu-trafik-table { width:100%; min-width:720px; border-collapse:collapse; font-size:12px; }
.kostu-trafik-table th,.kostu-trafik-table td { padding:14px 20px; border-bottom:1px solid #e7eeeb; text-align:left; overflow-wrap:anywhere; }
.kostu-trafik-table th { background:#f8fbf9; color:#073d55; }
.kostu-analytics { width: 100%; max-width: 1440px; margin: 0 auto 28px; }
.kostu-analytics-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; padding: 26px 28px; overflow: hidden; border-radius: 18px; background: radial-gradient(circle at 86% 20%, rgba(42,201,108,.2), transparent 28%), linear-gradient(125deg, #023b58, #07566a); color: #fff; box-shadow: 0 14px 34px rgba(2,59,88,.14); }
.kostu-analytics-head span { color: #5ae38f; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.kostu-analytics-head h2 { margin: 5px 0 4px; color: #fff; font-size: 25px; font-weight: 850; }
.kostu-analytics-head p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.kostu-analytics-head nav { display: flex; flex: 0 0 auto; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(0,0,0,.08); }
.kostu-analytics-head nav a { padding: 8px 14px; border-radius: 999px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 800; text-decoration: none; }
.kostu-analytics-head nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.kostu-analytics-head nav a.active { background: #fff; color: #08763b; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.kostu-analytics-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.kostu-analytics-cards article { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid #dfe8e4; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(2,59,88,.05); }
.kostu-analytics-cards article > div { display: grid; min-width: 0; }
.kostu-analytics-cards .kostu-analytics-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; margin: 0; border-radius: 12px; background: #e9f8ef; color: #0a9144; font-size: 17px; font-weight: 900; }
.kostu-analytics-cards strong { color: #073d55; font-size: 27px; line-height: 1.05; }
.kostu-analytics-cards article div span { margin-top: 5px; overflow: hidden; color: #6a7b84; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.kostu-analytics-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.kostu-analytics-panel { overflow: hidden; border: 1px solid #dfe8e4; border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(2,59,88,.045); }
.kostu-analytics-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; border-bottom: 1px solid #e7eeeb; background: #f8fbf9; }
.kostu-analytics-panel > header h3 { margin: 0 0 3px; color: #073d55; font-size: 16px; font-weight: 850; }
.kostu-analytics-panel > header p { margin: 0; color: #829099; font-size: 11px; }
.kostu-analytics-panel > header > strong { color: #0a9144; font-size: 22px; }
.kostu-analytics-panel > header > strong small { color: #7c8d95; font-size: 10px; font-weight: 700; }
.kostu-analytics-chart { display: flex; min-height: 230px; align-items: flex-end; gap: 5px; padding: 30px 20px 16px; overflow-x: auto; background: repeating-linear-gradient(to bottom, transparent 0, transparent 49px, #edf2f0 50px); }
.kostu-analytics-bar { position: relative; display: flex; flex: 1 0 12px; height: 175px; min-width: 12px; align-items: center; flex-direction: column; justify-content: flex-end; }
.kostu-analytics-bar i { width: min(100%,24px); min-height: 4px; border-radius: 6px 6px 2px 2px; background: linear-gradient(#35ce72,#099044); }
.kostu-analytics-bar i.bos { background: #dfe8e4; }
.kostu-analytics-bar b { min-height: 18px; margin-bottom: 4px; color: #315463; font-size: 9px; }
.kostu-analytics-bar small { width: 32px; min-height: 13px; margin-top: 6px; color: #7a8b93; font-size: 8px; text-align: center; white-space: nowrap; }
.kostu-analytics-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.kostu-analytics-table th,.kostu-analytics-table td { padding: 12px 16px; border-bottom: 1px solid #edf2f0; text-align: left; vertical-align: middle; }
.kostu-analytics-table tbody tr:last-child td { border-bottom: 0; }
.kostu-analytics-table tbody tr:hover { background: #f8fbf9; }
.kostu-analytics-table th { color: #607681; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.kostu-analytics-table th:nth-child(2),.kostu-analytics-table td:nth-child(2) { width: 110px; }
.kostu-analytics-table th:last-child,.kostu-analytics-table td:last-child { width: 74px; text-align: right; }
.kostu-analytics-table a { display: block; overflow: hidden; color: #123f55; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.kostu-analytics-table small { display: block; overflow: hidden; margin-top: 3px; color: #87959c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.kostu-analytics-table td:last-child strong { color: #098a41; font-size: 16px; }
.kostu-tur { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #edf2f4; color: #516670; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.kostu-tur-duyuru { background: #e6f7ed; color: #087b3b; }
.kostu-tur-haber { background: #fff2df; color: #a45b00; }
.kostu-tur-birim { background: #e8f1fb; color: #256296; }

@media (max-width: 767px) {
  .kostu-analytics-head { align-items: flex-start; flex-direction: column; }
  .kostu-analytics-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kostu-analytics-head nav { width: 100%; }
  .kostu-analytics-head nav a { flex: 1; text-align: center; }
  .kostu-analytics-table th:nth-child(2),.kostu-analytics-table td:nth-child(2) { width: 82px; }
  .kostu-analytics-table th:last-child,.kostu-analytics-table td:last-child { width: 62px; }
  .kostu-analytics-table th,.kostu-analytics-table td { padding: 10px; }
}
@media (max-width: 480px) {
  .kostu-analytics-cards { grid-template-columns: 1fr; }
  .kostu-analytics-head { padding: 21px 18px; }
  .kostu-analytics-table small { display: none; }
}

/* Header menü yönetimi: hiyerarşik ve tek bakışta düzenlenebilir görünüm */
.menu-yonetim { width: 100%; max-width: 1480px; margin: 0 auto 28px; }
.menu-yonetim-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 14px; padding: 24px 26px; border-radius: 18px; background: radial-gradient(circle at 86% 15%, rgba(65,220,129,.2), transparent 30%), linear-gradient(125deg,#023b58,#07596c); color: #fff; box-shadow: 0 14px 32px rgba(2,59,88,.13); }
.menu-yonetim-hero > div > span { color: #58df8d; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.menu-yonetim-hero h2 { margin: 5px 0 4px; color: #fff; font-size: 24px; font-weight: 850; }
.menu-yonetim-hero p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.menu-yonetim-yeni { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; background: #18ab51; color: #fff !important; font-size: 12px; font-weight: 850; text-decoration: none; box-shadow: 0 7px 18px rgba(0,0,0,.15); }
.menu-yonetim-yeni:hover { background: #fff; color: #08783b !important; }
.menu-yonetim-ozet { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.menu-yonetim-ozet article { display: flex; align-items: baseline; gap: 9px; padding: 14px 17px; border: 1px solid #dfe8e4; border-radius: 13px; background: #fff; }
.menu-yonetim-ozet strong { color: #079044; font-size: 23px; }
.menu-yonetim-ozet span { color: #647780; font-size: 11px; font-weight: 750; }
.menu-yonetim-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
.menu-yonetim-kart { overflow: hidden; border: 1px solid #dce7e2; border-radius: 16px; background: #fff; box-shadow: 0 9px 26px rgba(2,59,88,.055); }
.menu-yonetim-kart.pasif { opacity: .72; }
.menu-yonetim-kart > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 18px; border-bottom: 1px solid #e6eeea; background: #f8fbf9; }
.menu-yonetim-kart > header > a { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #cfe3d7; border-radius: 999px; color: #08783b; font-size: 10px; font-weight: 850; text-decoration: none; }
.menu-yonetim-kart > header > a:hover { background: #0f9d48; color: #fff; }
.menu-yonetim-baslik { display: flex; min-width: 0; align-items: center; gap: 11px; }
.menu-yonetim-sira { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; background: #e6f7ed; color: #098a41; font-size: 12px; font-weight: 900; }
.menu-yonetim-baslik h3 { margin: 0 0 4px; overflow: hidden; color: #073d55; font-size: 15px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.menu-durum { display: inline-flex; color: #7a8991; font-size: 9px; font-weight: 800; }
.menu-durum.aktif { color: #099145; }
.menu-kok-url { display: block; margin: 0; padding: 9px 18px; overflow: hidden; border-bottom: 1px solid #edf2f0; background: #fcfdfd; color: #809099; font-size: 10px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
a.menu-kok-url:hover { color: #07843e; }
.menu-alt-liste { max-height: 390px; overflow-y: auto; }
.menu-alt-satir { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #edf2f0; color: inherit; text-decoration: none; }
.menu-alt-satir:hover { background: #f3faf6; }
.menu-alt-sira { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #f0f4f5; color: #71828a; font-size: 9px; font-weight: 850; }
.menu-alt-metin { display: grid; min-width: 0; }
.menu-alt-metin strong { overflow: hidden; color: #244959; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.menu-alt-metin small { overflow: hidden; margin-top: 2px; color: #8a979d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.menu-alt-duzenle { color: #0a8a42; font-size: 9px; font-weight: 850; }
.menu-alt-bos { margin: 0; padding: 24px 18px; color: #8a979d; font-size: 11px; text-align: center; }
.menu-yonetim-kart > footer { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #f8fbf9; }
.menu-yonetim-kart > footer a { color: #087b3b; font-size: 10px; font-weight: 850; text-decoration: none; }
.menu-yonetim-kart > footer a:hover { text-decoration: underline; }
.menu-yonetim-bos { grid-column: 1/-1; padding: 48px; border: 1px dashed #cadbd3; border-radius: 16px; text-align: center; }
.model-menuoge.change-form .inline-group { margin-top: 18px; border-radius: 14px; overflow: hidden; }
.model-menuoge.change-form .inline-group .card-header::after { content: " — bağlantıları buradan ekleyip sıralayabilirsiniz"; color: #71828a; font-size: 10px; font-weight: 500; }
@media (max-width: 1050px) { .menu-yonetim-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .menu-yonetim-hero { align-items: flex-start; flex-direction: column; padding: 20px; }
  .menu-yonetim-yeni { width: 100%; text-align: center; }
  .menu-yonetim-ozet { grid-template-columns: 1fr; }
  .menu-alt-duzenle { display: none; }
  .menu-alt-satir { grid-template-columns: 28px minmax(0,1fr); }
}

/* Tek ekranda footer yönetimi */
.model-footerayar.change-form .field-footer_menuleri .readonly,
.model-footerayar.change-form .field-footer_gorselleri .readonly,
.model-footerayar.change-form .field-footer_partnerleri .readonly { width: 100%; }
.footer-admin-link { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid #dce8e1; border-radius: 12px; background: #f8fbf9; }
.footer-admin-link > span:first-child { display: grid; gap: 3px; }
.footer-admin-link b { color: #073d55; font-size: 14px; }
.footer-admin-link small { color: #6f818a; font-size: 11px; }
.footer-admin-link-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.footer-admin-link-actions a { padding: 8px 12px; border: 1px solid #17a84b; border-radius: 999px; color: #087738; font-size: 11px; font-weight: 850; text-decoration: none; }
.footer-admin-link-actions a:last-child { background: #17a84b; color: #fff; }
.footer-admin-link-actions a:hover { background: #0e8e3e; color: #fff; }
.birim-admin-hub { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 12px; width: 100%; }
.birim-admin-hub-kart { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 17px; border: 1px solid #dce8e1; border-radius: 12px; background: #f8fbf9; }
.birim-admin-hub-kart > span { display: flex; gap: 7px; }
.birim-admin-hub-kart > span:first-child { flex-direction: column; gap: 3px; }
.birim-admin-hub-kart b { color: #073d55; font-size: 14px; }
.birim-admin-hub-kart small { color: #6f818a; font-size: 11px; }
.birim-admin-hub-kart a { padding: 8px 11px; border: 1px solid #17a84b; border-radius: 999px; color: #087738; font-size: 11px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.birim-admin-hub-kart a:last-child { background: #17a84b; color: #fff; }
.birim-admin-hub-kart a:hover { background: #0e8e3e; color: #fff; }
@media (max-width: 700px) {
  .footer-admin-link { align-items: flex-start; flex-direction: column; }
  .footer-admin-link-actions { width: 100%; }
  .birim-admin-hub { grid-template-columns: 1fr; }
  .birim-admin-hub-kart { align-items: flex-start; flex-direction: column; }
}

/* Duyuru formu: "ayrıca şurada da göster" anahtarları */
.duyuru-yer-anahtar { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; padding: 10px 14px; border: 1px solid #dce7e1; border-radius: 8px; background: #f6faf8; font-weight: 600; color: #1f3d33; cursor: pointer; }
.duyuru-yer-anahtar input { width: 18px; height: 18px; margin: 0; }
.duyuru-yer-arama { max-width: 420px; margin-bottom: 8px; }

/* --- Çeviriler --- */
.ceviri-dugmeleri { display: flex; flex-wrap: wrap; gap: 8px; }
.ceviri-dugmeleri .button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.ceviri-dugmeleri .ceviri-yok { background: #fff !important; color: #023b58 !important; border: 1px dashed #8aa3b3 !important; }
.ceviri-dugmeleri .ceviri-tamam { background: #e9f7ee !important; color: #08783a !important; border: 1px solid #9bd5ad !important; }
.ceviri-dugmeleri .ceviri-eski { background: #fff6e0 !important; color: #8a5a00 !important; border: 1px solid #f0c66b !important; }
.ceviri-kisa { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ceviri-kisa.ceviri-yok { color: #5b7282; border: 1px dashed #9db0bd; }
.ceviri-kisa.ceviri-tamam { color: #08783a; background: #e9f7ee; }
.ceviri-kisa.ceviri-eski { color: #8a5a00; background: #fff6e0; }
.ceviri-ekrani { max-width: 1400px; }
.ceviri-ust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ceviri-uyari { padding: 12px 16px; margin-bottom: 16px; border-radius: 8px; background: #fff6e0; border: 1px solid #f0c66b; color: #6b4600; }
.ceviri-satir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-bottom: 22px; }
.ceviri-satir.html-alan { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.ceviri-kutu { min-width: 0; padding: 14px 16px; border: 1px solid var(--hairline-color, #dde5ea); border-radius: 10px; background: var(--body-bg, #fff); }
.ceviri-kutu > h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: #5b7282; }
.ceviri-kaynak { max-height: 640px; overflow: auto; color: #333; line-height: 1.55; }
.ceviri-kaynak img { max-width: 100%; height: auto; }
.ceviri-kutu input.ceviri-metin { width: 100%; box-sizing: border-box; }
.ceviri-eylemler { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.ceviri-eylemler .ceviri-sil { margin-left: auto; background: #fff !important; color: #b42318 !important; border: 1px solid #f1b7b0 !important; }
@media (max-width: 1000px) { .ceviri-satir, .ceviri-satir.html-alan { grid-template-columns: 1fr; } }
.arayuz-toplu table { width: 100%; }
.arayuz-toplu td { vertical-align: middle; }
.arayuz-toplu td input { width: 100%; box-sizing: border-box; }
.arayuz-toplu td.kaynak { width: 40%; color: #333; }
.arayuz-toplu tr.eksik td.kaynak { border-left: 3px solid #f0c66b; }
.ceviri-yan-panel { display: grid; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid var(--hairline-color, #dde5ea); border-radius: 10px; background: #f8fbfc; }
.ceviri-yan-panel > strong { font-size: 13px; color: #023b58; }
.ceviri-yan-panel .ceviri-dugmeleri { flex-direction: column; }
.ceviri-yan-panel .ceviri-dugmeleri .button { justify-content: center; width: 100%; box-sizing: border-box; }
.ceviri-yan-panel small { color: #5b7282; font-size: 11.5px; line-height: 1.4; }

/* --- Program → Ders Programı Tablosu: sütunlar sığsın, sığmazsa kesilmesin yatay kaysın --- */
.ders-programi-tablosu .tabular,
.ders-programi-tablosu .table-responsive,
.ders-programi-tablosu fieldset { overflow-x: auto; }
.ders-programi-tablosu table { width: 100%; min-width: 980px; }
.ders-programi-tablosu th, .ders-programi-tablosu td { padding: 6px 5px !important; vertical-align: top; }
.ders-programi-tablosu td.field-alt_program input { width: 96px !important; }
.ders-programi-tablosu td.field-sinif input { width: 48px !important; text-align: center; }
.ders-programi-tablosu td.field-gun select { width: 116px !important; }
.ders-programi-tablosu td.field-baslangic input,
.ders-programi-tablosu td.field-bitis input { width: 92px !important; }
.ders-programi-tablosu td.field-ders textarea { width: 100% !important; min-width: 190px; min-height: 38px; resize: vertical; }
.ders-programi-tablosu td.field-ogretim_elemani { min-width: 190px; }
.ders-programi-tablosu td.field-ogretim_elemani .select2-container { width: 190px !important; }
.ders-programi-tablosu td.field-ogretim_elemani_metin input { width: 140px !important; }
.ders-programi-tablosu td.field-derslik input { width: 76px !important; }
.ders-programi-tablosu td.original p { display: none; }
.ders-programi-tablosu th { white-space: normal !important; font-size: 12px; line-height: 1.25; }
.ders-programi-tablosu .related-widget-wrapper-link { display: none !important; }
.ders-programi-tablosu .related-widget-wrapper { display: block; }
.ders-programi-tablosu td.field-gun, .ders-programi-tablosu td.field-ogretim_elemani { width: 1%; }
.ders-programi-tablosu td.delete { width: 1%; white-space: nowrap; }
.ders-programi-tablosu td.field-gun .select2-container { width: 116px !important; }
.ders-programi-tablosu table { min-width: 0; }
.ders-programi-tablosu td.field-alt_program input { width: 78px !important; }
.ders-programi-tablosu td.field-ders textarea { min-width: 160px; }
.ders-programi-tablosu td.field-ogretim_elemani { min-width: 165px; }
.ders-programi-tablosu td.field-ogretim_elemani .select2-container { width: 165px !important; }
.ders-programi-tablosu td.field-ogretim_elemani_metin input { width: 118px !important; }
.ders-programi-tablosu td.field-derslik input { width: 66px !important; }
.ders-programi-tablosu td.field-baslangic input, .ders-programi-tablosu td.field-bitis input { width: 84px !important; padding-right: 2px; }
.tab-pane.ders-programi-tablosu::before { content: "İpucu: Tablo ekrana sığmazsa altındaki çubukla yana kaydırabilirsiniz. Öğretim elemanı akademik kadroda yoksa adını sağdaki “kadroda yoksa” kutusuna yazın."; display: block; margin: 0 0 8px; color: #5b7282; font-size: 12px; }
.ders-programi-tablosu td.field-gun .select2-container { width: 104px !important; }
.ders-programi-tablosu td.field-ders textarea { min-width: 140px; }
.ders-programi-tablosu td.field-sinif input { width: 40px !important; }
.ders-programi-tablosu td.original, .ders-programi-tablosu th.original { width: 0; padding: 0 !important; }
.ders-programi-tablosu td.field-ders textarea { min-width: 130px; }
.ders-programi-tablosu td.field-ogretim_elemani_metin input { width: 108px !important; }
