/* Bruntab's interactive login rig, scoped to the homepage services panel. */
.home-services-stage {
  --bt-ink: #f4f6fc;
  --bt-ink-2: rgba(244, 246, 252, .74);
  position: relative; width: 100%; height: auto; min-width: 0; min-height: 380px; aspect-ratio: 1.08;
  overflow: hidden; isolation: isolate; border: 0;
  background: transparent;
  color: var(--bt-ink); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
html[lang='fa'] .home-services-stage { direction: rtl; }
.home-services-stage .stage-canvas {
  position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; opacity: 0;
  transition: opacity .9s ease; touch-action: none; cursor: grab; outline: none;
}
.home-services-stage .stage-canvas.is-live { opacity: 1; }
.home-services-stage.is-dragging .stage-canvas { cursor: grabbing; }
.home-services-stage .stage-canvas:focus-visible { box-shadow: inset 0 0 0 3px #aab4ff; }
.home-services-stage .bt-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .6s ease .3s; }
.home-services-stage.is-live .bt-ui { opacity: 1; }
.home-services-stage .bt-label {
  position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; margin: -15px 0 0;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(8, 11, 38, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: inherit; font-size: 14px; font-weight: 600;
  line-height: 1.2; color: #fff; white-space: nowrap; will-change: transform;
}
.home-services-stage .bt-label i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.home-services-stage .bt-label.bt-cold i { background: #4aa3ff; }
.home-services-stage .bt-label.bt-hot i { background: #ff9a2e; }
.home-services-stage .bt-label.bt-supply i { background: #ff4250; }
.home-services-stage .bt-label.bt-return i { background: #a77bff; }
.home-services-stage .bt-msg {
  position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); margin: 0; max-width: 90%; width: max-content;
  padding: 8px 14px; border-radius: 12px; background: rgba(8, 11, 38, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--bt-ink); text-align: center; transition: background .3s;
}
.home-services-stage .bt-msg:empty { display: none; }
.home-services-stage .bt-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 6px; padding: 6px;
  border: 1px solid rgba(160, 170, 255, .16); border-radius: 16px; background: rgba(8, 11, 38, .75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto;
}
.home-services-stage .bt-tile {
  position: relative; display: flex; flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; min-height: 66px;
  margin: 0; padding: 7px 10px; overflow: hidden; border: 0; border-radius: 11px; background: rgba(255, 255, 255, .06);
  color: #fff; font-family: inherit; text-align: start;
}
.home-services-stage button.bt-tile { cursor: pointer; transition: background .25s, opacity .25s; }
.home-services-stage button.bt-tile:hover { background: rgba(255, 255, 255, .14); }
.home-services-stage button.bt-tile:focus-visible { outline: 2px solid #aab4ff; outline-offset: 2px; }
.home-services-stage .bt-tile::before { content: ''; position: absolute; inset: 10px auto 10px 0; width: 3px; border-radius: 3px; background: #4aa3ff; }
html[dir='rtl'] .home-services-stage .bt-tile::before { inset: 10px 0 10px auto; }
.home-services-stage .bt-tile.bt-hot::before { background: #ff9a2e; }
.home-services-stage .bt-tile.bt-supply::before { background: #ff4250; }
.home-services-stage .bt-tile.is-off { opacity: .58; }
.home-services-stage .bt-tile.is-off::before { background: #8a90a8; }
.home-services-stage .bt-tile-k { font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--bt-ink-2); white-space: nowrap; }
.home-services-stage .bt-tile-v { font-size: 16px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.home-services-stage .bt-tile-s { font-size: 13px; font-weight: 500; line-height: 1.2; color: rgba(244, 246, 252, .66); white-space: nowrap; }
.home-services-stage .services-stage-fallback { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; padding: 28px; color: var(--text-slate-700, #334155); font-size: 16px; line-height: 1.8; text-align: center; }
@media (max-width: 575.98px) {
  .home-services-stage { min-height: 340px; }
  .home-services-stage .bt-label { gap: 5px; padding: 5px 7px; }
  .home-services-stage .bt-bar { left: 8px; right: 8px; bottom: 8px; gap: 4px; padding: 4px; }
  .home-services-stage .bt-tile { padding: 7px; }
  .home-services-stage .bt-tile-v { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-services-stage .stage-canvas, .home-services-stage .bt-ui, .home-services-stage button.bt-tile { transition: none; }
}
