@import "tailwindcss";

:root {
  --foreground: #04060F;
  --background: #ffffff;
  --primary: #246BFD;
  --secondary: #9FA8BC;
  --danger: #F33F19;
  --cinder: #E7E5E4;
}

[ data-theme="dark"] {
  --background: #04060F;
  --foreground: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --foreground: #04060F;
    --background: #ffffff;
  }
}

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

.input-form {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5dc;
  border-radius: 9999px;
  color: black;

  &:focus {
    outline-color: none;
  }
}

.input-label {
  position: absolute;
  left: 12px;
  top: -0.45rem;
  background-color: white;
  padding-inline: 4px;
  z-index: 1;
}

.btn-floating {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-auth {
  border-radius: 9999px;
  background-color: #246BFD;
  color: white;
  width: 100%;
  padding: 8px;
  cursor: pointer;

  &:hover {
    background-color: rgb(22, 77, 185);
  }
}