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

/*
 * Tachyons' `input-reset` strips the native select chevron (appearance: none).
 * This class puts one back via an inline SVG so a <select> reads as a dropdown.
 * Pair with `input-reset` and sizing/border classes from Tachyons.
 */
.select-chevron {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
  padding-right: 2.5rem;
}

/*
 * Radio-as-button: hide the native radio visually but keep it in the tab
 * order and reachable by screen readers. The adjacent span is styled as the
 * button, and the :checked sibling selector handles the selected state.
 */
.checkpoint-radio {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.checkpoint-radio:checked + .checkpoint-radio-label {
  border-color: #00449e;
  box-shadow: inset 0 0 0 1px #00449e;
}

.checkpoint-radio:focus-visible + .checkpoint-radio-label {
  outline: 2px solid #357edd;
  outline-offset: 2px;
}

.LogoLine {
  width: 100%;
  height: 0.2rem;
  background: linear-gradient(to right, #94D0C4, #6EB7E1);
  border-radius: 1rem;
  margin-right: 0.125rem;
}

.LogoChevron {
  height: calc(1rem * 0.75);
  width: calc(1rem * 0.75);
}