.user-page {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8fafc;
  padding: 4.8rem 0;
}

.form-container {
  width: 100%;
  max-width: 44rem;
  padding: 0 2rem;
}

.form-card {
  background-color: white;
  border-radius: 1.2rem;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
  padding: 3.6rem 2.8rem;
  border: 1px solid rgba(13, 156, 212, 0.1);
}

.form-title {
  color: #2d3748;
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.6rem;
}

.form-icon {
  text-align: center;
  margin-bottom: 2.4rem;
}

.form-icon i {
  font-size: 6rem;
  color: #004d88;
  opacity: 0.9;
}

.user-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  width: 100%;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  color: #4a5568;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.input-field {
  width: 100%;
  height: 4.6rem;
  background: #fcfcfc;
  border-radius: 0.8rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-field:focus-within {
  border-color: #00a0f0;
  box-shadow: 0 0 0 2px rgba(0, 160, 240, 0.1);
}

.input-icon {
  color: #718096;
  font-size: 1.6rem;
  margin-left: 1.4rem;
}

.input-field input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 1.6rem;
  color: #333;
  font-size: 1.5rem;
}

.input-field input::placeholder {
  color: #cbd5e0;
}

.form-button {
  width: 100%;
  max-width: 32rem;
  height: 4.2rem;
  background-color: #00a0f0;
  color: white;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-button:hover {
  background-color: #0085c8;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 160, 240, 0.2);
}


/* Mensagem genérica */
.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-top: 2.0rem;
  text-align: center;
  font-size: 1.4rem;
}

/* Mensagem de erro */
.form-message#error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Mensagem de sucesso */
.form-message#success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-divider {
  width: 100%;
  max-width: 32rem;
  height: 1px;
  background: #e2e8f0;
  margin: 3rem auto 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-divider span {
  background-color: white;
  padding: 0 1rem;
  color: #718096;
  font-size: 1.4rem;
}

.alt-action-text {
  text-align: center;
  font-size: 1.6rem;
  color: #4a5568;
}

.alt-action-link {
  color: #00a0f0;
  text-decoration: none;
  font-weight: 500;
}

.alt-action-link:hover {
  color: #0085c8;
  text-decoration: underline;
}

.password-toggle {
  font-size: 1.6rem;
  color: #718096;
  padding-right: 1.4rem;
  cursor: pointer;
}

/* Responsividade */
@media (max-width: 576px) {
  .form-card {
    padding: 2.8rem 2rem;
  }

  .form-title {
    font-size: 2.4rem;
  }

  .form-icon i {
    font-size: 5rem;
  }
}