.login {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid rgba(128, 128, 128, 0.801);
    padding: 40px 30px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    transform: translate(-50%, -50%);
    transition: transform 300ms, box-shadow 300ms;
    box-shadow: 5px 10px 10px rgba(2, 128, 144, 0.2);
    text-align: center;
}

.login::before, .login::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 40% 45% 35% 40%;
    z-index: -1;
}

.login-logo {
    height: 100px;
    width: 100px;
    display: block;
    margin: 0 auto 20px;
}

.button-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

.button-row button {
  width: 100%;
}

mat-form-field {
    width: 100%;
}

.invalid {
    border: 1px solid red;
}

.error-message {
    color: red;
    margin-top: 10px;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating {
  animation: rotate360 0.6s cubic-bezier(.42,0,1,1) infinite;
}
