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

:root {
  --bg-main: #090d16;
  --bg-surface: #0f1422;
  --bg-card: #131929;
  --bg-card-hover: #171f33;
  --border-color: #1e2638;
  --border-light: rgba(255, 255, 255, 0.08);
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Crisp Clean Panel Card */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
}

.glass-modal {
  background: #0e1322;
  border: 1px solid #252f47;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

/* Professional Solid & Subtle Button Styles */
.glow-btn, .btn-primary {
  background: #4f46e5;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid #6366f1;
  transition: all 0.15s ease-in-out;
}

.glow-btn:hover, .btn-primary:hover {
  background: #4338ca;
  border-color: #4f46e5;
  transform: translateY(-1px);
}

.glow-btn:active, .btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #171e2e;
  color: #e2e8f0;
  border: 1px solid #263147;
  transition: all 0.15s ease-in-out;
}

.btn-secondary:hover {
  background: #1e273c;
  color: #ffffff;
  border-color: #334155;
}

.btn-danger {
  background: rgba(244, 63, 94, 0.1);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.25);
  transition: all 0.15s ease-in-out;
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.2);
  border-color: rgba(244, 63, 94, 0.4);
}

/* Modern Clean Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="url"],
select,
textarea {
  background-color: #0c101a;
  border: 1px solid #1e273a;
  color: #f8fafc;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #6366f1;
  outline: none;
  box-shadow: 0 0 0 1px #6366f1;
}

/* Clean Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #232c40;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Live indicator dot */
@keyframes krypt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.krypt-live-dot {
  animation: krypt-pulse 2s infinite ease-in-out;
}

/* Code container */
pre code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.825rem;
}

/* Toast notification */
.toast-enter {
  transform: translateY(12px);
  opacity: 0;
}
.toast-show {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
