:root{
  --mm-primary:#04CCF6;
  --mm-primary-soft:#DAF6FB;
  --mm-ink:#1F164E;
  --mm-border: rgba(31,22,78,.12);
  --mm-shadow: rgba(31,22,78,.10);
}

.uk-bc{
  font-family: "Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--mm-ink);
  background: var(--mm-primary-soft);
  border-width: 1px 1px 1px 1px;
  border-color:#1F164E;
  border-radius: 0px 0px 30px 0px;
  padding: 18px;
  max-width: 100%;
  background: #fff;
  box-shadow: 0 8px 22px var(--mm-shadow);
}

.uk-bc__sectionTitle{
  font-weight: 900;
  margin: 8px 0 10px;
  letter-spacing: .2px;
}

.uk-bc__row{ margin-bottom: 14px; }
.uk-bc__row--2col{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.uk-bc__label{
  display:block;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: .2px;
}

.uk-bc__inputwrap{
  display:flex;
  align-items:center;
  border: 1px solid var(--mm-border);
  border-radius: 0px;
  overflow:hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.uk-bc__prefix{
  padding: 10px 12px;
  background: var(--mm-primary-soft);
  border-right: 1px solid var(--mm-border);
  color: var(--mm-ink);
  font-weight: 900;
}

.uk-bc__suffix{
  padding: 10px 12px;
  background: var(--mm-primary-soft);
  border-left: 1px solid var(--mm-border);
  color: var(--mm-ink);
  font-weight: 900;
  white-space: nowrap;
}

.uk-bc__input{
  border: 0;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  font-size: 16px;
  color: var(--mm-ink);
  background: #fff;
}

.uk-bc__inputwrap:focus-within{
  border-color: var(--mm-primary);
  box-shadow: 0 0 0 3px rgba(4,204,246,.25);
}

.uk-bc__btn{
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color:#1F164E;
  border-radius: 0px 0px 30px 0px;
  padding: 12px 50px 12px 40px;
  background-color: #1F164E;
  font-weight: 500;
  color: #ffffff;
  text-transform: Uppercase;
  letter-spacing: .9px;
  transition: transform .06s ease, filter .15s ease;
}

.uk-bc__btn:hover{ filter: brightness(.98); }
.uk-bc__btn:active{ transform: translateY(1px); }

.uk-bc__results{ margin-top: 16px; }

.uk-bc__cards{
  display:grid;
  grid-template-columns: 1.2fr 1.2fr .7fr;
  gap: 12px;
}

.uk-bc__card{
  padding: 14px;
  border-radius: 0px 0px 30px 0px;
  background: var(--mm-primary-soft);
  border: 1px solid var(--mm-border);
}

.uk-bc__cardLabel{
  font-size: 13px;
  opacity: .85;
  font-weight: 800;
}

.uk-bc__cardValue{
  font-size: 26px;
  font-weight: 900;
  margin-top: 4px;
}

.uk-bc__details{
  margin-top: 12px;
}

.uk-bc__detailGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.uk-bc__detail{
  border: 1px solid var(--mm-border);
  border-radius: 0px 0px 30px 0px;
  padding: 12px;
  background: #fff;
}

.uk-bc__detailLabel{
  font-size: 13px;
  opacity: .85;
  font-weight: 800;
}

.uk-bc__detailValue{
  font-size: 16px;
  font-weight: 900;
  margin-top: 4px;
}

.uk-bc__muted{
  font-weight: 700;
  opacity: .8;
  font-size: 13px;
}

.uk-bc__disclaimer{
  margin-top: 12px;
  font-size: 12px;
  opacity: .8;
}

.uk-bc__error{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 0px;
  background: rgba(218,246,251,.55);
  border: 1px solid rgba(4,204,246,.45);
  color: var(--mm-ink);
  font-weight: 800;
}

@media (max-width: 740px){
  .uk-bc__row--2col{ grid-template-columns: 1fr; }
  .uk-bc__cards{ grid-template-columns: 1fr; }
  .uk-bc__detailGrid{ grid-template-columns: 1fr; }
}


.uk-bc__seg{
  display:inline-flex;
  border: 1px solid var(--mm-border);
  border-radius: 0px;
  overflow: hidden;
  background: #fff;
}

.uk-bc__segItem{
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
}

.uk-bc__segItem input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.uk-bc__segItem span{
  padding: 10px 14px;
  font-weight: 900;
  color: var(--mm-ink);
  min-width: 44px;
  text-align:center;
}

.uk-bc__segItem input:checked + span{
  background: var(--mm-primary);
}
