/* BHUWADA GLOBAL TECH desktop panel – preview stylesheet.
   Mirrors client/internal/core/layout.go (all sizes in logical pixels at 100% scaling). */
.bgt-panel {
  --accent: #D4A84B;
  --bg: #0B1526;
  --bg-top: #142036;
  --opacity: 0.94;
  position: relative;
  box-sizing: border-box;
  width: 320px;
  padding: 16px;
  border-radius: 16px;
  color: #fff;
  font-family: "Segoe UI", "Segoe UI Variable Text", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.33;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 2px 6px rgba(0, 0, 0, 0.25);
  -webkit-font-smoothing: antialiased;
  user-select: none;
  text-align: left;
}
.bgt-panel *, .bgt-panel *::before, .bgt-panel *::after { box-sizing: border-box; }
.bgt-panel::before { /* background with configurable opacity */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 100%);
  opacity: var(--opacity);
  border-radius: 16px;
}
.bgt-panel::after { /* border */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10); pointer-events: none;
}
.bgt-topline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.bgt-panel a { color: inherit; text-decoration: none; }

.bgt-header { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.bgt-logo { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.bgt-logo.white { background: #fff; padding: 5px; }
.bgt-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.bgt-logo.mono { background: linear-gradient(135deg, var(--accent), #F3D78A); color: #0B1526; font-weight: 700; font-size: 16px; }
.bgt-brandtext { min-width: 0; flex: 1; }
.bgt-name { font-size: 15.5px; font-weight: 700; color: #fff; }
.bgt-tagline { font-size: 11.5px; color: var(--accent); margin-top: 2px; }
.bgt-clamp1, .bgt-clamp2, .bgt-clamp3, .bgt-clamp4 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.bgt-clamp1 { -webkit-line-clamp: 1; } .bgt-clamp2 { -webkit-line-clamp: 2; } .bgt-clamp3 { -webkit-line-clamp: 3; } .bgt-clamp4 { -webkit-line-clamp: 4; }
.bgt-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bgt-divider { height: 1px; margin: 12px 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }

.bgt-section-title { font-size: 10px; font-weight: 700; color: #8A9BB4; margin-bottom: 8px; text-transform: uppercase; }

.bgt-stack { display: grid; }
.bgt-stack > * { grid-area: 1 / 1; }
.bgt-stack > .bgt-hidden { visibility: hidden; }

.bgt-ann { position: relative; border-radius: 12px; padding: 12px 12px 12px 15px; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; margin-bottom: 12px; }
.bgt-ann-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.bgt-badge { font-size: 9.5px; font-weight: 700; text-transform: uppercase; }
.bgt-ann-title { font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.bgt-ann-body { font-size: 12px; color: #C3CEDD; margin-top: 3px; white-space: pre-line; }
.bgt-ann-link { font-size: 11.5px; font-weight: 600; color: var(--accent); margin-top: 6px; display: inline-block; }
.bgt-dots { display: flex; gap: 5px; margin-top: 8px; height: 6px; }
.bgt-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.bgt-dot.on { background: var(--accent); }

.bgt-banner { position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.bgt-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bgt-banner .bgt-dots { position: absolute; right: 8px; bottom: 8px; margin: 0; }

.bgt-support { margin-bottom: 14px; }
.bgt-row { display: flex; align-items: center; height: 42px; margin: 0 -6px 2px; padding: 0 6px; border-radius: 9px; cursor: pointer; }
.bgt-row:hover { background: rgba(255, 255, 255, 0.07); }
.bgt-ico { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.bgt-ico svg { width: 14px; height: 14px; }
.bgt-rowtext { margin-left: 10px; min-width: 0; flex: 1; }
.bgt-rowlabel { font-size: 10.5px; color: #8A9BB4; line-height: 1.33; }
.bgt-rowvalue { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.33; }
.bgt-small { font-size: 11px; color: #9AA8BC; }
.bgt-hours { margin-top: 6px; }
.bgt-address { margin-top: 4px; }

.bgt-qrrow { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.bgt-qr { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 8px; background: #fff; padding: 6px; display: block; }
.bgt-qr svg { width: 84px; height: 84px; display: block; shape-rendering: crispEdges; }
.bgt-qrside { min-width: 0; flex: 1; }
.bgt-caption { font-size: 12px; font-weight: 600; color: #fff; }
.bgt-rep { margin-top: 10px; }
.bgt-rep:first-child { margin-top: 0; }
.bgt-replabel { font-size: 9.5px; font-weight: 700; color: #8A9BB4; text-transform: uppercase; }
.bgt-repname { font-size: 13px; font-weight: 600; margin-top: 2px; }
.bgt-reptitle { font-size: 11px; color: #9AA8BC; }
.bgt-repphone { font-size: 11.5px; font-weight: 600; color: var(--accent); margin-top: 2px; display: block; }

.bgt-products { margin-bottom: 14px; }
.bgt-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 78px; overflow: hidden; }
.bgt-chip { height: 22px; line-height: 20px; padding: 0 9px; border-radius: 11px; font-size: 11px; color: #EAD9AE; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }

.bgt-customer { border-radius: 10px; padding: 10px 12px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.06); margin-bottom: 14px; }
.bgt-customer .bgt-section-title { margin-bottom: 2px; }
.bgt-crow { display: flex; gap: 8px; margin-top: 4px; }
.bgt-clabel { flex: 0 0 78px; font-size: 10.5px; color: #8A9BB4; padding-top: 1px; }
.bgt-cvalue { flex: 1; min-width: 0; font-size: 12px; }

.bgt-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 9px; }
.bgt-footrow { display: flex; align-items: center; height: 14px; }
.bgt-status { width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; flex: 0 0 7px; background: #FBBF24; }
.bgt-status.live { background: #34D399; }
.bgt-footstatus { font-size: 10px; color: #7E8DA5; flex: 1; min-width: 0; }
.bgt-footbrand { font-size: 9.5px; font-weight: 700; color: rgba(255, 255, 255, 0.45); text-transform: uppercase; white-space: nowrap; }
.bgt-legal { font-size: 9px; color: rgba(255, 255, 255, 0.35); margin-top: 4px; }

.bgt-deactivated { padding: 24px 16px; text-align: center; color: #9AA8BC; font-size: 12px; }
