/* Menü linkleri buton görünümü — dropdown-item rengi inherit etme (koyu menüde kaybolur; Profil button ile aynı açık metin) */
a.nav-btn, a.sidebar-btn, a.sidebar-sub-btn {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
a.dropdown-item {
  text-decoration: none;
  box-sizing: border-box;
  color: #e2e8f0;
}
a.dropdown-item:hover {
  color: #38bdf8;
}
a.dropdown-item.secili-koyu-mavi,
a.dropdown-item.secili-koyu-mavi:hover {
  color: #ffffff;
}
.mod-page { width: 100%; max-width: 1200px; }

/* Ortak modül kart / form stilleri */
.mod-card, .kt-card, .kl-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 20px 22px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.mod-header, .kt-header, .kl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.mod-title, .kt-title, .kl-title {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.mod-sub { font-size: 13.5px; color: #475569; margin-top: 4px; }
.kt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.kt-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.kt-label {
  width: 120px; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: #0c4a6e; line-height: 1.25;
}
.kt-input, .kt-select, .mod-input, .mod-select {
  flex: 1; min-width: 0; height: 36px;
  padding: 4px 12px; border: 1px solid #94a3b8; border-radius: 8px;
  font-size: 14px; color: #0f172a; background: #fff;
}
.kt-input.readonly-gray, .mod-input[readonly] { background: #e9ecef; }
.kt-btn, .kl-btn, .mod-btn {
  height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #0284c7;
  background: #0b4f6c; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.kt-btn:hover, .mod-btn:hover { background: #083b52; }
.kl-btn-secondary, .mod-btn-secondary { background: #fff; color: #0b4f6c; }
.kl-btn-danger, .mod-btn-danger { background: #dc2626; border-color: #b91c1c; }
.kl-btn-primary { background: #1d64f2; border-color: #1550cc; }
.kt-section-title {
  margin: 18px 0 10px; font-size: 15px; font-weight: 700; color: #0b4f6c;
}
.kt-days-group { display: flex; gap: 8px; flex-wrap: wrap; }
.kt-day-col { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.kt-day-name { font-size: 12px; font-weight: 700; color: #334155; }
.kt-day-input { width: 48px; height: 34px; text-align: center; border: 1px solid #94a3b8; border-radius: 8px; }
.kt-period-radios { display: flex; gap: 18px; margin: 14px 0; }
.kt-footer-row, .mod-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px;
}
.kt-footer-actions, .mod-actions-left { display: flex; gap: 8px; flex-wrap: wrap; }
.kl-top-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #0b4f6c; color: #fff; padding: 6px 12px; border-radius: 8px;
  font-weight: 700; font-size: 13px; margin-bottom: 12px;
}
.kl-count { font-size: 13.5px; color: #334155; font-weight: 600; }
.kl-search-input {
  height: 34px; padding: 0 12px; border: 1px solid #94a3b8; border-radius: 8px; min-width: 180px;
}
.kl-header-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kl-table-wrap { overflow: auto; max-height: 620px; border: 1px solid #e2e8f0; border-radius: 10px; }
.kl-table, .mod-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kl-table th, .mod-table th {
  position: sticky; top: 0; background: #0b4f6c; color: #fff;
  padding: 10px 8px; text-align: left; font-weight: 700;
}
.kl-table td, .mod-table td { padding: 8px; border-bottom: 1px solid #e2e8f0; color: #0f172a; }
.kl-table tr:hover td, .mod-table tr:hover td { background: #f0f9ff; }
.kl-guncelle-btn, .mod-row-btn {
  height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid #0284c7;
  background: #e0f2fe; color: #0b4f6c; font-weight: 700; cursor: pointer; font-size: 12px;
}
.mod-banner {
  background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px;
  padding: 10px 12px; margin-bottom: 12px; color: #0c4a6e; font-size: 13.5px;
}
.mod-empty {
  padding: 28px; text-align: center; color: #64748b; font-size: 14px;
  border: 1px dashed #cbd5e1; border-radius: 10px;
}
.mod-field { margin-bottom: 12px; }
.mod-field label { display: block; font-size: 13px; font-weight: 700; color: #0c4a6e; margin-bottom: 4px; }
.mod-field textarea {
  width: 100%; min-height: 90px; padding: 10px 12px; border: 1px solid #94a3b8;
  border-radius: 8px; font-size: 14px; font-family: inherit;
}
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.mod-chip {
  background: #e0f2fe; color: #0b4f6c; border: 1px solid #7dd3fc;
  border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700;
}
@media (max-width: 1100px) {
  .kt-grid { grid-template-columns: 1fr; }
}
