/* Rails-specific form additions on top of base.css.
 * The `.sd-field-error` and `.sd-field.has-error` rules support
 * server-rendered validation errors (Phase 6 onward); the prototype's
 * static HTML/CSS doesn't surface field errors. */

.sd-field.has-error .sd-input,
.sd-field.has-error .sd-textarea {
  border-color: #DD3333;
  box-shadow: 0 0 0 3px rgba(221, 51, 51, .12);
}

.sd-field-error {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #DD3333;
}
