/* SignConnect Widget build 2026-01-23T20:36:12+00:00 v0.1.0 */


/* src/widget.css */

@import url("https://fonts.googleapis.com/css2?family=Arimo:wght@400..700&family=DM+Sans:wght@350;800&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");

.sc-player,
.sc-player *,
.sc-player *::before,
.sc-player *::after,
.sc-modal,
.sc-modal *,
.sc-modal *::before,
.sc-modal *::after,
.sc-fullscreen,
.sc-fullscreen *,
.sc-fullscreen *::before,
.sc-fullscreen *::after,
#aslPlayTab,
#aslPlayTab *,
#aslPlayTab *::before,
#aslPlayTab *::after,
.sc-fab,
.sc-fab *,
.sc-fab *::before,
.sc-fab *::after {
  box-sizing: border-box;
}

:root {
  --sc-border: rgba(0,0,0,.14);
  --sc-shadow: 0 18px 50px rgba(0,0,0,.22);
  --radius: 14px;
  --sc-user-bg: rgba(243,244,246,1);
  --sc-topbar-bg: rgba(225,225,225,.92);
  --sc-asl-border-style: dashed;
  --sc-asl-border-color: rgba(20,24,38,.55);
  --font: "Arimo", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --brand: "DM Sans", "Arimo", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --videoSize: 220px;
  --topbarH: 56px;
  --btn: 26px;
  --btnFont: 13px;
  --ctlPad: 4px;
  --ctlGap: 6px;
  --powFont: 11px;
  --powPadY: 5px;
  --powPadX: 8px;
  --playSize: 44px;
  --videoZoom: 1.08;
}

.asl-target {
  outline: 0 solid transparent;
  transition: outline-color 120ms ease;
  scroll-margin-top: 110px;
}

.asl-target.asl-block-wrapper {
  display: inline-block;
  max-width: 100%;
}

.asl-target.asl-locked {
  outline: 2px var(--sc-asl-border-style) var(--sc-asl-border-color);
  outline-offset: 2px;
  box-shadow: none;
}

#aslPlayTab {
  position: fixed;
  z-index: 9998;
  width: 28px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
  border: 1px solid rgba(0,0,0,.10);
  padding: 0;
  display: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}

#aslPlayTab:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

#aslPlayTab .tri {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-42%, -50%);
  width: 0;
  height: 0;
  border-left: 10px solid rgba(0,0,0,.78);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.sc-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: var(--videoSize);
  height: calc(var(--videoSize) + var(--topbarH));
  z-index: 9999;
  border: 1px solid var(--sc-border);
  border-radius: var(--radius);
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  display: none;
  flex-direction: column;
  background: var(--sc-user-bg);
  cursor: grab;
  touch-action: none;
  font-family: var(--font);
}

.sc-player.on {
  display: flex;
}

.sc-player.dragging {
  cursor: grabbing;
}

.sc-topbar {
  height: var(--topbarH);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  gap: 10px;
  background: var(--sc-topbar-bg);
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.sc-settings-btn {
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.26);
  color: rgba(255,255,255,.96);
  border-radius: 12px;
  padding: var(--ctlPad);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--btn) + (var(--ctlPad) * 2));
  height: calc(var(--btn) + (var(--ctlPad) * 2));
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  backdrop-filter: blur(8px);
}

.sc-settings-btn:hover {
  background: rgba(0,0,0,.32);
}

.sc-settings-btn i {
  font-size: calc(var(--btnFont) + 2px);
  line-height: 1;
}

.sc-controls {
  display: flex;
  gap: var(--ctlGap);
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 12px;
  padding: var(--ctlPad);
  backdrop-filter: blur(8px);
}

.sc-btn {
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.96);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
  width: var(--btn);
  height: var(--btn);
  font-size: var(--btnFont);
  padding: 0;
  touch-action: manipulation;
}

.sc-btn:hover {
  background: rgba(255,255,255,.14);
}

.sc-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.sc-btn:disabled:hover {
  background: rgba(255,255,255,.10);
}

.sc-stage {
  position: relative;
  width: 100%;
  height: var(--videoSize);
  flex: 0 0 auto;
  overflow: hidden;
}

#scVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.sc-player #scVideo {
  object-fit: cover;
  transform: scale(var(--videoZoom));
  transform-origin: center;
}

.sc-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  line-height: 1.45;
  pointer-events: none;
}

.sc-empty.hidden {
  display: none;
}

.sc-play-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12;
  pointer-events: none;
}

