/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --brand-color: #144156;
  --brand-dark-color: #103444;
  --brand-light-color: #426677;
}

form .field {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: 1rem;
}

form .field label {
  grid-column: span 12 / span 12;
  margin-bottom: 0.25rem;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

form .field input[type="text"],
form .field input[type="number"],
form .field input[type="email"],
form .field input[type="url"],
form .field input[type="password"],
form .field input[type="file"],
form .field input[type="date"],
form .field textarea,
form .field select {
  grid-column: span 12 / span 12;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: #1f2937;
  font-weight: 500;
}

form .field input[type="text"]:focus,
form .field input[type="number"]:focus,
form .field input[type="email"]:focus,
form .field input[type="url"]:focus,
form .field input[type="password"]:focus,
form .field input[type="file"]:focus,
form .field input[type="date"]:focus,
form .field textarea:focus,
form .field select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-color);
}

form .field em {
  grid-column: span 12 / span 12;
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #f43f5e;
}

form .field-inline {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

form .field-inline label {
  grid-column: span 3 / span 3;
  margin-bottom: 0;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

form .field-inline input[type="text"],
form .field-inline input[type="number"],
form .field-inline input[type="email"],
form .field-inline input[type="url"],
form .field-inline input[type="password"],
form .field-inline input[type="file"],
form .field-inline input[type="date"],
form .field-inline textarea,
form .field-inline select {
  grid-column: span 9 / span 9;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: #1f2937;
  font-weight: 500;
}

form .field-inline input[type="text"]:focus,
form .field-inline input[type="number"]:focus,
form .field-inline input[type="email"]:focus,
form .field-inline input[type="url"]:focus,
form .field-inline input[type="password"]:focus,
form .field-inline input[type="file"]:focus,
form .field-inline input[type="date"]:focus,
form .field-inline textarea:focus,
form .field-inline select:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-color);
}

form .field-inline em {
  grid-column-start: 4;
  grid-column: span 9 / span 9;
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #f43f5e;
}

form .field .field_with_errors {
  grid-column: span 12 / span 12;
}

form .field .field_with_errors input[type="text"],
form .field .field_with_errors input[type="email"],
form .field .field_with_errors input[type="password"] {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  color: #1f2937;
  font-weight: 500;
}

form .field .field_with_errors input[type="text"]:focus,
form .field .field_with_errors input[type="email"]:focus,
form .field .field_with_errors input[type="password"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand-color);
}

form .actions {
  display: flex;
  justify-content: flex-end;
}

form .actions input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: white;
  background-color: var(--brand-color);
}

form .actions input[type="submit"]:hover {
  background-color: var(--brand-dark-color);
}

form .actions input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px var(--brand-color);
}

form .actions--left {
  display: flex;
  justify-content: flex-start;
}

form .actions--left input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  color: white;
  background-color: var(--brand-color);
}

form .actions--left input[type="submit"]:hover {
  background-color: var(--brand-dark-color);
}

form .actions--left input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px var(--brand-color);
}

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

form .field.checkbox label {
  margin-left: 0.5rem;
}

h2, h1 {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  font-weight: 800;
  color: #111827;
}

h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

h2 {
  font-size: 1.5rem;
  line-height: 2rem;
}

@media (min-width: 640px) {
  h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

#error_explanation {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

#error_explanation h2 {
  margin-bottom: 1rem;
  border: 0;
  font-weight: 600;
  color: #dc2626;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

#error_explanation ul {
  list-style-type: decimal;
}

#error_explanation ul li {
  color: #f43f5e;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* a {
  color: var(--brand-color);
  font-weight: 500;
}

a:hover {
  color: var(--brand-dark-color);
} */

a.button {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.625rem;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  color: #374151;
  background-color: white;
  text-decoration: none;
}

a.button:hover {
  background-color: #f9fafb;
}

a.button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px var(--brand-color);
}

a.button-cyan {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.625rem;
  border: 1px solid #67e8f9;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  color: var(--brand-color);
  background-color: white;
  text-decoration: none;
}

a.button-cyan:hover {
  background-color: #ecfeff;
}

a.button-cyan:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px var(--brand-color);
}

a.button-full-cyan {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.375rem 0.625rem;
  border: 1px solid #155e75;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  border-radius: 0.25rem;
  color: white;
  background-color: #0e7490;
  text-decoration: none;
}

a.button-full-cyan:hover {
  background-color: #ecfeff;
}

a.button-full-cyan:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px var(--brand-color);
}

a.button-emerald {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.625rem;
  border: 1px solid #6ee7b7;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  color: var(--brand-color);
  background-color: white;
  text-decoration: none;
}

a.button-emerald:hover {
  background-color: #d1fae5;
}

a.button-emerald:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px #10b981;
}

a.button-rose {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.625rem;
  border: 1px solid #fda4af;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  color: #be123c;
  background-color: white;
  text-decoration: none;
}

a.button-rose:hover {
  background-color: #ffe4e6;
}

a.button-rose:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px #f43f5e;
}

input[type="submit"].button-cyan {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.625rem;
  border: 1px solid #155e75;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
  color: white;
  background-color: #0891b2;
  text-decoration: none;
}

input[type="submit"].button-cyan:hover {
  background-color: #06b6d4;
}

input[type="submit"].button-cyan:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0), 0 0 0 4px var(--brand-color);
}

.trix-content {
  background-color: white;
}

mark, span.mark, div.mark, p.mark {
  padding: 0.1em 0.4em;
  border-radius: 0.8em 0.3em;
  background: transparent;
  background-image: linear-gradient(
    to right,
    rgba(255, 225, 0, 0.1),
    rgba(255, 225, 0, 0.7) 4%,
    rgba(255, 225, 0, 0.3)
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.simple-calendar .calendar-heading {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background-color: white;
}

.simple-calendar .calendar-heading .calendar-title {
  padding: 0.1em 0.4em;
  border-radius: 0.8em 0.3em;
  background: transparent;
  background-image: linear-gradient(
    to right,
    rgba(255, 225, 0, 0.1),
    rgba(255, 225, 0, 0.7) 4%,
    rgba(255, 225, 0, 0.3)
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
}

.simple-calendar .calendar-heading a,
.simple-calendar .calendar-heading a:visited {
  font-weight: bolder;
  text-decoration: none;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  background-color: #f3f4f6;
  color: #374151;
}

.simple-calendar .calendar-heading a:hover {
  background-color: #e5e7eb;
}

.simple-calendar table tr th {
  text-align: center;
}

.simple-calendar table,
.simple-calendar .table {
  width: 100%;
  border-collapse: collapse;
}

.simple-calendar .day {
  height: 8rem;
  padding: 0.25rem;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}

.simple-calendar .wday-0 {
  background-color: #f9fafb;
}

.simple-calendar .wday-6 {
  background-color: #f9fafb;
}

.simple-calendar .today {
  background-color: #eff6ff;
}

.simple-calendar .prev-month,
.simple-calendar .next-month {
  background-color: #f3f4f6;
  color: #9ca3af;
}
