/* Gemensam list för dcallin.-exempelsidor */
.dc-demo-bar {
  position: relative;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  flex-wrap: wrap;
  padding: 9px 16px;
  background: #0a1020;
  color: rgba(243, 239, 230, 0.75);
  font: 500 13px/1.4 system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-align: center;
}
.dc-demo-bar strong { color: #f3efe6; font-weight: 600; }
.dc-demo-bar a { color: #3fd3ea; text-decoration: none; white-space: nowrap; }
.dc-demo-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dc-demo-bar .sep { opacity: .35; }
.dc-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  transform: translate(-50%, 140%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 16px 20px;
  border-radius: 10px;
  background: #0a1020;
  color: #f3efe6;
  font: 500 15px/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  visibility: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.1,1), visibility 0s .5s;
}
.dc-toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s cubic-bezier(.2,.7,.1,1), visibility 0s; }
.dc-toast small { display: block; margin-top: 4px; color: rgba(243, 239, 230, 0.6); font-weight: 400; }

/* Visa inte alt-text om en bild inte hinner laddas */
img { color: transparent; }

/* Designad av dcallin. – samma som på dcallin.se */
.dc-credit { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; font-size: 14px; opacity: .85; }
.dc-credit img { height: 20px; width: auto; display: block; }
.dc-credit:hover { opacity: 1; }
.dc-credit:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
