/* SmartBiz Demo session banner */
.sb-demo-banner {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: linear-gradient(105deg, #0b3d91 0%, #1d6ef5 55%, #0ea5a0 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(11, 61, 145, 0.25);
}

.sb-demo-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  max-width: 100%;
}

.sb-demo-banner__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.sb-demo-banner__countdown {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
}

.sb-demo-banner__countdown time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sb-demo-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sb-demo-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
}

.sb-demo-banner__btn:hover,
.sb-demo-banner__btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sb-demo-banner__btn--leave {
  background: rgba(0, 0, 0, 0.18);
}

.sb-demo-banner .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .sb-demo-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .sb-demo-banner__actions {
    width: 100%;
  }
  .sb-demo-banner__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (prefers-contrast: more) {
  .sb-demo-banner {
    background: #000;
    border-bottom: 2px solid #fff;
  }
  .sb-demo-banner__btn {
    border-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-demo-banner__btn {
    transition: none;
  }
}
