@import "tailwindcss";

@layer base {
  :root {
    --background: #0c1418;
    --foreground: #ffffff;
    --primary: #158BF9;
    --primary-dark: #1070d8;
    --danger: #EB483F;
    --success: #22c55e;
    --border-color: #263136;
    --card-bg: #141D22;
    --input-bg: #1c2a31;
    --subtle-bg: #0f171b;
  }

  html {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    margin: 0;
    padding: 0;
    background-color: var(--background);
    color: var(--foreground);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--background);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: #3f474b;
  }

  /* Remove number input arrows */
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
  }

  /* Input focus styles */
  input:focus, button:focus {
    outline: 2px solid rgba(21, 139, 249, 0.3);
    outline-offset: 2px;
  }
}


 @keyframes shimmer {
    0% { transform: translateX(-100%) skewX(-12deg); }
    100% { transform: translateX(200%) skewX(-12deg); }
  }
.animate-shimmer {
    animation: shimmer 3s infinite;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out;
}