/* Auth page styles */
:root {
  /* Colors */
  --color-red: #ff5b49;
  --color-black: #000000;
  --color-purple: #afb1ff;
  --color-green: #16d0a6;

  /* Font sizes */
  --font-size-title: 53px;
  --font-size-large: 26px;
  --font-size-small: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter Tight", sans-serif;
  background-color: var(--color-black);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
}

.auth-container {
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

#auth-form {
  display: flex;
  justify-content: center;
}

#password-input {
  font-family: "Inter Tight", sans-serif;
  font-size: var(--font-size-large);
  padding: 1rem 1.5rem;
  border: 2px solid white;
  border-radius: 50px;
  background-color: transparent;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 300px;
  transition: border-color 0.3s ease;
}

#password-input:focus {
  outline: none;
  border-color: white;
}

#password-input.shake {
  animation: shake 0.5s;
  border-color: var(--color-red);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}
