/* Yönetim sayfa stilleri (index.html şablonundan) */
/* Yönetim Kısmındaki Tüm Sayfalarda Sağdaki Boş Alanı Kaldır (Tam Genişlik) */
#tiledPage:has(.yonetim-view.active),
#tiledPage:has(#kullaniciTakipView.active),
#tiledPage:has(#referansView.active) {
  padding: 22px 20px 22px 20px !important;
}
/* Yönetim Rapor ve Rapor (Üye) sayfalarında sticky başlıkların en üste tam yapışması için üst padding sıfırlanır */
#tiledPage:has(#yonetimRaporView.active),
#tiledPage:has(#yonetimRaporUyeView.active) {
  padding: 0 20px 22px 20px !important;
}
.yonetim-view,
#kullaniciTakipView,
#referansView {
  max-width: 100% !important;
  width: 100% !important;
}
#kullaniciTakipView,
#kullaniciTakipView *,
.ut-card,
.ut-card * {
  font-family: "Times New Roman", Times, serif !important;
}
#kullaniciTakipView {
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  overflow-x: hidden;
}
.ut-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  background: #e6f0f5;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px 20px 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  box-sizing: border-box;
  overflow-x: hidden;
}
.ut-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 6px;
}
.ut-star-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #f59e0b;
  border-radius: 5px;
  background: #fffbeb;
  color: #f59e0b;
  font-size: 13px;
}
.ut-title {
  font-size: 21px;
  font-weight: 800;
  color: #0b4f6c;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.ut-subtitle {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 12px;
}
.ut-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}
.ut-search-export {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 280px;
  min-width: 0;
  max-width: 540px;
}
.ut-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 200px;
  min-width: 180px;
}
.ut-search-wrap .ut-search-input {
  width: 100%;
  max-width: none;
  padding-right: 30px;
}
.ut-search-clear-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ut-search-clear-btn.has-text {
  color: #475569;
  background: #f1f5f9;
}
.ut-search-clear-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}
.ut-search-input {
  flex: 1;
  min-width: 180px;
  height: 34px;
  padding: 4px 30px 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12.5px;
  outline: none;
}
.ut-search-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}
.ut-checkbox-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 8px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}
.ut-chk-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.ut-chk-label input[type="checkbox"] {
  width: 13px;
  height: 13px;
  accent-color: #0284c7;
  cursor: pointer;
}
.ut-export-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none !important;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.ut-export-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.ut-export-btn.pdf {
  background: #dc2626 !important;
}
.ut-export-btn.excel {
  background: #15803d !important;
}
.ut-export-btn svg {
  width: 15px;
  height: 15px;
}
.ut-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px 12px;
  margin-bottom: 10px;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.ut-action-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: wrap;
  position: relative;
}
.ut-secim-text {
  font-size: 12px;
  font-weight: 700;
  color: #0b4f6c;
  margin-right: 2px;
}
.ut-act-link {
  background: transparent !important;
  border: none !important;
  padding: 0 2px;
  font-family: "Times New Roman", Times, serif !important;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b !important;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease;
}
.ut-act-link.active-ready {
  color: #0369a1 !important;
}
.ut-act-link:hover {
  color: #0f172a !important;
}
.ut-act-link.danger {
  color: #f43f5e !important;
}
.ut-act-link.danger:hover {
  color: #be123c !important;
}
.ut-feedback-msg {
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  margin-left: 6px;
}
.ut-action-right {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.ut-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: min(580px, calc(100vh - 280px));
  overflow-y: auto;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}
