/* Minimalist & Responsive Styles for iqinix.space */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light dark;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

/* Minimalist Card Transitions */
.minimal-card {
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.minimal-card:hover {
  transform: translateY(-1px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

.dark ::-webkit-scrollbar-track {
  background: #09090b;
}

.dark ::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

html:not(.dark) ::-webkit-scrollbar-track {
  background: #f4f4f5;
}

html:not(.dark) ::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 4px;
}

html:not(.dark) ::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* Minimal Toast */
#toast {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-hidden {
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
}

.toast-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
