/* Auth container and form styling */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-form {
  width: 100%;
  max-width: 400px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

/* Form elements */
.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #555;
}

.auth-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.auth-input:focus {
  border-color: #4a90e2;
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Buttons */
.auth-button {
  width: 100%;
  padding: 12px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 16px;
}

.auth-button:hover {
  background-color: #3a80d2;
}

.google-button {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-button:hover {
  background-color: #f5f5f5;
}

/* Links */
.auth-link-container {
  text-align: center;
  margin: 16px 0;
}

.auth-link {
  color: #4a90e2;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* Full width utility */
.full-width {
  width: 100%;
}

/* Error messages */
#error_explanation {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #fff5f5;
  border: 1px solid #ffcaca;
  border-radius: 4px;
}

#error_explanation h2 {
  font-size: 16px;
  color: #e53e3e;
  margin-bottom: 10px;
}

#error_explanation ul {
  margin: 0;
  padding-left: 20px;
}

#error_explanation li {
  color: #e53e3e;
}

/* Fix for submit buttons */
input[type="submit"] {
  width: 100% !important;
  display: block;
  padding: 12px;
  background-color: #4a90e2;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 16px;
  text-align: center;
}

input[type="submit"]:hover {
  background-color: #3a80d2;
}

/* Ensure actions div is full width */
.actions {
  width: 100%;
  display: block;
}

/* Ensure the form itself is full width */
.password-form {
  width: 100%;
} 