@charset "UTF-8";

/* =========================================================
   051 DB API Connection Tester & Diagnostics Styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light dark;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Noto Sans KR', sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.font-mono-code {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
}

/* 라이트/다크 인풋 고대비 */
html:not(.dark) input[type="text"],
html:not(.dark) textarea {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

html.dark input[type="text"],
html.dark textarea {
  background-color: #1e293b !important;
  color: #f8fafc !important;
  border-color: #334155 !important;
}

/* 펄스 애니메이션 */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.95);
  }
}

.status-pulse {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* 커스텀 스크롤바 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

html.dark ::-webkit-scrollbar-thumb {
  background: #475569;
}
