:root {
  --brand-blue: #2e67a3;
  --brand-blue-soft: rgba(255, 255, 255, 0.16);
  --brand-blue-strong: rgba(255, 255, 255, 0.26);
}

body {
  background: #f7f8fa;
}

main {
  min-height: calc(100vh - 64px);
}

.app-container {
  max-width: 100%;
}

@media (min-width: 1200px) {
  .app-container {
    max-width: 1560px;
  }
}

@media (min-width: 1800px) {
  .app-container {
    max-width: 1760px;
  }
}

.table th {
  white-space: nowrap;
}

.pagination-nav {
  display: flex !important;
  justify-content: flex-end !important;
  margin: 0.5rem 0;
  width: 100%;
}

.pagination-top-row {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) max-content;
}

.pagination-top-row .pagination-nav {
  margin: 0;
}

.pagination-top-links {
  justify-self: end;
  min-width: max-content;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  padding-bottom: 0.25rem;
  padding-top: 0.25rem;
}

.app-brand-group {
  align-items: center;
  display: inline-flex;
  gap: 1.5rem;
}

.app-brand img {
  height: 44px;
  max-width: 220px;
  object-fit: contain;
}

.app-navbar {
  background: var(--brand-blue) !important;
  border-bottom: 0 !important;
}

.app-navbar .nav-link {
  border-radius: 6px;
  color: #fff;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.app-navbar .nav-link:hover,
.app-navbar .nav-link:focus {
  background: var(--brand-blue-soft);
  color: #fff;
}

.app-navbar .nav-link.active {
  background: var(--brand-blue-strong);
  color: #fff;
  font-weight: 600;
}

.account-link {
  font-weight: 600;
}

.app-navbar .navbar-text {
  color: #fff;
}

.app-navbar .btn.nav-link {
  color: #fff;
}

.app-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.55);
}

.app-navbar .navbar-toggler-icon {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.app-navbar .language-select {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: transparent;
  color: #fff;
}

.app-navbar .language-select:focus {
  border-color: transparent;
  box-shadow: none;
}

.app-navbar .language-select option {
  color: #212529;
}

.utc-clock {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  white-space: nowrap;
}

.password-toggle-button {
  align-items: center;
  background: transparent;
  border-color: transparent;
  color: #6c757d;
  display: inline-flex;
  justify-content: center;
  min-width: 2.75rem;
}

.password-toggle-button:hover,
.password-toggle-button:focus,
.password-toggle-button:active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  color: #212529 !important;
}

.password-eye {
  fill: none;
  height: 1.15rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 1.15rem;
}

.password-eye-closed {
  display: none;
}

.password-toggle-button[aria-pressed="true"] .password-eye-open {
  display: none;
}

.password-toggle-button[aria-pressed="true"] .password-eye-closed {
  display: block;
}

.service-nav {
  background: var(--brand-blue);
  border-bottom: 0;
}

.service-subnav {
  background: var(--brand-blue);
  border-bottom: 0;
}

.service-nav-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.55rem 0;
  white-space: nowrap;
}

.service-nav-title {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-right: 0.35rem;
}

.service-nav-group {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 0.7rem;
  text-transform: uppercase;
}

.service-nav-divider {
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  margin: 0.15rem 0.55rem;
  min-height: 1.7rem;
}

.service-nav-link {
  border: 0;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 1.0rem;
  line-height: 1.2;
  padding: 0.58rem 0.85rem;
  text-decoration: none;
}

.service-nav-link:hover,
.service-nav-link:focus {
  background: var(--brand-blue-soft);
  color: #fff;
}

.service-nav-link.active {
  background: var(--brand-blue-strong);
  color: #fff;
}

.service-nav-link.danger {
  color: #fff;
}

.service-nav-link.danger.active {
  background: rgba(220, 53, 69, 0.8);
  color: #fff;
}

.service-nav-link.disabled {
  color: rgba(255, 255, 255, 0.55);
  cursor: not-allowed;
}

.billing-filter-form {
  align-items: end;
  display: grid;
  gap: 0.5rem;
  grid-template-columns:
    minmax(10rem, 1.2fr)
    minmax(8.5rem, 0.9fr)
    minmax(8.5rem, 0.9fr)
    minmax(7rem, 0.7fr)
    minmax(9.5rem, 1fr)
    minmax(10rem, 1fr)
    max-content
    max-content;
}

.billing-filter-form .form-label {
  white-space: nowrap;
}

.apis-billing-filter-form {
  grid-template-columns:
    minmax(12rem, 1.4fr)
    minmax(9rem, 1fr)
    minmax(9rem, 1fr)
    max-content
    max-content;
}

@media (max-width: 1199.98px) {
  .billing-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .billing-filter-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {
  .app-navbar .navbar-nav {
    align-items: stretch;
    padding-top: 0.75rem;
  }

  .app-navbar .nav-link,
  .app-navbar .navbar-text {
    padding-left: 0;
  }

  .utc-clock {
    min-height: auto;
  }

  .app-brand-group {
    gap: 0.75rem;
  }
}

.bulletin-content {
  white-space: pre-wrap;
}

.notice-banner-copy {
  min-width: 0;
}

.app-navbar .notice-nav-unread {
  animation: notice-nav-attention 1.6s ease-in-out infinite;
}

@keyframes notice-nav-attention {
  0%,
  100% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(255, 255, 255, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-navbar .notice-nav-unread {
    animation: none;
    background-color: rgba(255, 255, 255, 0.2);
  }
}
