/* Only apply these styles to the login page */
.login-page {
  min-height: 100vh; /* Ensure full viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Small padding on mobile */
}

.login-container {
  width: 100%;
  max-width: 400px; /* Allow it to grow on larger screens */
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.login-container h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.login-container .field, 
.login-container .actions {
  margin-bottom: 15px;
}

/* Styling for sign up and login buttons */
.button-container {
  margin-top: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff; /* Change this to your desired button color */
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #0056b3; /* Darker shade for hover */
}

#sign-up-btn,
#log-in-btn {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#sign-up-btn:hover,
#log-in-btn:hover {
  background-color: #0056b3;
}

.flash-messages {
  text-align: center;
  margin-bottom: 20px;
}

.notice,
.alert {
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
}

.notice {
  background-color: #e0f7fa; /* Soft cyan for success */
  color: #00695c; /* Dark cyan for contrast */
  border: 1px solid #d6e9c6;
}

.alert {
  background-color: #ffebee; /* Soft red for error */
  color: #c62828; /* Dark red for contrast */
  border: 1px solid #ebccd1;
}

.edit-account-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.update-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 20px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.update-button:hover {
  background-color: #45a049;
}

/* RESPONSIVE adjustments */
@media (max-width: 480px) {
  .login-container {
    padding: 15px;
  }
  
  .login-container h2 {
    font-size: 1.25rem;
  }

  #sign-up-btn,
  #log-in-btn,
  .update-button {
    font-size: 15px;
    padding: 10px;
  }
}