.ut-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #0b4f6c;
}
.ut-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11.2px;
  color: #1e293b;
}
.ut-table thead tr {
  background: #0b4f6c;
  color: #ffffff;
}
.ut-table th {
  padding: 8px 5px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #083b52;
}
.ut-table td {
  padding: 6px 5px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ut-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.ut-table tbody tr:hover {
  background: #e0f2fe;
}
.ut-table th.col-sec,
.ut-table td.col-sec {
  width: 2.2%;
  text-align: center;
  padding: 6px 2px;
}
.ut-table th.col-ad,
.ut-table td.col-ad {
  width: 8.5%;
  font-weight: 600;
}
.ut-table th.col-profil,
.ut-table td.col-profil {
  width: 3.5%;
  text-align: center;
  padding: 3px 4px;
  vertical-align: middle;
}
.ut-profil-thumb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid #0284c7;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}
.ut-profil-thumb-btn:hover {
  transform: scale(1.22);
  border-color: #0b4f6c;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.35);
  z-index: 5;
  position: relative;
}
.ut-profil-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}
.ut-profil-yok {
  color: #94a3b8;
  font-size: 11px;
  user-select: none;
}
.ut-table th.col-eposta,
.ut-table td.col-eposta {
  width: 11%;
}
.ut-table th.col-brans,
.ut-table td.col-brans {
  width: 10%;
}
.ut-table th.col-unvan,
.ut-table td.col-unvan {
  width: 6.5%;
}
.ut-table th.col-rol,
.ut-table td.col-rol {
  width: 7%;
}
.ut-table th.col-kayit,
.ut-table td.col-kayit {
  width: 5.5%;
  text-align: center;
}
.ut-table th.col-lisans,
.ut-table td.col-lisans {
  width: 5.5%;
  text-align: center;
}
.ut-table th.col-durum,
.ut-table td.col-durum {
  width: 6.5%;
  text-align: center;
}
.ut-table th.col-online,
.ut-table td.col-online {
  width: 5.5%;
  text-align: center;
}
.ut-table th.col-il,
.ut-table td.col-il {
  width: 5%;
  text-align: center;
}
.ut-table th.col-baslama,
.ut-table td.col-baslama {
  width: 8.5%;
}
.ut-table th.col-bitis,
.ut-table td.col-bitis {
  width: 8.5%;
}
.ut-table .ut-date-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 11px;
  padding: 1px 2px;
  height: 24px;
}
.ut-rol-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 24px;
  padding: 1px 4px;
  font-size: 11px;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
}
.ut-date-input {
  width: 100%;
  height: 24px;
  padding: 1px 4px;
  font-size: 10.5px;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  font-family: inherit;
}
.ut-row-check,
.ut-online-check {
  width: 13px;
  height: 13px;
  accent-color: #0284c7;
  cursor: pointer;
}
.ut-table th.kt-uye-sirala {
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.ut-table th.kt-uye-sirala:hover {
  background: #0d5f82 !important;
  color: #e0f2fe !important;
}
.ut-table th.kt-uye-sirala.ut-sort-active {
  color: #7dd3fc !important;
  background: #083b52 !important;
}
.ut-table tbody tr.kt-uye-secili,
.ut-table tbody tr.kt-uye-secili:nth-child(even) {
  background: #e3f2fd !important;
}
.ut-table tbody tr.kt-uye-uyari,
.ut-table tbody tr.kt-uye-uyari:nth-child(even) {
  background: #fff3cd !important;
}
.ut-table tbody tr.kt-uye-dolu,
.ut-table tbody tr.kt-uye-dolu:nth-child(even) {
  background: #e53935 !important;
  color: #ffffff !important;
}
.ut-table tbody tr.kt-uye-dolu td {
  color: #ffffff !important;
}
.ut-table td.kt-uye-lisans-sari {
  font-weight: 700;
  border-radius: 3px;
  background: #fff59d !important;
  color: #4e342e !important;
}
.ut-table td.kt-uye-lisans-kirmizi {
  font-weight: 700;
  border-radius: 3px;
  background: #c62828 !important;
  color: #ffffff !important;
}
.kt-uye-tarih-duzen {
  display: none;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.kt-uye-tarih-duzen.open {
  display: inline-flex;
}
.ut-act-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: none;
}
.ut-top-status-banner {
  display: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.ut-top-status-banner.show {
  display: block;
}
.ut-top-status-banner.info {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}
.ut-top-status-banner.error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}
.ut-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  align-items: center;
  justify-content: center;
  z-index: 3500;
}
.ut-modal-overlay.open {
  display: flex;
}
.ut-modal-card {
  width: min(480px, 94vw);
  max-width: 94vw;
  max-height: 90vh;
  overflow: auto;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px 22px 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
  border: 1px solid #cbd5e1;
  color: #0f172a;
}
.ut-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0b4f6c;
  margin: 0 0 6px 0;
}
.ut-modal-subtitle {
  font-size: 14px;
  color: #475569;
  margin: 0 0 14px 0;
}
.ut-modal-field {
  margin-bottom: 12px;
}
.ut-modal-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}
.ut-modal-input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
}
.ut-modal-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16);
}
.ut-modal-textarea {
  width: 100%;
  height: 92px;
  padding: 8px 10px;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 13.5px;
  line-height: 1.42;
  resize: vertical;
  outline: none;
  margin-bottom: 14px;
  word-break: break-all;
}
.ut-modal-error {
  display: none;
  font-size: 12.5px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 10px;
}
.ut-modal-error.show {
  display: block;
}
.ut-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.ut-modal-btn-primary {
  min-width: 112px;
  height: 38px;
  padding: 0 18px;
  background: #1d4ed8 !important;
  border: 1px solid #1d4ed8 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
}
.ut-modal-btn-primary:hover {
  background: #1e40af !important;
}
.ut-modal-btn-secondary {
  min-width: 112px;
  height: 38px;
  padding: 0 18px;
  background: #ffffff !important;
  border: 1px solid #94a3b8 !important;
  color: #1e293b !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
}
.ut-modal-btn-secondary:hover {
  background: #f1f5f9 !important;
}

