/* ==========================================================
   KUVEYT TÜRK KURUMSAL & AML OPERASYON MERKEZİ
   Özgün Kurumsal / Fintek Terminal Teması (Non-AI Bespoke Design)
   ========================================================== */

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #12151c;
  --bg-surface: #181d26;
  --border-subtle: #232936;
  --border-focus: #3b4457;
  --text-main: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #545d68;
  --kt-green: #008853;
  --kt-green-hover: #00a866;
  --aml-red: #da3633;
  --aml-red-hover: #f85149;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}

/* Monospace Etiketler */
.font-mono-clean {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-feature-settings: "zero" 1;
}

/* Panel Kartları & Çerçeveler */
.terminal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.terminal-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-focus);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #485368;
}

/* Sekmeler */
.tab-link {
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}
.tab-link:hover {
  color: var(--text-main);
}
.tab-link.active {
  color: #ffffff;
  border-bottom-color: var(--kt-green);
  font-weight: 600;
}

/* Rapor Metin Formatı */
.report-body {
  font-size: 12.5px;
  line-height: 1.65;
  color: #c9d1d9;
}
.report-body strong {
  color: #ffffff;
  font-weight: 600;
}
.report-body a {
  color: #58a6ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(88, 166, 255, 0.4);
}
.report-body a:hover {
  color: #79c0ff;
  border-bottom-style: solid;
}
.report-body hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 16px 0;
}

/* Butonlar */
.btn-aml {
  background-color: var(--aml-red);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  border-radius: 6px;
  padding: 7px 14px;
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-aml:hover {
  background-color: var(--aml-red-hover);
}

.btn-kt {
  background-color: var(--kt-green);
  color: #ffffff;
  font-weight: 600;
  font-size: 12px;
  border-radius: 6px;
  padding: 7px 14px;
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-kt:hover {
  background-color: var(--kt-green-hover);
}

.btn-secondary {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  border-radius: 6px;
  padding: 6px 12px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-secondary:hover {
  background-color: var(--border-subtle);
  color: var(--text-main);
}

/* Hatalı Giriş Animasyonu */
@keyframes loginShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.login-shake {
  animation: loginShake 0.4s ease-in-out;
}
