/* Service notices (notice.js): a label with a coloured dot, in the bar of «Tots els canvis desats…» and on /entrar. */
.service-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.35;
}
.service-notice::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.service-notice.info {
  background: #e3f0ea;
  color: #1f5c38;
}
.service-notice.warn {
  background: #fbf1dc;
  color: #7a4f06;
}
.service-notice.alert {
  background: #fbe7e4;
  color: #c0392b;
}
.account-card > .service-notice {
  display: flex;
  margin: 0 0 18px;
  font-size: 14px;
}
html.dark .service-notice.info {
  background: #1d3a2a;
  color: #9be8b4;
}
html.dark .service-notice.warn {
  background: #3a2f17;
  color: #f6c867;
}
html.dark .service-notice.alert {
  background: #3d1f1c;
  color: #ff7b6b;
}
/* a new version of Turonet published while the page is open (notice.js): a strip with «Recarregar» */
.new-build {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 42px;
  background: #eaf2f8;
  color: #2f4b60;
  border-bottom: 1px solid #d3e2ee;
  font-size: 14px;
  font-weight: 550;
}
html.dark .new-build {
  background: #17232d;
  color: #c7dbe8;
  border-bottom-color: #2b3c4a;
}
@media (max-width: 760px) {
  .new-build {
    padding: 8px 16px;
    font-size: 13px;
  }
}
/* the public status page (notice.js): «Estat del servei» under the sign-in card and in the help, and «Turonet no respon
   ara mateix. Mira l’estat del servei» in the bar of the saving when the server does not answer */
.account-card > .gate-status {
  margin: 16px 0 0;
  font-size: 13px;
}
.help-guide > .help-status {
  margin: 10px 0 0;
  font-size: 13px;
}
.status-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.account-card > .gate-status .status-link,
.help-status .status-link {
  color: var(--muted);
}
#sync-bar .sync-down {
  padding: 3px 9px;
  border-radius: 8px;
  background: #fbe7e4;
  color: #c0392b;
  font-weight: 600;
}
html.dark #sync-bar .sync-down {
  background: #3d1f1c;
  color: #ff7b6b;
}
