/* Form Fields - Shared Styles */

/* Common container styles */
.form-field-container {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
  width: 100%;
}

/* Common content wrapper */
.form-field-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Common label container */
.form-field-label-container {
  flex: 1;
  margin-right: 15px;
}

/* Common label styles */
.form-field-label {
  font-size: 14px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.form-field-label::before {
  content: "▶";
  color: #e74c3c;
  font-size: 10px;
  margin-right: 8px;
}

/* Required field indicator */
.form-field-label.required::after {
  content: ' *';
  color: #e74c3c;
  font-weight: bold;
}

/* Common subtitle styles */
.form-field-subtitle {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}

/* Standardized error message - replaces form-field-error */
.form-field-error-message {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
  width: 100%;
  order: 3;
  /* No borders, no icons - just red text very close to the main component */
  border: none;
  background: none;
  padding: 0;
  line-height: 1.2;
}

/* Error state */
.form-field-container.error .form-field-error-message {
  display: block;
}

.form-field-container.error .form-field-label {
  color: #e74c3c;
}

/* Disabled state */
.form-field-container.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.form-field-container.disabled .form-field-label {
  opacity: 0.5;
} 