﻿html {
  height: 100%;
}

:root {
  --bs-primary: #154396;
  --bs-primary-rgb: 21, 67, 150;
  --bs-link-color: #154396;
  --bs-link-color-rgb: 21, 67, 150;
  --bs-link-hover-color: #0f3170;
  --bs-link-hover-color-rgb: 15, 49, 112;
  --bs-body-font-family: elza-round-variable, elza-round, Segoe UI, system-ui, sans-serif;
  --bs-body-color: #130c0e;
}

html > body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F1F1F2;
  overflow-x: hidden;
  font-family: elza-round-variable, elza-round, "Segoe UI", system-ui, sans-serif;
  color: #130c0e;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: elza-round-variable, elza-round, "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  font-variation-settings: "wght" 500;
  font-synthesis-weight: none;
}

strong, b, dt, th {
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
}

.dxbl-text-edit, .dxbl-btn, .dxbl-fl, .dxbl-calendar {
  font-family: elza-round-variable, elza-round, "Segoe UI", system-ui, sans-serif;
}

.cornerstone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.6rem 1.6rem;
  border-radius: 9999px;
  font-family: elza-round-variable, elza-round, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
}
.cornerstone-button.cornerstone-button-primary {
  background-color: #154396 !important;
  border: 1px solid #154396 !important;
  color: #FFFFFF !important;
}
.cornerstone-button.cornerstone-button-primary:hover:not(:disabled):not(.dxbl-disabled) {
  background-color: #2a5aaa !important;
  border-color: #2a5aaa !important;
}
.cornerstone-button.cornerstone-button-secondary {
  background-color: #ffffff !important;
  border: 1px solid #D8D8D9 !important;
  color: #130c0e !important;
}
.cornerstone-button.cornerstone-button-secondary:hover:not(:disabled):not(.dxbl-disabled) {
  background-color: #e9eaec !important;
}
.cornerstone-button.cornerstone-button-block {
  width: 100%;
}

.bp-button-busy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.bp-spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bp-spin 0.75s linear infinite;
}

@keyframes bp-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bp-spinner {
    animation-duration: 2s;
  }
}
.bp-card {
  background-color: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(19, 12, 14, 0.1);
  padding: 1.4rem 1.15rem;
  min-width: 0;
}

.bp-card-narrow {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
}

.bp-card-title {
  margin: 0 0 0.4rem 0;
  text-align: center;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
  font-size: 1.75rem;
  letter-spacing: 0.3px;
  color: #154396;
  text-wrap: balance;
}

.bp-lede {
  margin: 0 0 1.5rem 0;
  text-align: center;
  font-size: 1.05rem;
  color: #4b5059;
}

.bp-eyebrow {
  margin: 0 0 0.3rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #008ba8;
}

.bp-section-title {
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #D8D8D9;
  font-size: 1.35rem;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
  color: #154396;
}

.bp-totals {
  margin: 0;
}
.bp-totals > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
}
.bp-totals dt {
  font-weight: 600;
  font-variation-settings: "wght" 600;
  font-synthesis-weight: none;
  color: #4b5059;
}
.bp-totals dd {
  margin: 0;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  font-synthesis-weight: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.bp-totals .bp-totals-balance {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid #D8D8D9;
}
.bp-totals .bp-totals-balance dt, .bp-totals .bp-totals-balance dd {
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
  font-size: 1.4rem;
  color: #154396;
}

.bp-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 0 1rem 0;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.bp-alert > span {
  white-space: pre-line;
}
.bp-alert svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.bp-alert p:last-child {
  margin-bottom: 0;
}

.bp-alert-danger {
  background-color: #FDECEA;
  color: #8a1c12;
}

.bp-alert-info {
  background-color: #E5F6FD;
  color: #0b4a66;
}

.bp-alert-success {
  background-color: #E6F6EE;
  color: #11603a;
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis-weight: none;
  font-size: 1.1rem;
}

.validation-message {
  margin: 0.35rem 0 0 1.25rem;
  font-size: 0.875rem;
  color: #e50000;
}

.bp-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 1.1rem;
}

.bp-label {
  display: block;
  margin: 0 0 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  font-synthesis-weight: none;
  letter-spacing: 0.15px;
  color: #130c0e;
}

.bp-help {
  margin: 0.35rem 0 0 1.25rem;
  font-size: 0.875rem;
  color: #4b5059;
}

.bp-input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid #D8D8D9;
  border-radius: 9999px;
  background-color: #ffffff;
  box-shadow: none;
  font-size: 1.125rem;
  font-weight: 600;
  font-variation-settings: "wght" 600;
  font-synthesis-weight: none;
  padding: 0.35rem 1.25rem;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  font-synthesis-weight: none;
}
.bp-input:focus-within {
  border-color: #00AEEF;
  box-shadow: inset 0 0 0 1px #00AEEF;
}
.bp-input input {
  font-weight: 400;
  font-variation-settings: "wght" 400;
  font-synthesis-weight: none;
}

select.bp-select {
  min-height: 3.5rem;
  padding: 0.35rem 2.5rem 0.35rem 1.25rem;
  border: 1px solid #D8D8D9;
  border-radius: 9999px;
  background-position: right 1rem center;
  font-size: 1.125rem;
  font-weight: 400;
  font-variation-settings: "wght" 400;
  font-synthesis-weight: none;
  color: #130c0e;
  cursor: pointer;
}
select.bp-select:focus {
  border-color: #00AEEF;
  box-shadow: inset 0 0 0 1px #00AEEF;
}

@media screen and (max-width: 640px) {
  .bp-input input,
  select.bp-select {
    font-size: 16px;
  }
}
@media screen and (min-width: 576px) {
  .bp-card {
    padding: 1.75rem 2rem;
  }
  .bp-card-title {
    font-size: 2rem;
  }
}
.dxbl-wait-indicator {
  --dxbl-wait-indicator-color: #154396;
}

.dxbl-loading-panel {
  --dxbl-loading-panel-message-color: #154396;
}