/* Yönetim -> Referans Haritası ve 4 Kademeli Panel Şablonu (Sağ Alan Boşluksuz Tam Genişlik) */
#tiledPage:has(#referansView.active) {
  padding: 22px 20px 22px 20px !important;
}
#referansView {
  max-width: 100% !important;
  width: 100% !important;
}
#referansView,
#referansView *,
.ref-sayfa,
.ref-sayfa *,
.leaflet-tooltip.ref-tip {
  font-family: "Times New Roman", Times, serif !important;
}
.ref-sayfa {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  height: 785px;
  min-height: 785px;
  max-height: 785px;
  background: #fcf7ec;
  color: #1a2a32;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 18px 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  box-sizing: border-box;
}
.ref-ust {
  flex: 0 0 auto;
}
.ref-ust h2 {
  margin: 0 0 2px;
  font-weight: 800;
  font-size: 1.75rem;
  color: #0a3d5c;
  letter-spacing: 0.01em;
}
.ref-ozet {
  margin: 0;
  max-width: none;
  line-height: 1.25;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2a32;
}
.ref-ozet-sayi {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 1.35rem;
  color: #00695c;
}
.ref-bos {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a2a32;
}
.ref-govde {
  display: flex;
  gap: 8px;
  align-items: stretch;
  height: 675px;
  min-height: 675px;
  min-width: 0;
  width: 100%;
  flex: 1 1 675px;
}
.ref-harita,
.ref-harita.leaflet-container {
  flex: 1 1 auto;
  min-width: 0 !important;
  max-width: 100%;
  height: 675px !important;
  min-height: 675px !important;
  border: 1px solid #1565a0;
  border-radius: 12px;
  background: #3aa0d8;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(21, 101, 160, 0.22);
  position: relative !important;
  z-index: 0 !important;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.ref-harita svg {
  max-width: none !important;
  overflow: visible !important;
}
.ref-harita path,
.ref-harita svg:focus,
.ref-harita svg *:focus,
.ref-harita .leaflet-interactive,
.ref-harita .leaflet-interactive:focus,
.ref-harita .leaflet-interactive:focus-visible {
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
}
.ref-harita .leaflet-control-container {
  display: none !important;
}
.ref-harita .ref-ad-etiket {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: none;
}
.ref-harita .ref-ad-etiket span {
  display: inline-block;
  transform: translate(-50%, -50%);
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  color: #0a2748;
  font-weight: 800;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 0 2px #fff;
  pointer-events: none;
}
.ref-panel {
  flex: 0 0 220px;
  width: 220px;
  min-width: 0;
  max-width: 100%;
  height: 675px;
  min-height: 675px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 12px;
  border: 1px solid #d7e2e8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-sizing: border-box;
}
.ref-panel h3 {
  margin: 8px 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0a3d5c;
}
.ref-geri {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #00695c !important;
  border-radius: 999px;
  background: #ffffff !important;
  color: #00695c !important;
  font-weight: 700;
  font-size: 9pt;
  cursor: pointer;
}
.ref-geri:hover {
  background: #e0f2f1 !important;
}
.ref-panel-bos {
  margin: 0 0 8px;
  font-size: 9.5pt;
  color: #445;
}
.ref-ilce-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ref-ilce-liste li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  border: 1px solid #e0e7eb;
  border-radius: 8px;
  background: #fafcfd;
}
.ref-ilce-ad {
  font-weight: 700;
  color: #0a3d5c;
}
.ref-ilce-sayi {
  font-size: 8.5pt;
  color: #455a64;
}
.ref-ilce-liste li.ref-ilce-tik {
  cursor: pointer;
}
.ref-ilce-liste li.ref-ilce-tik:hover {
  background: #eef6f8;
}
.leaflet-tooltip.ref-tip,
.ref-harita .leaflet-tooltip.ref-tip {
  display: block;
  font-size: 10pt;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #0a2748;
  border-radius: 6px;
  padding: 3px 8px;
  color: #0a2748;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(10, 39, 72, 0.22);
}

