body {
  background: linear-gradient(to right, #001, #112, #334);
  font-family: "Poppins", sans-serif;
}

#form {
  width: 300px;
  margin: 20vh auto 0 auto;
  padding: 20px;
  background-color: whitesmoke;
  border-radius: 4px;
  font-size: 13px;
}

#form h1 {
  color: #0f2027;
  text-align: center;
}

#form button {
  padding: 10px;
  margin-top: 10px;
  width: 100%;
  color: white;
  background-color: #334;
  border: none;
  border-radius: 4px;
}

.input-control {
  display: flex;
  flex-direction: column;
}

.input-control input {
  border: 2px solid #f0f0f0;
  border-radius: 4px;
  display: block;
  font-size: 12px;
  padding: 10px;
  width: auto;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.input-control input:focus {
  outline: 0;
  border-color: #445;
  box-shadow: 0 0 5px rgba(108, 99, 255, 0.5);
  transition: all 0.3s ease;
}

.input-control.success input {
  border-color: #09c372;
}

.input-control.error input {
  border-color: #ff3860;
}

.input-control .error {
  color: #ff3860;
  font-size: 9px;
  height: 13px;
}
.success-banner {
  background-color: #38b000;
  color: white;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease-in-out;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Login Page */
body {
  background: linear-gradient(to right, #001, #112, #334);
  font-family: "Poppins", sans-serif;
}

#login-form {
  width: 300px;
  height: auto;
  margin: 20vh auto 0 auto;
  padding: 20px;
  background-color: whitesmoke;
  border-radius: 4px;
  font-size: 13px;
}

#login-form h1 {
  color: #0f2027;
  text-align: center;
}

#login-form button {
  padding: 10px;
  margin-top: 10px;
  width: 100%;
  color: white;
  background-color: #334;
  border: none;
  border-radius: 4px;
}

.input-control {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

.input-control input {
  border: 2px solid #f0f0f0;
  border-radius: 4px;
  display: block;
  font-size: 12px;
  padding: 10px;
  width: auto;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.input-control input:focus {
  outline: 0;
  border-color: #445;
  box-shadow: 0 0 5px rgba(108, 99, 255, 0.5);
  transition: all 0.3s ease;
}

.input-control.success input {
  border-color: #09c372;
}

.input-control.error input {
  border-color: #ff3860;
}

.input-control .error {
  color: #ff3860;
  font-size: 9px;
  height: 13px;
}

.success-banner {
  background-color: #38b000;
  color: white;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease-in-out;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