.sc-play-overlay.on {
  display: flex;
}

.sc-play-btn {
  width: var(--playSize);
  height: var(--playSize);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.96);
  box-shadow: 0 14px 50px rgba(0,0,0,.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  backdrop-filter: blur(8px);
}

.sc-play-btn:hover {
  background: rgba(0,0,0,.42);
}

.sc-play-btn i {
  font-size: 16px;
  transform: translateX(1px);
}

.sc-powered {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 30;
  background: rgba(0,0,0,.26);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  padding: var(--powPadY) var(--powPadX);
  backdrop-filter: blur(8px);
  font-size: var(--powFont);
  color: rgba(255,255,255,.94);
  white-space: nowrap;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-powered .pow-by {
  opacity: .90;
  font-weight: 700;
}

.sc-powered a {
  color: inherit;
  text-decoration: none;
  font-family: var(--brand);
  letter-spacing: .1px;
}

.sc-powered a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-powered .brand-sign {
  font-weight: 350;
}

.sc-powered .brand-connect {
  font-weight: 800;
}

.sc-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #ffffff;
  color: #141826;
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
}

.sc-fab:hover {
  box-shadow: 0 18px 54px rgba(0,0,0,.18);
  transform: translateY(-1px);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.sc-fab i {
  font-size: 22px;
  color: #0b4ea2;
}

.sc-fab.hidden {
  display: none;
}

.sc-modal {
  position: fixed;
  z-index: 10001;
  display: none;
  width: min(360px, calc(100vw - 24px));
  border-radius: 16px;
  border: 1px solid rgba(20,24,38,.14);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 70px rgba(0,0,0,.18);
  color: #141826;
  overflow: hidden;
  font-family: var(--font);
}

.sc-modal.on {
  display: block;
}

.sc-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 8px;
}

.sc-modal-title {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .2px;
}

.sc-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(20,24,38,.12);
  background: rgba(20,24,38,.06);
  color: #141826;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
}

.sc-modal-close:hover {
  background: rgba(20,24,38,.10);
}

.sc-modal-body {
  padding: 8px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-field {
  border: 1px solid rgba(20,24,38,.10);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255,255,255,.94);
}

.sc-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.sc-label {
  font-size: 12.5px;
  font-weight: 900;
}

.sc-select {
  border: 1px solid rgba(20,24,38,.14);
  background: #ffffff;
  color: #141826;
  border-radius: 12px;
  padding: 7px 10px;
  font-size: 12.5px;
  outline: none;
}

.sc-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.sc-swatch {
  height: 30px;
  border-radius: 12px;
  border: 1px solid rgba(20,24,38,.14);
  background: var(--sw, #fff);
  cursor: pointer;
  position: relative;
  padding: 0;
  touch-action: manipulation;
}

.sc-swatch:hover {
  outline: 2px solid rgba(20,24,38,.14);
  outline-offset: 2px;
}

.sc-swatch.is-active {
  outline: 2px solid rgba(20,24,38,.55);
  outline-offset: 2px;
}

.sc-swatch.is-active::after {
  content: "✓";
  position: absolute;
  right: 8px;
  top: 6px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(20,24,38,.85);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.sc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.sc-color {
  width: 52px;
  height: 38px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(20,24,38,.14);
  background: #fff;
  cursor: pointer;
}

.sc-range-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sc-range-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: rgba(20,24,38,.72);
  font-weight: 700;
}

.sc-range {
  width: 100%;
}

.sc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(20,24,38,.75);
  font-weight: 800;
  user-select: none;
}

.sc-toggle input {
  transform: translateY(1px);
}

@media (max-width: 520px) {
  .sc-modal {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    top: auto !important;
  }
}

body.sc-noscroll {
  overflow: hidden;
}

.sc-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: none;
  background: rgba(10,12,18,.92);
}

.sc-fullscreen.on {
  display: block;
}

.sc-fs-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.96);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  touch-action: manipulation;
  backdrop-filter: blur(10px);
}

.sc-fs-close:hover {
  background: rgba(0,0,0,.42);
}

.sc-fs-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.sc-fullscreen #scVideo {
  object-fit: contain;
  transform: none;
}

.sc-fs-play {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.sc-fs-play.on {
  display: flex;
}

.sc-fs-play .sc-play-btn {
  width: 62px;
  height: 62px;
  border-radius: 999px;
}

.sc-fs-play .sc-play-btn i {
  font-size: 20px;
}
