/*
 * 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.
 */

h2 {
  border-bottom: solid thin #b0bdcb;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

form {
  margin-bottom: 1rem;
}

.alert:not(:empty),
.notice:not(:empty) {
  color: #fff;
  padding: 0.5rem;
  text-align: center;
}

.alert:not(:empty) {
  background-color: #eb5757;
}

.notice:not(:empty) {
  background-color: #1446a0;
}

.app-container {
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.main-content {
  height: auto;
  padding: 2rem;
  max-width: 600px;
  min-width: 600px;
}

.field {
  margin-bottom: 1.5rem;

  & br {
    display: none;
  }

  & input[type="checkbox"] + label {
    display: inline-block;
  }
}

#error_explanation {
  background-color: #eb5757;
  color: #fff;
  margin-bottom: 1rem;
  padding: 1rem;
}
