.app {
  color: #000;
}

.disabled {
  cursor: default;
}

.circle-border-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100rem;
  border: 1px solid #000;
  color: #000;
  width: 32px;
  height: 32px;
}

.dropdown-item {
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #000;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.tooltip {
  pointer-events: none;
}

.body-direction-rtl {
  text-align: initial;
}

.body-direction-rtl label {
  text-align: right;
}

.screen-reader-only {
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
  position: absolute;
}

.not-found-container {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.not-found-container.over-all {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
}

.not-found-container .qb-logo {
  margin-bottom: 3rem;
}

.not-found-container .not-found-header {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.not-found-container .not-found-text {
  margin-bottom: 1rem;
}

.not-found-container .btn:not(:last-child) {
  margin-right: 1rem;
}

.app {
  font-family: 'Inter', 'Open Sans', sans-serif;
}

.app button {
  font-family: 'Inter', 'Open Sans', sans-serif !important;
}

.app .app-header {
  background-color: #434a4f;
}

.dashboard-cards {
  margin: 0 -0.5rem;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}

.dashboard-card {
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow:
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: calc(100% / 3 - 1rem);
  margin: 0.5rem;
  padding-block-end: 8px;
  box-sizing: border-box;
}

.dashboard-card:hover .sharable-button--action,
.dashboard-card:hover .mock-button {
  background-color: #0256b2;
}

.dashboard-card:hover .sharable-button--action:after,
.dashboard-card:hover .mock-button:after {
  opacity: 1;
}

.dashboard-card :active .sharable-button--action,
.dashboard-card :active .mock-button {
  box-shadow: inset 1px 1px #0256b2;
}

.dashboard-card .sharable-button--action,
.dashboard-card .mock-button {
  transition: background-color 0.2s ease-in-out;
  margin: 0.5rem;
  position: relative;
  min-width: 100px;
}

.dashboard-card .sharable-button--action:after,
.dashboard-card .mock-button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 5px 36px -12px rgba(19, 45, 56, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.dashboard-card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.19);
  padding: 0.5rem;
  align-self: stretch;
  text-align: center;
}

body a {
  color: #026bde;
}

.splash {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  background-color: #fff;
}

.splash .arc:before,
.splash .arc:after {
  background-color: #ffffff;
}

.splash .the-q path {
  fill: #1f2421;
}

@media (prefers-color-scheme: dark) {
  .splash {
    background-color: #1f2421;
  }

  .splash .arc:before,
  .splash .arc:after {
    background-color: #1f2421;
  }

  .splash .the-q path {
    fill: #fff;
  }
}

.splash-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-logo {
  width: 360px;
  height: 80px;
  min-width: 190px;
  min-height: 55px;
  margin-bottom: 24px;
}

.splash-logo.light-mode {
  display: block;
}

.splash-logo.dark-mode {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .splash-logo.light-mode {
    display: none;
  }

  .splash-logo.dark-mode {
    display: block;
  }
}

.loader-bar-container {
  width: 70%;
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.loader-bar-outer {
  background-color: var(--color-primary-lighter);
  width: 100%;
  height: 100%;
}

.loader-bar-inner {
  background-color: var(--color-primary);
  width: 100%;
  height: 100%;
  transform: translateX(calc(-100% + 8px));
  animation: oscillate 2s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes oscillate {
  0% {
    transform: translateX(calc(-100% + 8px));
  }
  50% {
    transform: translateX(calc(100% - 8px));
  }
  100% {
    transform: translateX(calc(-100% + 8px));
  }
}

.loader-container {
  height: 150px;
  width: 150px;
  position: relative;
}

.loader-container .loader {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.loader-container .loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  transform-origin: center;
  transform: translate(-50%, -50%) scale(0.8);
}

.loader-container .arc {
  position: relative;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 4px solid #6bc073;
  border-radius: 50%;
  animation: rotate 1.1s infinite linear;
  box-sizing: unset;
}

.loader-container .arc:before,
.loader-container .arc:after {
  content: '';
  position: absolute;
  top: -15px;
  width: 83px;
  height: 162px;
  background-color: #fff;
  animation: rotate 2s infinite ease;
}

.loader-container .arc:before {
  left: -6px;
  transform-origin: 83px 83px;
}

.loader-container .arc:after {
  left: 77px;
  transform-origin: 0 79px;
  animation-delay: 0.5s;
}

@media (prefers-color-scheme: dark) {
  .loader-container .arc:before,
  .loader-container .arc:after {
    background-color: #1f2421;
  }
}

#unsupported-browser-splash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Open Sans';
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

#maintenance-splash {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #565656;
  padding: 25px;
  color: white;
  z-index: 99998;
  display: none;
}

#maintenance-splash.enabled {
  display: block;
}

#maintenance-splash .content {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
  text-align: center;
}

#maintenance-splash .content img {
  margin-bottom: 25px;
}

#maintenance-splash .content .message {
  color: #252525;
}

#maintenance-warning {
  position: fixed;
  bottom: -600px;
  right: 20%;
  left: 20%;
  padding: 15px;
  background: #026bde;
  color: white;
  z-index: 100000000000001 !important; /* Olark + 1 :) */
  transition: bottom 0.3s;
}

#maintenance-warning.enabled {
  bottom: 0;
}

#maintenance-warning p {
  margin-bottom: 0.1rem;
}

#maintenance-warning .dismiss {
  font-style: oblique;
  text-align: right;
  font-size: 0.66rem;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
}

/* logout popover */
.popover {
  max-width: 360px;
  z-index: 1060;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #000;
}

.no-access-container {
  padding-top: 3rem;
  z-index: 10000;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.no-access-container .no-access-header {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.no-access-container .no-access-text {
  margin-bottom: 1rem;
}

.app .Toastify__toast {
  align-items: center;
}

.app .Toastify__toast-body {
  margin-left: 8px;
}

.app .Toastify__toast--info {
  background: rgba(181, 225, 249, 0.9);
  border-color: rgba(181, 225, 249, 0.9);
  color: #000;
}

.app .Toastify__toast--error {
  background: rgba(243, 186, 189, 0.9);
  border-color: rgba(243, 186, 189, 0.9);
  color: #000;
}

.app .Toastify__toast--success {
  background: rgba(180, 241, 196, 0.9);
  border-color: rgba(180, 241, 196, 0.9);
  color: #000;
}

/* show up on top of modals */
.app .Toastify__toast-container {
  z-index: 10001;
}

.app .Toastify__toast-container--top-center {
  left: 50%;
  margin-left: 0;
  transform: translateX(-50%);
  width: auto;
  max-width: 1012px;
}

.app .Toastify__close-button {
  margin: auto 8px;
  color: #000;
  line-height: 1;
}

