/* Portal-only tweaks on top of Cartzilla/TAAP theme CSS */

.topbar-scroll-wrap { overflow: hidden; }
.topbar-scroll-track {
  display: inline-block;
  white-space: nowrap;
  animation: taap-topbar-scroll 60s linear infinite;
  color: #f0f0f0;
}
.topbar-scroll-track .topbar-scroll-text { padding-right: 3em; }
.topbar-scroll-track .topbar-scroll-date {
  display: inline-block;
  background: #2d8a3e;
  color: #fff;
  font-weight: 600;
  font-size: 0.85em;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  margin-right: 0.5em;
}
.topbar-scroll-track .topbar-scroll-feedback {
  color: #fff !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.topbar-scroll-track .topbar-scroll-feedback:hover { color: #fe696a !important; }
@keyframes taap-topbar-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.taap-portal .nav-link.bg-transparent {
  cursor: pointer;
  font: inherit;
  line-height: inherit;
}
.taap-portal .errorlist {
  color: #fe4344;
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
}
.taap-portal .token-box code {
  display: block;
  word-break: break-all;
  white-space: pre-wrap;
}

/* django-simple-captcha */
.taap-portal .captcha-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.taap-portal .captcha-field > label {
  flex: 0 0 100%;
  margin-bottom: 0;
}
.taap-portal .captcha-field img {
  border: 1px solid #e3e9ef;
  border-radius: 0.25rem;
  height: 50px;
}
.taap-portal .captcha-field input[type="text"] {
  max-width: 10rem;
}
