* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  height: 100vh;
  display: grid;
  place-content: center;
  font-family: "Inter", sans-serif;
}
.loginBox {
  margin: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 400px;
}
.logo {
  height: 150px;
  width: 150px;
  display: block;
}
.header {
  font-size: 22px;
  font-weight: bolder;
  text-align: center;
  margin-bottom: 0.5rem;
}
.subheader {
  font-weight: 16px;
  font-weight: light;
  text-align: center;
}
form {
  position: relative;
  margin-top: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.inputs {
  width: 100%;
  padding: 1rem;
  background-color: white;
  color: black;
  border: 1px solid #d2d5da;
  border-radius: 5px;
}
input:active,
input:focus {
  border: 1px solid #d2d5da;
  border-radius: 5px;
  outline: none;
}
.passwordbox {
  display: flex;
  align-items: center;
  gap: 2px;
}
.passwordInput,
.passwordInput:active,
.passwordInput:focus {
  flex-grow: 1;
  border: none;
  outline: none;
  height: inherit;
  background-color: transparent;
}
.registerButton {
  background-color: #4e1f46;
  padding: 0.8rem 0.5rem;
  color: white;
  border-radius: 1.5rem;
  width: 35%;
  margin: 0 auto;
  font-size: 16px;
  font-weight: bold;
}
.registerButton:hover {
  background-color: hsla(310, 43%, 21%, 0.712);
}
span {
  font-size: 10px;
  text-align: center;
  color: #5a2a5e;
}
.spanText {
  font-size: 14px;
  text-align: center;
}
.authButton {
  position: absolute;
  top: 0;
  right: -60px;
  background-color: #5a2a5e;
  padding: 2px;
  color: white;
  font-weight: bold;
}

.flashes {
  list-style: none;
  padding: 0;
}

.success {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  border: 1px solid #c3e6cb;
  margin-bottom: 10px;
  border-radius: 4px;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border: 1px solid #f5c6cb;
  margin-bottom: 10px;
  border-radius: 4px;
}
