@font-face {
  font-family: 'Roboto';
  src: url('roboto.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333f50 !important;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.text-color {
  color: #333f50 !important;
}
.text-white {
  color: #fffff0 !important;
}
.text-blue {
  color: #1976d2 !important;
}
.text-red {
  color: #cc0000 !important;
}
.text-green {
  color: #198754 !important;
}
.text-purple {
  color: #6f42c1 !important;
}
.text-action {
 color: #20c997 !important;
}
a,
a:visited,
a:hover,
a:active {
  color: #333f50 !important;
  text-decoration: none;
}
small,
.small {
  font-size: 0.75em;
}

/* payment methods */
.pm-item {
  border: 0;
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: 0;
  padding: 0.85rem 1rem;
}

.pm-item:last-of-type {
  border-bottom: 0; /* no line on the last item */
}

.btn-check:checked + .pm-item {
  background: rgba(var(--bs-primary-rgb), 0.06);
  box-shadow: inset 0 0 0 2px rgba(var(--bs-primary-rgb), 0.35);
}

.btn-check:focus + .pm-item {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* right-side radio icon */
.pm-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--bs-secondary-color);
  border-radius: 50%;
  position: relative;
  flex: 0 0 18px;
}

.btn-check:checked + .pm-item .pm-radio {
  border-color: var(--bs-primary);
}

.btn-check:checked + .pm-item .pm-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bs-primary);
}

.googlepay-button {
  margin: 32px;
  height: 48px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apple-pay-button {
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: plain;
  margin: 32px;
  height: 48px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: -webkit-named-image(apple-pay-logo-black);
  background-size: 100% calc(60% + 2px);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: background-color 0.15s;
  cursor: pointer;
}

.mywidth {
  margin-left: 50px;
  margin-right: 50px;
}

.amount-col {
  min-width: 14ch;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.amount-label {
  margin-right: 1rem;
  text-align: right;
}
.strikethrough {
  text-decoration: line-through;
  opacity: 0.6;
}

#applepay-button {
  transition: opacity 0.2s ease;
}
.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.badge-paid {
  background-color: #198754;
}
.badge-pending {
  background-color: #ffc107;
}
.badge-overdue {
  background-color: #dc3545;
}
