/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Authentication Pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f5f5;
  padding: 20px;
}

.auth-card {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.auth-card h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 28px;
}

.auth-form {
  width: 100%;
}

.form-field {
  margin-bottom: 20px;
}

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

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

.form-input:focus {
  outline: none;
  border-color: #e67e22;
}

.checkbox-field {
  display: flex;
  align-items: center;
}

.form-checkbox {
  margin-right: 8px;
  width: 18px;
  height: 18px;
}

.checkbox-field label {
  margin-bottom: 0;
  font-weight: normal;
}

.form-actions {
  margin-top: 30px;
}

.submit-btn {
  width: 100%;
  background-color: #e67e22;
  color: white;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  min-height: 44px;
}

.submit-btn:hover {
  background-color: #d35400;
}

.submit-btn:active {
  background-color: #ba4a00;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
}

.auth-links a {
  color: #e67e22;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin: 5px 0;
}

.auth-links a:hover {
  text-decoration: underline;
}

.field-hint {
  display: block;
  font-size: 13px;
  color: #777;
  margin-top: 4px;
  font-style: normal;
}

.error-messages {
  background-color: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

.error-messages h2 {
  color: #c00;
  font-size: 16px;
  margin-bottom: 10px;
}

.error-messages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-messages li {
  color: #c00;
  font-size: 14px;
  margin-bottom: 5px;
}