/* --- Yönetim -> Modülleri Güncelle (#modulleriGuncelleView) --- */
.mg-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
}
.mg-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}
.mg-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.mg-title-wrap h2 {
  margin: 0 0 4px 0;
  font-size: 22px;
  font-weight: 800;
  color: #0b4f6c;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mg-title-wrap p {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
}
.mg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
}
.mg-btn-primary {
  background: linear-gradient(135deg, #0b4f6c, #0284c7);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}
.mg-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #083b52, #0369a1);
  transform: translateY(-1px);
}
.mg-btn-success {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.24);
}
.mg-btn-success:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-1px);
}
.mg-btn-outline {
  background: #f8fafc;
  color: #0b4f6c;
  border-color: #94a3b8;
}
.mg-btn-outline:hover:not(:disabled) {
  background: #e0f2fe;
  border-color: #0284c7;
}
.mg-btn-danger {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fca5a5;
}
.mg-btn-danger:hover:not(:disabled) {
  background: #fee2e2;
  border-color: #ef4444;
}
.mg-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.mg-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.mg-stat-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0b4f6c;
  border-radius: 10px;
  padding: 10px 14px;
}
.mg-stat-box.cok-modullu { border-left-color: #0284c7; }
.mg-stat-box.tek-modullu { border-left-color: #6366f1; }
.mg-stat-box.toplam-modul { border-left-color: #059669; }
.mg-stat-box.kaldirilan { border-left-color: #dc2626; }
.mg-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.mg-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}
.mg-stat-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}
.mg-progress-wrap {
  display: none;
  margin-top: 14px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
}
.mg-progress-wrap.show {
  display: block;
}
.mg-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #0b4f6c;
  margin-bottom: 6px;
}
.mg-progress-bar {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.mg-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0b4f6c, #0284c7, #10b981);
  transition: width 0.25s ease;
}
.mg-feedback-banner {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.mg-feedback-banner.show {
  display: block;
}
.mg-feedback-banner.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}
.mg-diff-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
}
.mg-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.mg-badge.yeni {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.mg-badge.guncel {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #7dd3fc;
}
.mg-badge.kapanan {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.mg-badge.meta {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  font-weight: 600;
}
.mg-diff-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mg-select-inline {
  padding: 7px 11px;
  border-radius: 8px;
  border: 1.5px solid #94a3b8;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.mg-3col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mg-col-box {
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  height: 360px;
  overflow: hidden;
}
.mg-col-box.yeni-col { border-top: 4px solid #10b981; }
.mg-col-box.guncel-col { border-top: 4px solid #0284c7; }
.mg-col-box.kapanan-col { border-top: 4px solid #ef4444; }
.mg-col-head {
  padding: 10px 14px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mg-col-head-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mg-col-subfilter {
  padding: 6px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.mg-col-subfilter input {
  width: 100%;
  padding: 5px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 12.5px;
}
.mg-col-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mg-diff-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  transition: border-color 0.15s ease;
}
.mg-diff-item:hover {
  border-color: #94a3b8;
}
.mg-diff-item label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  font-size: 13px;
  color: #0f172a;
}
.mg-diff-item-title {
  font-weight: 700;
  line-height: 1.3;
  display: block;
}
.mg-diff-item-sub {
  font-size: 11.5px;
  color: #64748b;
  display: block;
  margin-top: 2px;
}
.mg-diff-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  background: #f1f5f9;
  color: #0b4f6c;
  border: 1px solid #cbd5e1;
}
.mg-empty-msg {
  margin: auto;
  text-align: center;
  color: #64748b;
  font-size: 13px;
  padding: 20px;
}
.mg-katalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.mg-search-input {
  flex: 1;
  min-width: 260px;
  padding: 9px 14px;
  border: 1.5px solid #94a3b8;
  border-radius: 9px;
  font-size: 13.5px;
  color: #0f172a;
}
.mg-filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mg-tab-btn {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.mg-tab-btn.active {
  background: #0b4f6c;
  color: #ffffff;
  border-color: #0b4f6c;
}
.mg-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  max-height: 520px;
  overflow-y: auto;
}
.mg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mg-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #0b4f6c;
  color: #ffffff;
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
  white-space: nowrap;
}
.mg-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}
.mg-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.mg-table tbody tr:hover {
  background: #e0f2fe;
}
.mg-table td {
  padding: 8px 12px;
  vertical-align: middle;
}
.mg-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.mg-pill.cok {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}
.mg-pill.tek {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #c4b5fd;
}
.mg-pill.aktif {
  background: #dcfce7;
  color: #166534;
}
.mg-pill.kaldirildi {
  background: #fee2e2;
  color: #991b1b;
}
.mg-row-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #94a3b8;
  background: #ffffff;
  color: #0b4f6c;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-right: 4px;
}
.mg-row-btn:hover {
  background: #0b4f6c;
  color: #ffffff;
  border-color: #0b4f6c;
}
.mg-row-btn.danger {
  color: #dc2626;
  border-color: #fca5a5;
}
.mg-row-btn.danger:hover {
  background: #dc2626;
  color: #ffffff;
}
.mg-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: #475569;
}
.mg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3500;
  padding: 20px;
}
.mg-modal-overlay.open {
  display: flex;
}
.mg-modal-card {
  background: #ffffff;
  border-radius: 14px;
  width: min(860px, 96vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 1.5px solid #cbd5e1;
  overflow: hidden;
}
.mg-modal-head {
  padding: 16px 20px;
  background: #0b4f6c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mg-modal-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.mg-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mg-form-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.9fr 0.9fr 0.9fr;
  gap: 10px;
}
.mg-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}
.mg-field input, .mg-field select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #94a3b8;
  border-radius: 8px;
  font-size: 13px;
  color: #0f172a;
}
.mg-modul-list-wrap {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mg-modul-row {
  display: grid;
  grid-template-columns: 36px 1fr 120px 72px;
  gap: 8px;
  align-items: center;
  background: #ffffff;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.mg-modul-idx {
  font-weight: 800;
  color: #0b4f6c;
  text-align: center;
  font-size: 13px;
}
.mg-modal-foot {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* --- Yönetim -> Rapor & Rapor (Üye) (#yonetimRaporView & #yonetimRaporUyeView) Stilleri --- */
.yr-container {
  width: min(1420px, 96vw);
  margin: 14px auto 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: "Times New Roman", Times, serif;
}
.yr-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.yr-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0b4f6c;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 8px;
}
.yr-top-badge.uye {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}
.yr-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.yr-title {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
  color: #0b4f6c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yr-subtitle {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}
.yr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.yr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.yr-btn:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}
.yr-btn.primary {
  background: #0b4f6c;
  border-color: #0b4f6c;
  color: #ffffff;
}
.yr-btn.primary:hover {
  background: #083b52;
}
.yr-btn.excel {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}
.yr-btn.excel:hover {
  background: #047857;
}
.yr-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}
.yr-filter-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.yr-filter-item label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
}
.yr-filter-item select,
.yr-filter-item input {
  height: 34px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #0f172a;
  font-size: 12.5px;
  font-family: inherit;
}
.yr-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.yr-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #0b4f6c;
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.yr-stat-card.kadin-erkek { border-left-color: #0284c7; background: #f0f9ff; }
.yr-stat-card.basari { border-left-color: #16a34a; background: #f0fdf4; }
.yr-stat-card.uyari { border-left-color: #d97706; background: #fffbeb; }
.yr-stat-card.tehlike { border-left-color: #dc2626; background: #fef2f2; }
.yr-stat-card.mor { border-left-color: #7c3aed; background: #f5f3ff; }
.yr-stat-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}
.yr-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}
.yr-stat-sub {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}
.yr-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.yr-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.yr-tab-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.yr-tab-btn.active {
  background: #0b4f6c;
  border-color: #0b4f6c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 79, 108, 0.22);
}
.yr-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 11px;
  font-weight: 800;
}
.yr-tab-btn.active .yr-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.yr-section-block {
  position: relative;
  margin-bottom: 16px;
}
.yr-section-block:last-child {
  margin-bottom: 0;
}
.yr-section-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 40px;
  min-height: 40px;
  margin: 4px 0 0 0;
  padding: 10px 4px 8px 4px;
  box-sizing: border-box;
  flex-wrap: nowrap;
}
/* Tablo üst köşelerinin yuvarlaklığından kayan satırların görünmesini engelleyen beyaz maske */
.yr-section-head::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -11px;
  height: 11px;
  background: #ffffff;
  pointer-events: none;
}
.yr-section-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #0b4f6c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yr-section-note {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.yr-table-wrap {
  width: 100%;
  overflow: visible;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 14px;
}
.yr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12.5px;
  color: #0f172a;
}
.yr-table th,
.yr-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: middle;
}
.yr-table th:first-child,
.yr-table td:first-child {
  border-left: 1px solid #cbd5e1;
}
.yr-table th:last-child,
.yr-table td:last-child {
  border-right: 1px solid #cbd5e1;
}
.yr-table thead th {
  background: #0f4c64;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  position: sticky;
  top: 40px;
  z-index: 31;
  border-top: 1px solid #0f4c64;
  border-bottom: 1px solid #0b3d52;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}
.yr-table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
  border-left-color: #0f4c64;
}
.yr-table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
  border-right-color: #0f4c64;
}
.yr-table tbody tr {
  background: #ffffff;
}
.yr-table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.yr-table tbody tr:hover {
  background: #f0f9ff;
}
.yr-table:not(:has(tfoot)) tbody tr:last-child td {
  border-bottom: 1px solid #cbd5e1;
}
.yr-table:not(:has(tfoot)) tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
.yr-table:not(:has(tfoot)) tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
.yr-table tfoot th,
.yr-table tfoot td {
  background: #f1f5f9;
  font-weight: 800;
  color: #0b4f6c;
  border-top: 2px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
}
.yr-table tfoot tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}
.yr-table tfoot tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
.yr-num {
  text-align: center !important;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.yr-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.yr-badge.ok { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.yr-badge.warn { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.yr-badge.danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.yr-badge.info { background: #e0f2fe; color: #075985; border: 1px solid #7dd3fc; }
.yr-badge.neutral { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.yr-progress {
  width: 100%;
  min-width: 72px;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 3px;
}
.yr-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: #0284c7;
}
.yr-progress-bar.ok { background: #16a34a; }
.yr-progress-bar.warn { background: #d97706; }
.yr-progress-bar.danger { background: #dc2626; }
.yr-empty {
  text-align: center !important;
  padding: 24px 12px !important;
  color: #64748b;
  font-weight: 600;
}

#tiledPage:has(#apiAnahtariView.active) {
  padding: 22px 20px 22px 20px !important;
}
#apiAnahtariView {
  max-width: 1180px !important;
  width: 1180px !important;
}
#apiAnahtariView .kt-header {
  align-items: flex-start;
  border-bottom: none;
  padding-bottom: 0;
  flex-wrap: wrap;
}
#apiAnahtariView .kt-title-group h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: #0b4f6c;
  letter-spacing: 0.2px;
}
#apiAnahtariView .kt-title-group p {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  max-width: 720px;
}
#apiAnahtariView .ktp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
#apiAnahtariView .ktp-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
}
#apiAnahtariView .ktp-field label {
  font-size: 12px;
  font-weight: 700;
  color: #0b4f6c;
}
#apiAnahtariView .ktp-field select,
#apiAnahtariView .ktp-field input {
  padding: 7px 10px;
  border: 1px solid #94a3b8;
  border-radius: 7px;
  font-size: 13px;
  background: #ffffff;
  color: #0f172a;
  font-family: inherit;
}
#apiAnahtariView .ktp-official-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10pt;
  margin-top: 8px;
  background: #fff;
}
#apiAnahtariView .ktp-official-table th,
#apiAnahtariView .ktp-official-table td {
  border: 1px solid #222222;
  padding: 4px 6px;
  vertical-align: middle;
}
#apiAnahtariView .ktp-official-table th {
  background: #eef3f6;
  font-weight: 700;
  text-align: center;
  color: #0f172a;
}
#apiAnahtariView .api-anahtar-hucre {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  word-break: break-all;
}

