.container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-wrapper {
  width: calc(100% - 40px);
  border-radius: 25px;
  max-width: 600px;
  background-color: var(--accent-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}
.logo {
  width: 164px;
}
.auth-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.input-label {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 14px;
  width: 100%;
  background-color: #fff;
  border-radius: 16px;
}
.input-icon {
  width: 32px;
}
.input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 500;
}
.input::placeholder {
  color: rgba(22, 11, 14, 0.8);
  font-weight: 400;
}
.submit-button {
  margin: 0 auto;
  padding: 12px 24px;
  width: 300px;
  height: 72px;
  border: 3px solid var(--brand-color);
  border-radius: 16px;
  text-transform: uppercase;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}
.login-button {
  background-color: var(--brand-color);
  margin-top: 30px;
}
.register-button {
  background-color: rgba(177, 32, 84, 0.65);
}

@media screen and (max-width: 768px) {
  .form-wrapper {
    padding: 40px 30px;
    gap: 50px;
  }
  .logo {
    width: 140px;
  }
  .input-label {
    gap: 16px;
    height: 60px;
  }
  .input-icon {
    width: 24px;
  }
  .input {
    font-size: 18px;
  }
  .submit-button {
    height: 60px;
    font-size: 18px;
  }
}

@media screen and (max-width: 425px) {
  .form-wrapper {
    width: calc(100% - 30px);
  }
  .form-wrapper {
    padding: 30px 20px;
  }
  .logo {
    width: 120px;
  }
  .auth-form {
    gap: 24px;
  }
  .input-label {
    height: 56px;
    gap: 16px;
    border-radius: 14px;
    padding: 12px;
  }
  .submit-button {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }
}

@media screen and (max-width: 375px) {
  .form-wrapper {
    width: calc(100% - 20px);
  }
  .form-wrapper {
    padding: 30px 15px;
  }
  .input-label {
    height: 50px;
    gap: 12px;
    border-radius: 12px;
    padding: 10px;
  }
  .input {
    font-size: 16px;
  }
  .submit-button {
    height: 50px;
  }
}


/* Alert styles */
.alert {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: -20px;
}

.alert-error {
  background-color: rgba(255, 100, 100, 0.2);
  border: 1px solid rgba(255, 100, 100, 0.5);
  color: #fff;
}

/* Register button as link */
a.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

a.submit-button:hover {
  opacity: 0.9;
}

/* Forgot password link */
.forgot-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  margin-top: -50px;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #fff;
  text-decoration: underline;
}
