.login-dialog-whole-screen {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

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

.login-dialog-username,
.login-dialog-password {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  background-color: var(--documentation-background-color);
  border: 1px solid var(--input-border-color);
  color: var(--body-text-color);
}

.login-dialog-buttons {
  margin-bottom: 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
}

.login-dialog-form {
  background-color: var(--documentation-background-color);
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  margin: 16px;
  padding: 20px;
  color: var(--body-text-color);
}

.login-dialog-register {
  text-align: center;
}

.auth-buttons {
  display: flex;
  gap: 8px;
  flex-direction: row;
}

.auth-button {
  padding: 8px 15px;
  background-color: #6c5ce7;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  line-height: normal;
  text-align: center;
}

.auth-button:active,
.auth-button:focus,
.auth-button:visited {
  color: rgb(255, 255, 186);
}

@media only screen and (min-width: 648px) {
  .auth-button:hover {
    color: rgb(255, 255, 186);
  }

  .login-dialog-form {
    height: auto;
  }

  .auth-buttons {
    flex-direction: row;
  }
}
