@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background: #ffffff;
  --foreground: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
}

@layer components {

  .btn {
    @apply px-4 py-2 rounded-md;
  }

  .btn-sucesso {
    @apply btn;
    @apply bg-green-500 text-white hover:bg-green-400;
  }

  .btn-info {
    @apply btn;
    @apply bg-orange-500 text-white hover:bg-orange-400;
  }

  .btn-erro {
    @apply btn;
    @apply bg-red-500 text-white hover:bg-red-400;
  }

}

/* .minha-classe {
  @apply bg-red-400 text-yellow-200
} */


