/* ---------------------- Auth Pages (Login / Sign Up) ------------------------ */
:root {
  --font-med: 22px;
  --font-small: 20px;
  --font-large: 24px;
  --bg-color: grey;
  --text-color: white;
}

body:has(.authContainer) {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "pixel";
}

a {
  color: rgb(14, 42, 200);
}

.authContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 90%;
  max-width: 380px;
  padding: 2rem 1.75rem;
  border: 1px solid var(--text-color);
  box-sizing: border-box;
}

.authContainer form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.authContainer label {
  font-size: var(--font-small);
}

.authContainer input {
  background-color: inherit;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  font-family: "pixel";
  font-size: var(--font-small);
  padding: 0.6rem 0.5rem;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  margin-top: 0.3rem;
  transition: border-color 0.2s ease;
}

.authContainer input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.authContainer input:focus {
  border-color: rgb(0, 0, 255);
}

.authContainer button[type="submit"] {
  margin-top: 0.5rem;
  height: 40px;
  cursor: pointer;
  border: 1px solid var(--text-color);
  background-color: inherit;
  color: var(--text-color);
  font-family: "pixel";
  font-size: var(--font-small);
  transition: 0.3s all ease;
}

.authContainer button[type="submit"]:hover {
  background-color: var(--text-color);
  color: var(--bg-color);
}

.authContainer button[type="submit"]:active {
  transform: translate(0, -2px);
}

.authContainer ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.authContainer ul:not(:empty) {
  border: 1px solid rgb(255, 80, 80);
  padding: 0.6rem 0.75rem;
  box-sizing: border-box;
}

.authContainer ul li {
  color: rgb(255, 120, 120);
  font-size: calc(var(--font-small) - 4px);
}

.authContainer > div:not(.anchorContainer):not(:empty) {
  width: 100%;
  box-sizing: border-box;
  color: var(--text-color);
  font-size: calc(var(--font-small) - 4px);
}

.anchorContainer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: calc(var(--font-small) - 4px);
}

.anchorContainer p,
.anchorContainer div {
  margin: 0;
}

.anchorContainer a {
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s ease;
}

.anchorContainer a:hover {
  border-bottom-color: rgb(120, 140, 255);
}
.askIfAccount {
  display: flex;
  justify-content: center;
  color: rgb(120, 140, 255);
  align-items: center;
}
@media screen and (max-width: 587px) {
  .authContainer {
    padding: 1.5rem 1.25rem;
    color: rgb(120, 140, 255);
  }
}
