/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* PAGE BACKGROUND */
body {
  background-color: #1600c1; /* Discord-style dark blue */
  font-family: var(--font-main);
  line-height: 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-weight: inherit;
  font-style: inherit;
}

/* GENERIC TAGS */
h1, p {
  line-height: 1.25;
  vertical-align: baseline;
}

h1 {
  font-family: inherit;
  font-weight: 600;
  font-size: 24px;
  color: var(--headline-color);
}

p {
  line-height: 20px;
  color: var(--normal-text-color);
  font-size: 16px;
  font-weight: 400;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* PAGE LAYOUT */
.login-page {
  height: 100vh;
  width: 100vw;
  position: relative;
}

.svg-logo-text {
  position: absolute;
  top: 48px;
  left: 48px;
}

.main {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* AUTH BOX */
.authBox {
  background: var(--form-background);
  width: 100%;
  max-width: 416px;
  margin: auto;
  padding: 32px;
  border-radius: 5px;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-form-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* FORM FIELDS */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.email-wrapper,
.password-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

label {
  color: var(--label-color);
  font-weight: 700;
  font-size: 12px;
}

label .required {
  color: var(--required-color);
}

input {
  background: var(--input-bg);
  color: var(--input-color);
  border-radius: 3px;
  padding: 10px;
  border: none;
  outline: none;
  height: 40px;
  font-size: 16px;
  width: 100%;
}

/* LINKS & BUTTONS */
.forgot-password {
  margin: 4px 0 20px;
}

.forgot-password a {
  font-size: 14px;
  font-weight: 500;
}

.login {
  margin-bottom: 12px;
}

.login button {
  width: 100%;
  background: var(--btn-bg);
  color: #fff;
  border: none;
  border-radius: 3px;
  height: 44px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.17s ease;
}

.login button:hover {
  background: var(--btn-bg-hover);
}

.small-register {
  display: flex;
  gap: 4px;
}

.small-register span {
  color: var(--need-account);
  font-size: 14px;
}

.small-register a {
  font-size: 14px;
  font-weight: 500;
}

/* SUPER-TINY SCREEN TWEAK */
@media (max-width: 360px) {
  .authBox {
    padding: 16px;
    gap: 16px;
  }
  h1 {
    font-size: 1.25rem;
  }
}