.apply-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  font-size: 18px;
}

.apply-page,
.apply-page *,
.apply-page *::before,
.apply-page *::after {
  box-sizing: border-box;
}

.apply-page .apply-form-shell {
  display: block;
}

.apply-page .apply-hero {
  margin-bottom: 1.5rem;
  padding: 2rem 2rem 1.5rem;
  border: 1px solid #dde2e8;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(168, 176, 188, 0.22), transparent 34%),
    linear-gradient(135deg, #fafbfc 0%, #f1f4f7 56%, #ffffff 100%);
  box-shadow: 0 24px 48px rgba(35, 42, 52, 0.08);
}

.apply-page .apply-eyebrow {
  margin-bottom: 0.45rem;
  color: #5b6672;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply-page .apply-hero h2 {
  margin-bottom: 0.75rem;
  color: #1f2a37;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.apply-page .apply-subtitle {
  margin-bottom: 1rem;
  color: #394655;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.apply-page .apply-legal-intro,
.apply-page .apply-required-note {
  margin-bottom: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.75;
}

.apply-page .apply-required-note {
  margin-top: 0.85rem;
  color: #a22b2b;
  font-weight: 700;
}

@media (min-width: 1000px) {
  .apply-page .container-fluid {
    display: flex;
    flex-wrap: wrap;
  }

  .apply-page .container-fluid > * {
    width: 100%;
  }
}

.apply-page .container-fluid {
  width: 100%;
  max-width: 100%;
  min-height: 20px;
  padding: 1.35rem;
  margin-bottom: 22px;
  margin-left: 0;
  margin-right: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
  border: 1px solid #dde2e8;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(35, 42, 52, 0.06);
}

@media (min-width: 1000px) {
  .row-fluid {
    width: 100%;
    display: flex;
    *zoom: 1;
  }
}

@media (min-width: 1000px) {
  [class*="span"] {
    float: left;
    min-height: 1px;
    margin-left: 30px;
  }
}

@media (min-width: 1000px) {
  .row-fluid .span3 {
    width: 23.076923076923077%;
    *width: 23.023731587561375%;
  }
}

@media (min-width: 1000px) {
  .span3 {
    width: 270px;
  }
}

@media (min-width: 1000px) {
  .row-fluid .span4 {
    width: 31.623931623931625%;
    *width: 31.570740134569924%;
  }
}

@media (min-width: 1000px) {
  .row-fluid .span6 {
    width: 48.717948717948715%;
    *width: 48.664757228587014%;
  }
}

@media (min-width: 1000px) {
  .row-fluid .span8 {
    width: 65.81196581196582%;
    *width: 65.75877432260411%;
  }
}

@media (min-width: 1000px) {
  .row-fluid .span9 {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .row-fluid .span12 {
    width: 100%;
    *width: 99.94680851063829%;
  }
}

@media (min-width: 1000px) {
  .row-fluid [class*="span"]:first-child {
    margin-left: 0;
  }
}

.row-fluid [class*="span"]:first-child {
  margin-left: 0;
}

@media (min-width: 1000px) {
  .row-fluid [class*="span"] {
    display: block;
    min-height: 30px;
    box-sizing: border-box;
    float: left;
    margin-left: 2.564102564102564%;
    *margin-left: 2.5109110747408616%;
  }
}

.row-fluid::before,
.row-fluid::after {
  display: table;
  content: "";
  line-height: 0;
}

.apply-page .form-group {
  margin-bottom: 1rem;
}

.apply-page .apply-repeatable-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.apply-page .apply-repeatable-section__actions {
  display: flex;
  justify-content: flex-start;
}

.apply-page .apply-repeatable-section__button {
  border: 1px solid #c8d0d9;
  border-radius: 999px;
  background: #f5f7fa;
  color: #24313d;
  font-weight: 700;
  padding: 0.72rem 1.2rem;
}

.apply-page .apply-repeatable-section__button:hover,
.apply-page .apply-repeatable-section__button:focus {
  background: #ebeff4;
  color: #1c2631;
}

.apply-page .apply-repeatable-item {
  padding-top: 0.35rem;
}

.apply-page .apply-repeatable-item__title {
  margin: 0 0 0.45rem;
  color: #4f5b67;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.apply-page .apply-binary-question {
  padding: 0.95rem 1rem;
  border: 1px solid #dbe1e7;
  border-radius: 16px;
  background: #f8fafc;
}

.apply-page .apply-binary-question__prompt {
  margin: 0 0 0.55rem;
  color: #24313d;
  font-weight: 600;
}

.apply-page label {
  display: block;
  margin-bottom: 6px;
  color: #24313d;
  font-weight: 600;
}

.apply-page label,
.apply-page input,
.apply-page button,
.apply-page select,
.apply-page textarea {
  font-size: 15px;
  line-height: 20px;
}

.apply-page label,
.apply-page select,
.apply-page button,
.apply-page input[type="button"],
.apply-page input[type="reset"],
.apply-page input[type="submit"],
.apply-page input[type="radio"],
.apply-page input[type="checkbox"] {
  cursor: pointer;
}

.apply-page select,
.apply-page input[type="text"],
.apply-page input[type="password"],
.apply-page input[type="datetime"],
.apply-page input[type="datetime-local"],
.apply-page input[type="date"],
.apply-page input[type="month"],
.apply-page input[type="time"],
.apply-page input[type="week"],
.apply-page input[type="number"],
.apply-page input[type="email"],
.apply-page input[type="url"],
.apply-page input[type="search"],
.apply-page input[type="tel"],
.apply-page input[type="color"],
.apply-page input[type="signature"] .uneditable-input {
  display: inline-block;
  padding: 0.72rem 0.85rem;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #49535d;
  background-color: #fdfefe;
  border: 1px solid #cfd6de;
  border-radius: 12px;
  vertical-align: middle;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
  width: 100%;
}

.apply-page textarea {
  display: inline-block;
  padding: 0.75rem 0.85rem;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #49535d;
  border-radius: 12px;
  vertical-align: middle;
  width: 100%;
  border: 1px solid #cfd6de;
  background-color: #fdfefe;
}

.apply-page .bold,
.apply-page strong {
  color: #1f2a37;
}

.apply-page .uppercase {
  letter-spacing: 0.02em;
}

.apply-page .mt-30 {
  margin-top: 1.5rem;
}

.apply-page .mb-30 {
  margin-bottom: 1.5rem;
}

.apply-page .mt-15 {
  margin-top: 0.9rem;
}

.apply-page .mb-15 {
  margin-bottom: 0.9rem;
}

.apply-page .pl-15 {
  padding-left: 15px;
}

.apply-page .thicc {
  margin: 1.25rem 0;
  border: 0;
  border-top: 1px solid #dde2e8;
}

.apply-page .btn-secondary {
  border: 1px solid #cdd4dc;
  border-radius: 999px;
  background: #f5f7f9;
  color: #45515d;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
}

.apply-page .btn-secondary:hover,
.apply-page .btn-secondary:focus {
  background: #e8edf2;
  color: #2f3a45;
}

.apply-page .drivingRecordDisclaimer {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(243, 246, 249, 0.9);
  border: 1px solid rgba(192, 199, 207, 0.45);
}

.apply-page .apply-submit-panel {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #dde2e8;
  border-radius: 22px;
  background: linear-gradient(135deg, #fafbfc 0%, #f1f4f7 56%, #ffffff 100%);
  box-shadow: 0 18px 36px rgba(35, 42, 52, 0.08);
}

.apply-page .apply-submit-copy h3 {
  margin-bottom: 0.35rem;
  color: #1f2a37;
}

.apply-page .apply-submit-copy p {
  margin-bottom: 1rem;
  color: #5c6875;
}

.apply-page .apply-submit-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.apply-page .apply-submit-button {
  align-self: flex-start;
  min-width: 220px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2a37 0%, #394759 100%);
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.apply-page .apply-submit-button:hover,
.apply-page .apply-submit-button:focus {
  background: linear-gradient(135deg, #17202a 0%, #314154 100%);
}

.apply-page .signature-request {
  padding: 0.95rem 1rem;
  border: 1px dashed #c7cfd8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fdfefe 0%, #f5f7fa 100%);
}

.apply-page .signature-request--missing {
  border-color: #d65353;
  box-shadow: 0 0 0 4px rgba(214, 83, 83, 0.12);
}

.apply-page .signature-request__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.8rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2a37 0%, #394759 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.apply-page .signature-request__button:hover,
.apply-page .signature-request__button:focus {
  background: linear-gradient(135deg, #17202a 0%, #314154 100%);
}

.apply-page .signature-request__preview-shell {
  margin-top: 0.85rem;
}

.apply-page .signature-request__preview {
  display: block;
  max-width: 100%;
  max-height: 72px;
  padding: 0.35rem 0.5rem;
  border: 1px solid #cfd6de;
  border-radius: 14px;
  background: #fff;
}

.apply-page .signature-request__placeholder {
  margin: 0;
  color: #5c6875;
  font-size: 0.92rem;
}

.apply-page .signature-request__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.apply-page .signature-request__link {
  padding: 0;
  border: none;
  background: transparent;
  color: #55616d;
  font-weight: 700;
}

.apply-page .signature-request__link:hover,
.apply-page .signature-request__link:focus {
  color: #2f3a45;
  text-decoration: underline;
}

.apply-page .signature-request__link--muted {
  color: #7a5560;
}

.signature-modal-open {
  overflow: hidden;
}

.apply-page .signature-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(20, 28, 36, 0.72);
}

.apply-page .signature-modal__dialog {
  width: min(680px, 100%);
  padding: 1.25rem;
  border-radius: 24px;
  background: #fdfefe;
  box-shadow: 0 28px 56px rgba(20, 28, 36, 0.24);
}

.apply-page .signature-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.apply-page .signature-modal__header h3 {
  margin: 0;
  color: #1f2a37;
}

.apply-page .signature-modal__close {
  border: none;
  background: transparent;
  color: #4c5967;
  font-size: 2rem;
  line-height: 1;
}

.apply-page .signature-modal__copy {
  margin: 0.75rem 0 1rem;
  color: #5c6875;
}

.apply-page .signature-pad-shell {
  padding: 0.65rem;
  border: 1px solid #cfd6de;
  border-radius: 20px;
  background: #fff;
}

.apply-page .signature-pad-shell__canvas {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  background:
    linear-gradient(to bottom, transparent 95%, rgba(143, 151, 161, 0.2) 95%) 0 0 / 100% 2.3rem,
    #fff;
  touch-action: none;
}

.apply-page .signature-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.apply-page input:focus:invalid:focus,
.apply-page textarea:focus:invalid:focus,
.apply-page select:focus:invalid:focus {
  border-color: #e0554f;
  box-shadow: 0 0 0 4px rgba(224, 85, 79, 0.14);
}

.apply-page input:focus:invalid,
.apply-page textarea:focus:invalid,
.apply-page select:focus:invalid {
  color: #b94a48;
  border-color: #e0554f;
}

.apply-page textarea:focus,
.apply-page input[type="text"]:focus,
.apply-page input[type="password"]:focus,
.apply-page input[type="datetime"]:focus,
.apply-page input[type="datetime-local"]:focus,
.apply-page input[type="date"]:focus,
.apply-page input[type="month"]:focus,
.apply-page input[type="time"]:focus,
.apply-page input[type="week"]:focus,
.apply-page input[type="number"]:focus,
.apply-page input[type="email"]:focus,
.apply-page input[type="url"]:focus,
.apply-page input[type="search"]:focus,
.apply-page input[type="tel"]:focus,
.apply-page input[type="color"]:focus,
.apply-page .uneditable-input:focus {
  border-color: #8893a0;
  outline: 0;
  box-shadow: 0 0 0 4px rgba(136, 147, 160, 0.14);
  background-color: #ffffff;
}

@media (max-width: 999px) {
  .apply-page {
    padding: 1rem 0.75rem 2.5rem;
  }

  .apply-page .apply-hero {
    padding: 1.4rem 1.2rem 1.2rem;
  }

  .apply-page .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .apply-page .row-fluid {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .apply-page .row-fluid [class*="span"],
  .apply-page .span3,
  .apply-page .span4,
  .apply-page .span6,
  .apply-page .span8,
  .apply-page .span9,
  .apply-page .span12 {
    display: block;
    float: none;
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0.35rem;
    min-height: 0;
    min-width: 0;
  }

  .apply-page .row-fluid [class*="span"]:last-child {
    margin-bottom: 0;
  }

  .apply-page .form-group {
    margin-bottom: 0.85rem;
  }

  .apply-page .form-control,
  .apply-page select,
  .apply-page input[type="text"],
  .apply-page input[type="password"],
  .apply-page input[type="datetime"],
  .apply-page input[type="datetime-local"],
  .apply-page input[type="date"],
  .apply-page input[type="month"],
  .apply-page input[type="time"],
  .apply-page input[type="week"],
  .apply-page input[type="number"],
  .apply-page input[type="email"],
  .apply-page input[type="url"],
  .apply-page input[type="search"],
  .apply-page input[type="tel"],
  .apply-page input[type="color"],
  .apply-page textarea {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
  }

  .apply-page input[type="date"],
  .apply-page input[type="datetime"],
  .apply-page input[type="datetime-local"],
  .apply-page input[type="month"],
  .apply-page input[type="time"],
  .apply-page input[type="week"] {
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    line-height: 20px;
  }

  .apply-page input[type="date"]::-webkit-date-and-time-value,
  .apply-page input[type="datetime"]::-webkit-date-and-time-value,
  .apply-page input[type="datetime-local"]::-webkit-date-and-time-value,
  .apply-page input[type="month"]::-webkit-date-and-time-value,
  .apply-page input[type="time"]::-webkit-date-and-time-value,
  .apply-page input[type="week"]::-webkit-date-and-time-value {
    text-align: left;
  }

  .apply-page input[type="date"]::-webkit-calendar-picker-indicator,
  .apply-page input[type="datetime"]::-webkit-calendar-picker-indicator,
  .apply-page input[type="datetime-local"]::-webkit-calendar-picker-indicator,
  .apply-page input[type="month"]::-webkit-calendar-picker-indicator,
  .apply-page input[type="time"]::-webkit-calendar-picker-indicator,
  .apply-page input[type="week"]::-webkit-calendar-picker-indicator {
    margin-left: 0;
  }

  .apply-page .signature-request__button,
  .apply-page .apply-submit-button {
    width: 100%;
  }

  .apply-page .signature-pad-shell__canvas {
    height: 200px;
  }
}
.contact-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.contact-page .contact-hero {
  max-width: 760px;
  margin-bottom: 2rem;
}

.contact-page .contact-eyebrow {
  margin-bottom: 0.5rem;
  color: #5b6672;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-page .contact-hero h1 {
  margin-bottom: 0.75rem;
  color: #1f2a37;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.contact-page .contact-intro {
  max-width: 680px;
  margin-bottom: 0;
  color: #52606d;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-page .container-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-page .contact-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7f9 100%);
  border: 1px solid #dde2e8;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(35, 42, 52, 0.08);
}

.contact-page .contact-form-panel {
  padding: 2rem;
}

.contact-page .contact-info-panel {
  padding: 2rem;
  background: linear-gradient(180deg, #f7f9fb 0%, #edf1f5 100%);
}

.contact-page .contact-panel h2 {
  margin-bottom: 0.4rem;
  color: #1f2a37;
  font-size: 1.5rem;
}

.contact-page .panel-copy {
  margin-bottom: 1.4rem;
  color: #5f6c7b;
  line-height: 1.6;
}

.contact-page .form-container {
  max-width: none;
}

.contact-page .form-group {
  margin-bottom: 1.1rem;
}

.contact-page .form-group label {
  margin-bottom: 0.45rem;
  color: #22303c;
  font-weight: 600;
}

.contact-page .form-control {
  min-height: 50px;
  border: 1px solid #cfd6de;
  border-radius: 12px;
  box-shadow: none;
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-page .form-control:focus {
  border-color: #8893a0;
  box-shadow: 0 0 0 4px rgba(136, 147, 160, 0.14);
  background-color: #ffffff;
}

.contact-page .contact-message-field {
  min-height: 160px;
  resize: vertical;
}

.contact-page .contact-form-footer {
  margin-top: 1.5rem;
}

.contact-page .contact-recaptcha {
  margin-bottom: 1rem;
}

.contact-page .contact-submit {
  min-width: 180px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a3138 0%, #4a5561 100%);
  padding: 0.85rem 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-page .contact-submit:hover,
.contact-page .contact-submit:focus {
  background: linear-gradient(135deg, #20262d 0%, #404b57 100%);
}

.contact-page .contact-info-card,
.contact-page .contact-address-card {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(192, 199, 207, 0.5);
}

.contact-page .contact-info-card + .contact-info-card,
.contact-page .contact-info-card + .contact-address-card,
.contact-page .contact-address-card + .contact-info-card {
  margin-top: 0.9rem;
}

.contact-page .info-label {
  margin-bottom: 0.35rem;
  color: #5b6672;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-page .info-value {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: #1d2a36;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-page .info-value:hover,
.contact-page .info-value:focus {
  color: #303a44;
  text-decoration: underline;
}

.contact-page .info-copy,
.contact-page .address-lines {
  margin-bottom: 0;
  color: #55616d;
  line-height: 1.6;
}

@media only screen and (max-width: 900px) {
  .contact-page .container-contact {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 768px) {
  .contact-page {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .contact-page .contact-form-panel,
  .contact-page .contact-info-panel {
    padding: 1.35rem;
  }

  .contact-page .contact-hero {
    margin-bottom: 1.4rem;
  }
}

.about-page .about-layout {
  margin-bottom: 24px;
}

.about-page .about-story-panel p {
  color: #52606d;
  line-height: 1.8;
}

.about-page .about-closing {
  margin-bottom: 0;
  color: #1f2a37;
  font-weight: 600;
}

.about-page .about-map-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
  padding: 1.5rem;
}

.about-page .about-map-copy {
  align-self: center;
}

.about-page .about-map-panel h2 {
  margin-bottom: 0.5rem;
  color: #1f2a37;
}

.about-page .about-map-frame {
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d8dee5;
}

.about-page .about-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

@media only screen and (max-width: 900px) {
  .about-page .about-map-panel {
    grid-template-columns: 1fr;
  }
}
.home-page {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.home-page .home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid #d9dde3;
  background:
    radial-gradient(circle at top right, rgba(168, 176, 188, 0.22), transparent 34%),
    linear-gradient(135deg, #fafbfc 0%, #f1f3f6 52%, #ffffff 100%);
  box-shadow: 0 24px 48px rgba(35, 42, 52, 0.08);
}

.home-page .container-home {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: 2.2rem;
}

.home-page .statement-container {
  position: relative;
  z-index: 1;
}

.home-page .home-eyebrow {
  margin-bottom: 0.6rem;
  color: #5b6672;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page h1 {
  margin-bottom: 0.9rem;
  color: #1f2a37;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.02;
}

.home-page .home-lead {
  max-width: 640px;
  margin-bottom: 0.9rem;
  color: #2f3d4b;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.7;
}

.home-page .home-copy {
  max-width: 620px;
  margin-bottom: 1.4rem;
  color: #5a6774;
  font-size: 1rem;
  line-height: 1.8;
}

.home-page .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 1.6rem;
}

.home-page .home-primary-action {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f2a37 0%, #394759 100%);
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-page .home-primary-action:hover,
.home-page .home-primary-action:focus {
  background: linear-gradient(135deg, #17202a 0%, #314154 100%);
}

.home-page .home-secondary-action {
  color: #4f5b67;
  font-weight: 700;
  text-decoration: none;
}

.home-page .home-secondary-action:hover,
.home-page .home-secondary-action:focus {
  color: #2f3a45;
  text-decoration: underline;
}

.home-page .home-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-page .home-highlight-card {
  min-height: 100%;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(186, 193, 201, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.home-page .highlight-label {
  margin-bottom: 0.45rem;
  color: #5b6672;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-page .highlight-copy {
  margin-bottom: 0;
  color: #576370;
  line-height: 1.65;
}

.home-page .photo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-page .home-photo-frame {
  width: 100%;
  padding: 1.25rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 242, 246, 0.94) 100%);
  border: 1px solid rgba(205, 211, 218, 0.7);
}

.home-page .photo-container img {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

@media only screen and (max-width: 1000px) {
  .home-page .container-home {
    grid-template-columns: 1fr;
  }

  .home-page .home-highlights {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 768px) {
  .home-page {
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
  }

  .home-page .container-home {
    padding: 1.35rem;
  }

  .home-page .home-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .home-primary-action {
    width: 100%;
    text-align: center;
  }

  .home-page .photo-container {
    order: -1;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) 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
 * 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.
 *


 */
/* Body styling */
@media (min-width: 1000px) {
  body {
    margin: 0;
    background-color: #f3f5f7;
    width: 100%;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  }
}
body {
  margin: 0;
  background-color: #f3f5f7;
  width: 100%;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

body .body-container {
  max-width: 1140px;
  margin: 0 auto;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  background-color: #f3f5f7;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}
.container-body {
  font-family: "inherit", "Arial", "sans-serif";
  font-size: 24px;
  font-weight: bold;
  color: #333;
  background-color: #f3f5f7;
}

/*Underline navbar links only on computer screens*/
@media only screen and (min-width: 768px) {
  body .body-container {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #333;
    background-color: #f3f5f7;
  }
  .navbar .navbar-nav .nav-item {
    position: relative;
  }
  .navbar .navbar-nav .nav-item::after {
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    content: '';
    background-color: #606a75;
    width: 0%;
    height: 2px;
    transition: all .15s;
  }
  .navbar .navbar-nav .nav-item .nav-link.active::after {
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    content: '';
    background-color: #606a75;
    width: calc(100% - 28px);
    height: 2px;
  }
  .navbar .navbar-nav .nav-item:hover::after {
    left: 14px;
    right: 14px;
    width: calc(100% - 28px);
  }
}

.heading-container{
  background: #f3f5f7;
}

.container-head {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  border-bottom: 1px solid #dce1e7;
}

.head-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 98px;
  padding: 16px 0 12px;
}

.head-container.hidden {
  display: none;
}

.logo-container {
  flex: 0 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  display: block;
  width: auto;
  max-width: 210px;
  max-height: 68px;
}

.phonehead-container {
  flex: 1 1 auto;
}

.header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
}

.header-links li {
  margin: 0;
}

.header-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #49545f;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.header-links a:hover,
.header-links a:focus {
  color: #1f2a37;
  text-decoration: none;
}

.header-links img {
  width: 15px;
  height: 15px;
  opacity: 0.72;
}

.header-link-meta {
  font-size: 0.78rem !important;
  color: #64707c !important;
}

.header-link-note {
  color: #7b8793;
}

.heading-container #navbar-placeholder {
  height: 0;
}

a {
  text-decoration: none;
}

li {
  text-decoration: none;
  list-style-type: none;
}

.navbar {
  width: 100%;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(243, 245, 247, 0.96) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(31, 42, 55, 0.06);
  border-top: 1px solid #e4e8ed;
  border-bottom: 1px solid #dce1e7;
  transition: top 0.3s;
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  z-index: 1000;
}

.navbar .container-fluid {
  max-width: 1140px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.navbar .navbar-nav {
  gap: 6px;
}

.navbar .nav-link {
  position: relative;
  padding: 0.95rem 0.9rem 0.9rem;
  color: #44505c !important;
  font-size: 0.95rem;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #1f2a37 !important;
}

.navbar .nav-link.active {
  color: #1f2a37 !important;
}

.navbar-toggler {
  border: 1px solid #d4dae1 !important;
  border-radius: 12px !important;
  padding: 0.45rem 0.6rem !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(136, 147, 160, 0.14) !important;
}

footer {
  padding: 0.5rem 0 1.25rem;
}

footer p {
  margin-bottom: 0;
  color: #6a7480;
}

.email-modal-open {
  overflow: hidden;
}

.email-modal[hidden] {
  display: none;
}

.email-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
}

.email-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 32, 0.52);
  backdrop-filter: blur(3px);
}

.email-modal__dialog {
  position: relative;
  width: min(520px, calc(100% - 2rem));
  margin: 8vh auto 0;
  padding: 1.4rem;
  border: 1px solid #d8dee5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(20, 28, 36, 0.22);
}

.email-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.email-modal__title {
  margin: 0;
  color: #1f2a37;
  font-size: 1.3rem;
}

.email-modal__subtitle {
  margin: 0.3rem 0 0;
  color: #64707c;
  font-size: 0.92rem;
  line-height: 1.55;
}

.email-modal__close {
  border: none;
  background: transparent;
  color: #5b6672;
  font-size: 1.9rem;
  line-height: 1;
  padding: 0;
}

.email-modal__body {
  display: grid;
  gap: 0.95rem;
}

.email-modal__field {
  display: grid;
  gap: 0.4rem;
}

.email-modal__label {
  color: #24313d;
  font-size: 0.9rem;
  font-weight: 700;
}

.email-modal__input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfd6de;
  border-radius: 14px;
  background: #fbfcfd;
  color: #24313d;
}

.email-modal__input:focus {
  outline: 0;
  border-color: #8893a0;
  box-shadow: 0 0 0 4px rgba(136, 147, 160, 0.14);
  background: #fff;
}

.email-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.email-modal__button {
  min-width: 120px;
  border-radius: 999px !important;
  padding: 0.72rem 1.2rem !important;
  font-weight: 700 !important;
}

.email-modal__button--primary {
  background: linear-gradient(135deg, #1f2a37 0%, #394759 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.email-modal__button--primary:hover,
.email-modal__button--primary:focus {
  background: linear-gradient(135deg, #17202a 0%, #314154 100%) !important;
}

.pdf-hover-preview {
  position: fixed;
  z-index: 1400;
  width: 640px;
  height: 840px;
  border: 1px solid #cfd6de;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(20, 28, 36, 0.22);
}

.paystub-section__label {
  margin-bottom: 0.75rem;
  color: #1f2a37;
  font-size: 1rem;
  font-weight: 700;
}

.paystub-entry-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.paystub-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin: 1.15rem 0 1.35rem;
}

.paystub-summary-card {
  padding: 1rem 1.05rem;
  border: 1px solid #d9e0e7;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 14px 28px rgba(20, 28, 36, 0.05);
}

.paystub-summary-card__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #697481;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paystub-summary-card__value {
  color: #1f2a37;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.paystub-yearly-card {
  margin: 0 0 1.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid #d9e0e7;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(20, 28, 36, 0.05);
}

.paystub-yearly-card__header {
  margin-bottom: 0.8rem;
}

.paystub-yearly-card__title {
  margin: 0;
  color: #1f2a37;
  font-size: 1rem;
  font-weight: 700;
}

.paystub-yearly-card__subtitle {
  margin: 0.28rem 0 0;
  color: #697481;
  font-size: 0.88rem;
}

.paystub-yearly-list {
  display: grid;
  gap: 0.65rem;
}

.paystub-yearly-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid #e6ebf0;
}

.paystub-yearly-list__row:first-child {
  padding-top: 0;
  border-top: none;
}

.paystub-yearly-list__year {
  color: #4f5c68;
  font-weight: 600;
}

.paystub-yearly-list__amount {
  color: #1f2a37;
  font-weight: 700;
}

.paystub-entry {
  padding: 1rem 1.05rem;
  border: 1px solid #d9e0e7;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  box-shadow: 0 14px 28px rgba(20, 28, 36, 0.05);
}

.paystub-entry--empty {
  color: #65717d;
  text-align: center;
}

.paystub-entry__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.paystub-entry__status {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paystub-entry__status--completed {
  background: #eaf7ef;
  color: #1f6b42;
}

.paystub-entry__status--processing,
.paystub-entry__status--queued {
  background: #eef3f8;
  color: #39546f;
}

.paystub-entry__status--failed {
  background: #faecec;
  color: #9b3535;
}

.paystub-entry__meta {
  color: #65717d;
  font-size: 0.88rem;
  font-weight: 600;
}

.paystub-entry__files {
  display: grid;
  gap: 0.65rem;
}

.paystub-entry__file {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.paystub-entry__file-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.26rem 0.5rem;
  border-radius: 999px;
  background: #edf1f5;
  color: #41505f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.paystub-entry__file-badge--pdf {
  background: #eceff6;
  color: #36445a;
}

.paystub-entry__file-link {
  color: #1f2a37;
  font-weight: 600;
  word-break: break-word;
}

.paystub-entry__file-link:hover,
.paystub-entry__file-link:focus {
  color: #111820;
}

.paystub-entry__file-link--muted {
  color: #8a95a1;
}

.paystub-entry__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.paystub-entry__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.82rem;
  border: 1px solid #d2d8e0;
  border-radius: 999px;
  background: #fff;
  color: #344252;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.paystub-entry__action:hover,
.paystub-entry__action:focus {
  background: #f3f6f9;
  color: #1f2a37;
  text-decoration: none;
}

.paystub-entry__action--email {
  background: #f3f6fb;
  border-color: #cfd7e4;
}

.paystub-entry__action--delete {
  color: #9a3737;
  border-color: #e5c8c8;
  background: #fff8f8;
}

.paystub-entry__action--delete:hover,
.paystub-entry__action--delete:focus {
  background: #fdeeee;
  color: #812727;
}

.paystub-entry__error {
  margin: 0.8rem 0 0;
  color: #9b3535;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 991px), (hover: none) {
  .pdf-hover-preview {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .head-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: unset;
  }

  .phonehead-container {
    width: 100%;
  }

  .header-links {
    justify-content: flex-start;
  }

  .navbar .container-fluid {
    width: 100%;
    padding: 0.35rem 15px 0.5rem;
  }
}

@media (max-width: 767px) {
  .site-brand img {
    max-width: 170px;
    max-height: 56px;
  }

  .header-links {
    gap: 8px 14px;
  }

  .header-links a {
    font-size: 0.85rem;
  }

  .navbar .nav-link {
    padding: 0.7rem 0.2rem;
  }
}

@media (max-width: 576px) {
  .paystub-entry {
    padding: 0.9rem;
  }

  .paystub-entry__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .paystub-entry__file {
    align-items: flex-start;
    flex-direction: column;
  }

  .paystub-entry__actions {
    flex-direction: column;
  }

  .paystub-entry__action {
    width: 100%;
  }

  .email-modal__dialog {
    width: calc(100% - 1.25rem);
    margin-top: 4vh;
    padding: 1rem;
    border-radius: 18px;
  }

  .email-modal__actions {
    flex-direction: column-reverse;
  }

  .email-modal__button {
    width: 100%;
  }
}

.container.company-photo {
  width: 100px;
}
@media (max-width: 990px) {
  .container-fluid {
    width: 90%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
}
