:root{
	--neon-cyan:#00eaff;
	--neon-blue:#2f7bff;
	--neon-green:#14f195;
	--neon-lime:#b4ff39;
	--neon-pink:#ff4fd8;
	--neon-purple:#9b5cff;
	--neon-orange:#ff9d2e;
	--neon-red:#ff5f7a;
	--neon-surface:#f8fbff;
	--neon-surface-2:#ffffff;
	--neon-text:#0f172a;
	--neon-muted:#5b6b85;
	--neon-border:rgba(47,123,255,.25);
	--neon-glow-1:0 10px 28px rgba(47,123,255,.18);
	--neon-glow-2:0 14px 36px rgba(0,234,255,.18);
}

[data-bs-theme="dark"],
html[data-bs-theme="dark"],
body[data-bs-theme="dark"],
body.theme-dark,
body.dark-mode{
	--neon-surface:#0b1220;
	--neon-surface-2:#111b2f;
	--neon-text:#e8f0ff;
	--neon-muted:#9ab0d6;
	--neon-border:rgba(0,234,255,.34);
	--neon-glow-1:0 12px 30px rgba(0,234,255,.18);
	--neon-glow-2:0 18px 44px rgba(155,92,255,.2);
}

.neon-widget{
	background:
		radial-gradient(circle at 10% 0%, rgba(0,234,255,.12), transparent 38%),
		radial-gradient(circle at 100% 100%, rgba(155,92,255,.12), transparent 36%),
		linear-gradient(160deg, var(--neon-surface) 0%, var(--neon-surface-2) 100%) !important;
	border:1px solid var(--neon-border) !important;
	box-shadow:var(--neon-glow-1), var(--neon-glow-2) !important;
	color:var(--neon-text);
}

.neon-widget .text-secondary,
.neon-widget .small.text-secondary{
	color:var(--neon-muted) !important;
}

.neon-widget .badge.text-bg-light{
	background:rgba(47,123,255,.12) !important;
	border:1px solid rgba(47,123,255,.35);
	color:var(--neon-text) !important;
}

.neon-widget .btn-outline-primary{
	border-color:rgba(0,234,255,.45) !important;
	color:var(--neon-cyan) !important;
	background:rgba(0,234,255,.08) !important;
}
.neon-widget .btn-outline-primary:hover{
	background:rgba(0,234,255,.18) !important;
}

.neon-widget .list-group-item{
	background:rgba(255,255,255,.72);
	border-color:rgba(47,123,255,.18);
}
[data-bs-theme="dark"] .neon-widget .list-group-item,
body.theme-dark .neon-widget .list-group-item,
body.dark-mode .neon-widget .list-group-item{
	background:rgba(17,27,47,.82);
	border-color:rgba(0,234,255,.2);
	color:var(--neon-text);
}
.neon-widget .list-group-item.active{
	background:linear-gradient(135deg, rgba(47,123,255,.28), rgba(0,234,255,.2)) !important;
	color:var(--neon-text) !important;
	border-color:rgba(0,234,255,.45) !important;
}

.worker-live-list,.active-branches-list,.branch-reviews-list{display:grid;gap:10px;}
.worker-live-item,.active-branch-item,.branch-review-item{
	background:linear-gradient(145deg, rgba(255,255,255,.78), rgba(242,248,255,.8)) !important;
	border:1px solid rgba(47,123,255,.2) !important;
	box-shadow:0 8px 20px rgba(47,123,255,.08);
}
[data-bs-theme="dark"] .worker-live-item,
[data-bs-theme="dark"] .active-branch-item,
[data-bs-theme="dark"] .branch-review-item,
body.theme-dark .worker-live-item,
body.theme-dark .active-branch-item,
body.theme-dark .branch-review-item,
body.dark-mode .worker-live-item,
body.dark-mode .active-branch-item,
body.dark-mode .branch-review-item{
	background:linear-gradient(145deg, rgba(18,30,53,.9), rgba(11,22,40,.9)) !important;
	border-color:rgba(0,234,255,.22) !important;
	box-shadow:0 10px 24px rgba(0,234,255,.08);
}