/* Rapor: :has() olmadan da sağ 500px boşluk kalksın (Yandex/Chrome aynı genişlik) */
#tiledPage.yr-sayfa {
  padding: 0 20px 22px 20px !important;
}
#yonetimRaporView .yr-stats-grid,
#yonetimRaporUyeView .yr-stats-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
#yonetimRaporView .yr-filter-bar {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
#yonetimRaporUyeView .yr-filter-bar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* --- Yönetim -> Yedek Al (#yedekAlView) & VPS Durum (#vpsDurumView) Ortak Kurumsal Tasarım --- */
#tiledPage:has(#yedekAlView.active),
#tiledPage:has(#vpsDurumView.active) {
  padding: 20px 22px 26px 20px !important;
}

#yedekAlView,
#vpsDurumView {
  max-width: 100% !important;
  width: 100% !important;
  font-family: "Times New Roman", Times, serif;
}

.yv-top-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.yv-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.yv-status-pill.uyari {
  background: #fffbeb;
  color: #92400e;
  border-color: #fcd34d;
}
.yv-status-pill.tehlike {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}
.yv-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.yv-stats-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
@media (max-width: 1280px) {
  .yv-stats-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .yv-stats-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.yv-stat-card {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #0b4f6c;
  border-radius: 11px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.yv-stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
.yv-stat-card.mavi { border-left-color: #0284c7; background: #f0f9ff; }
.yv-stat-card.yesil { border-left-color: #059669; background: #f0fdf4; }
.yv-stat-card.mor { border-left-color: #7c3aed; background: #f5f3ff; }
.yv-stat-card.turuncu { border-left-color: #d97706; background: #fffbeb; }
.yv-stat-card.zumrut { border-left-color: #0d9488; background: #f0fdfa; }
.yv-stat-card.kirmizi { border-left-color: #dc2626; background: #fef2f2; }

.yv-stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.yv-stat-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.25px;
}
.yv-stat-icon {
  font-size: 15px;
  line-height: 1;
}
.yv-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}
.yv-stat-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
}

.yv-mini-meter {
  height: 7px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 3px;
}
.yv-mini-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b4f6c, #0284c7);
  transition: width 0.35s ease;
}
.yv-mini-meter-fill.yesil {
  background: linear-gradient(90deg, #059669, #10b981);
}
.yv-mini-meter-fill.turuncu {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}
.yv-mini-meter-fill.kirmizi {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

/* İkili İşlem / Analiz Kartları Grid */
.yv-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px) {
  .yv-dual-grid {
    grid-template-columns: 1fr;
  }
}

.yv-action-panel {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.yv-action-panel.create-panel {
  border-top: 4px solid #0b4f6c;
}
.yv-action-panel.restore-panel {
  border-top: 4px solid #059669;
}
.yv-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.yv-panel-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: #0b4f6c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.yv-panel-desc {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
}
.yv-scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.yv-scope-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.yv-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.yv-quick-tag-btn {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.yv-quick-tag-btn:hover {
  background: #e0f2fe;
  color: #0b4f6c;
  border-color: #7dd3fc;
}

.yv-form-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}
@media (max-width: 640px) {
  .yv-form-row {
    grid-template-columns: 1fr;
  }
}
.yv-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.yv-field label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}
.yv-select,
.yv-input {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  font-family: inherit;
}
.yv-select:focus,
.yv-input:focus {
  outline: none;
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14);
}

.yv-dropzone {
  border: 2px dashed #94a3b8;
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  transition: all 0.18s ease;
}
.yv-dropzone:hover,
.yv-dropzone.has-file {
  border-color: #0284c7;
  background: #f0f9ff;
}
.yv-dropzone-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.yv-dropzone-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #e0f2fe;
  color: #0b4f6c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.yv-dropzone-title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}
.yv-dropzone-sub {
  font-size: 11.5px;
  color: #64748b;
}

/* VPS Durum Özel Görsel Barlar */
.vps-big-gauge {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.vps-big-gauge-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.vps-big-gauge-title {
  font-size: 15px;
  font-weight: 800;
  color: #0b4f6c;
}
.vps-big-gauge-pct {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.vps-big-bar {
  height: 16px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.12);
}
.vps-big-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0b4f6c 0%, #0284c7 60%, #10b981 100%);
  transition: width 0.4s ease;
}
.vps-big-gauge-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.vps-legend-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
}
.vps-legend-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.vps-legend-val {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 1px;
}

.vps-folder-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.vps-folder-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 8px 12px;
}
.vps-folder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.vps-folder-path {
  font-family: Consolas, monospace;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}
.vps-folder-bar {
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.vps-folder-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

