/* The join banner from signin-prompt.ftl, styled to sit under the activity bar
   (partials/activity-bar). Colors meet WCAG AA contrast on the banner's background. */
.signin-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px solid #cfe3fb;
  border-radius: 10px;
  background-color: #f0f7ff;
  color: #3b4f68;
  font-size: 15px;
  line-height: 1.45;
}
/* Takes the room the actions leave, and pushes them onto their own line when there's too little */
.signin-prompt .signin-prompt-text {
  flex: 1 1 340px;
  margin: 0;
  padding: 0;
}
/* A strong rather than its own paragraph, so page rules that resize paragraphs on phones leave
   the title larger than the text */
.signin-prompt .signin-prompt-title {
  display: block;
  margin-bottom: 2px;
  color: #1b2b44;
  font-size: 17px;
  font-weight: 700;
}
.signin-prompt .signin-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
}
.signin-prompt a {
  color: #0360b8;
  font-weight: 600;
  text-decoration: underline;
}
.signin-prompt a:hover {
  color: #024a8f;
}
.signin-prompt .signin-prompt-join {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background-color: #0b7a4b;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.signin-prompt .signin-prompt-join:hover {
  background-color: #08623c;
  color: #ffffff;
  text-decoration: none;
}
.signin-prompt a:focus-visible {
  outline: 2px solid #0175e4;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .signin-prompt {
    padding: 12px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .signin-prompt .signin-prompt-join {
    transition: none;
  }
}
