/* KAP Watch · Dashboard custom styles */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Clamp text */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scrollbar (light) */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #eef0f4; }
::-webkit-scrollbar-thumb { background: #cbd2de; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #aab3c4; }

/* Active tab style */
.tab-btn.active {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

/* Açık temada beyaz kartlara hafif derinlik (bg-kap-card = #ffffff). */
.bg-kap-card {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Subtle pulse for status dot */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
#status-dot {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* Print-friendly */
@media print {
  header, footer, .tab-btn, #btn-refresh { display: none !important; }
  body { background: white; color: black; }
}
