/* Site-specific additions on top of the theme (main.css). */

/* Flash messages */
.alert {
  padding: 14px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 15px;
}
.alert-success { background: #e6f5ec; color: #1c7c45; }
.alert-danger { background: #fdecec; color: #b42323; }
.flash-messages { padding-top: 30px; }

/* jQuery validate / server errors under inputs */
.contact-form label.error,
.contact-form .field-error {
  display: block;
  margin: -5px 0 10px;
  color: #d93025;
  font-size: 13px;
}

/* Bootstrap 4 pagination markup (Laravel paginator) */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.pagination .page-link {
  display: block;
  min-width: 42px;
  height: 42px;
  line-height: 42px;
  padding: 0 12px;
  text-align: center;
  border-radius: 8px;
  background: var(--color-light-3);
  color: var(--color-dark-1);
}
.pagination .page-item.active .page-link { background: #fcb813; color: #fff; }
.pagination .page-item.disabled .page-link { opacity: .5; }

/* Auth forms: secondary link under the button */
.form-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  text-decoration: underline;
}

/* Profile: logout link next to the tabs */
.profile-logout {
  text-align: center;
  margin-top: 30px;
}
.profile-logout button {
  background: none;
  border: 0;
  text-decoration: underline;
  cursor: pointer;
}

/* 404 */
.error-page { text-align: center; }
.error-page .error-code { font-size: 120px; font-weight: 700; line-height: 1; color: #fcb813; }