.worker-live-icon{
	width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;
	background:linear-gradient(135deg, var(--neon-blue), var(--neon-purple)) !important;
	color:#fff;font-size:16px;flex:0 0 auto;box-shadow:0 0 18px rgba(155,92,255,.35);
}
.worker-live-title{font-weight:700;line-height:1.2;}
.worker-live-desc{font-size:13px;color:#64748b;line-height:1.45;}
.worker-live-badge{font-size:11px;font-weight:700;letter-spacing:.02em;color:#0f766e;display:inline-flex;align-items:center;gap:6px;}
.worker-live-dot,.live-system-dot{
	width:8px;height:8px;border-radius:999px;background:var(--neon-green) !important;
	box-shadow:0 0 0 rgba(20,241,149,.45);animation:neonPulse 1.2s ease-out infinite;display:inline-block;
}
.live-system-dot{width:10px;height:10px;}
@keyframes neonPulse{
	0%{box-shadow:0 0 0 0 rgba(20,241,149,.45);}
	70%{box-shadow:0 0 0 8px rgba(20,241,149,0);}
	100%{box-shadow:0 0 0 0 rgba(20,241,149,0);}
}
.worker-live-text::after{content:'';animation:workerDots 1.1s steps(3,end) infinite;}
@keyframes workerDots{0%{content:'';}33%{content:'.';}66%{content:'..';}100%{content:'...';}}

.live-notification-stage{
	position:relative;width:100%;height:100%;min-height:120px;overflow:hidden;display:flex;align-items:center;
	background:
		linear-gradient(95deg, rgba(6,23,47,.98), rgba(25,16,48,.98)),
		radial-gradient(circle at 15% 50%, rgba(0,234,255,.24), transparent 45%) !important;
	border-top:1px solid rgba(0,234,255,.22);
}
.live-notification-static{width:100%;text-align:center;color:#cbd5e1;font-weight:600;letter-spacing:.02em;padding:0 16px;}
.live-notification-marquee{
	position:absolute;right:-100%;white-space:nowrap;font-size:34px;font-weight:800;color:#f8fafc;
	text-shadow:0 3px 16px rgba(15,23,42,.45);padding:0 18px;animation:liveNotificationMove 8.5s linear 1;
}
@keyframes liveNotificationMove{0%{transform:translateX(0);}100%{transform:translateX(-220%);}}
.live-notification-badge{
	position:absolute;top:10px;right:12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
	color:var(--neon-cyan) !important;border:1px solid rgba(0,234,255,.45) !important;background:rgba(0,234,255,.12) !important;border-radius:999px;padding:4px 10px;
}

.thread-contact-avatar-wrap{position:relative;width:32px;height:32px;flex:0 0 auto;}
.thread-contact-avatar{width:32px;height:32px;object-fit:cover;border-radius:999px;border:1px solid rgba(15,23,42,.15);background:#e2e8f0;}
.thread-contact-provider-badge{
	position:absolute;right:-2px;bottom:-2px;width:18px;height:18px;border-radius:999px;display:flex;align-items:center;justify-content:center;
	color:#fff;font-size:11px;border:2px solid #fff;box-shadow:0 2px 6px rgba(15,23,42,.2);
}
.thread-message-avatar-wrap{position:relative;width:24px;height:24px;flex:0 0 auto;}
.thread-message-avatar{width:24px;height:24px;object-fit:cover;border-radius:999px;border:1px solid rgba(15,23,42,.12);background:#e2e8f0;}
.thread-message-provider-badge{
	position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:999px;display:flex;align-items:center;justify-content:center;
	color:#fff;font-size:10px;border:2px solid #fff;
}
.thread-inbox-busy{opacity:.82;pointer-events:none;}

.active-branch-avatar{width:42px;height:42px;border-radius:10px;object-fit:cover;background:#e2e8f0;border:1px solid rgba(15,23,42,.1);flex:0 0 auto;}
.active-branch-title{font-weight:700;line-height:1.2;}
.active-branch-meta{font-size:12px;color:#64748b;margin-top:2px;}
.active-branch-status{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:4px 8px;border-radius:999px;flex:0 0 auto;}
.active-branch-status.live{background:rgba(20,241,149,.15) !important;border:1px solid rgba(20,241,149,.6) !important;color:var(--neon-green) !important;}
.active-branch-status.offline{background:rgba(255,95,122,.15) !important;border:1px solid rgba(255,95,122,.6) !important;color:var(--neon-red) !important;}

.branch-review-head{display:flex;align-items:center;gap:10px;}
.branch-review-page{width:38px;height:38px;border-radius:10px;object-fit:cover;background:#e2e8f0;border:1px solid rgba(15,23,42,.1);}
.branch-review-provider{margin-left:auto;font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px;}
.branch-review-text{font-size:13px;color:#334155;line-height:1.45;margin-top:8px;}
.branch-review-meta{margin-top:8px;font-size:12px;color:#64748b;display:flex;justify-content:space-between;gap:8px;}
.branch-review-status.ok{color:var(--neon-green) !important;font-weight:700;}
.branch-review-status.no{color:var(--neon-orange) !important;font-weight:700;}
.neon-reviews-google .branch-review-provider{color:#ea4335 !important;text-shadow:0 0 12px rgba(234,67,53,.22);}
.neon-reviews-social .branch-review-provider.facebook{color:#5ca2ff !important;text-shadow:0 0 12px rgba(47,123,255,.3);}
.neon-reviews-social .branch-review-provider.instagram{color:#ff5ccf !important;text-shadow:0 0 12px rgba(255,79,216,.3);}
