* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  overflow: hidden;
  background-color: #0b0f19;
  color: #f1f5f9;
  width: 100vw;
  height: 100vh;
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* TOMBOL BUKA MENU HUD JIKA TERSEMBUNYI */
.btn-show-hud {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: none;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.btn-show-hud:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateX(-50%) translateY(-1px);
}

/* TOP HUD BAR (FIT, COMPACT & RAPI) */
.hud-header {
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 5px 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  gap: 10px;
  transition: all 0.25s ease;
}

.hud-header.collapsed {
  display: none !important;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-title h1 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
}

.badge-live {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.hud-stats {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 1;
  overflow: hidden;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.stat-chip-icon {
  font-size: 0.75rem;
}

.stat-val {
  font-size: 0.74rem;
  font-weight: 600;
  color: #e2e8f0;
}

.stat-val.highlight {
  color: #38bdf8;
  font-weight: 700;
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.btn-group {
  display: inline-flex;
  align-items: center;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}

.btn {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.btn:hover {
  background: #334155;
  border-color: #38bdf8;
  color: #ffffff;
}

.btn-sm {
  padding: 4px 8px;
  font-size: 0.72rem;
  border-radius: 5px;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: none;
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.45);
}

.btn-meeting {
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  border: none;
  color: #ffffff;
}

.btn-meeting:hover {
  background: linear-gradient(135deg, #6d28d9, #7e22ce);
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.45);
}

.btn-minimize {
  background: rgba(30, 41, 59, 0.8);
  color: #94a3b8;
}

.btn-minimize:hover {
  color: #f1f5f9;
  background: #334155;
}

/* KAMERA & DROPDOWN HUD (FIT & NON-BLOCKING) */
.hud-dropdown {
  position: relative;
  display: inline-block;
}

.hud-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  min-width: 210px;
}

.hud-menu.show {
  display: flex;
}

.hud-menu-item {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.hud-menu-item:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.camera-dropdown {
  position: relative;
  display: inline-block;
}

.btn-cam-toggle {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.btn-cam-toggle:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

.camera-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 100;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  width: 330px;
}

.camera-menu.show {
  display: grid;
}

.camera-menu .cam-btn {
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.camera-menu .cam-btn:hover {
  background: #0284c7;
  color: #ffffff;
}

.camera-menu .cam-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
}

/* FLOATING FOLLOW CAMERA BANNER (MODERN GLASSMORPHIC LIVE PILL) */
.follow-cam-banner {
  position: absolute;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.90);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.25);
  border-radius: 30px;
  padding: 6px 16px;
  color: #f8fafc;
  animation: followBannerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes followBannerSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -15px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.follow-cam-pulse {
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseRecording 1.2s infinite ease-in-out;
}

@keyframes pulseRecording {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.7;
  }
}

.follow-cam-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

.follow-cam-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ef4444;
  letter-spacing: 0.5px;
}

.follow-cam-text {
  color: #f1f5f9;
}

.follow-cam-text strong {
  color: #38bdf8;
  font-weight: 700;
}

.follow-cam-sub {
  color: #94a3b8;
  font-size: 0.75rem;
}

.btn-stop-follow {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
  border-radius: 14px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-stop-follow:hover {
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* BOTTOM TICKER / LOGS (SLIM & CLEAN) */
.hud-bottom {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 0.74rem;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.controls-hint {
  color: #64748b;
  font-size: 0.68rem;
}

/* 3D FLOATING LABELS (SLIM HORIZONTAL MINI PILL - RAPI & INTERAKTIF) */
.character-label {
  position: absolute;
  z-index: 5;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 2px 7px;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -100%);
  transition: opacity 0.2s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 5px;
}

.character-label:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  transform: translate(-50%, -110%) scale(1.08);
}

.dot-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 5px currentColor;
}

.label-name {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 0.65rem;
}

.label-div {
  color: #38bdf8;
  font-weight: 500;
  font-size: 0.58rem;
  opacity: 0.9;
}

body.hide-labels .character-label {
  display: none !important;
  opacity: 0 !important;
}

/* DRAWER PROFIL INTERAKTIF KARYAWAN (POPUP RAPI DI POJOK KANAN BAWAH) */
.employee-card-drawer {
  position: absolute;
  bottom: 50px;
  right: 18px;
  z-index: 40;
  width: 350px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  padding: 14px 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: slideUpFade 0.25s ease-out forwards;
}

.employee-card-drawer.active {
  display: flex;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.emp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.emp-card-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emp-avatar {
  font-size: 1.4rem;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 8px;
  padding: 4px;
}

.emp-card-info h4 {
  font-size: 0.86rem;
  color: #f8fafc;
  font-weight: 700;
}

.emp-card-role {
  font-size: 0.68rem;
  color: #94a3b8;
  display: block;
}

.emp-card-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
}
.emp-card-close:hover {
  color: #f43f5e;
}

.emp-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.74rem;
}

.emp-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
}

.stress-bar-wrap {
  flex: 1;
  height: 6px;
  background: #1e293b;
  border-radius: 3px;
  margin: 0 8px;
  overflow: hidden;
}

.stress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.emp-card-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.emp-card-actions .btn {
  padding: 8px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-custom-char {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #ffffff !important;
  border: 1px solid rgba(167, 139, 250, 0.5) !important;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.45);
}

.btn-custom-char:hover {
  background: linear-gradient(135deg, #4338ca, #6d28d9) !important;
  transform: translateY(-1px);
}

/* MODAL OVERLAY (RUANG MEETING & APPROVAL) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active,
#interior-customizer-modal.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

.modal-card {
  width: 90%;
  max-width: 1050px;
  max-height: 90vh;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 20px 28px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.3rem;
  color: #f8fafc;
}

.modal-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #f8fafc;
}

.modal-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.meeting-banner {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slots-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.tab-btn {
  background: transparent;
  color: #94a3b8;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: #1e293b;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.content-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.type-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.type-video {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.type-image {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}

.card-hook {
  font-size: 0.8rem;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid #38bdf8;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.card-caption {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 10px;
  max-height: 65px;
  overflow-y: auto;
}

.card-tags {
  font-size: 0.72rem;
  color: #818cf8;
  margin-bottom: 14px;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
}

.btn-approve {
  background: #059669;
  color: white;
  border: none;
}
.btn-approve:hover {
  background: #047857;
}

.btn-render {
  background: #2563eb;
  color: white;
  border: none;
}
.btn-render:hover {
  background: #1d4ed8;
}

.btn-publish {
  background: #d97706;
  color: white;
  border: none;
}
.btn-publish:hover {
  background: #b45309;
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.status-approved {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.modal-footer {
  padding: 16px 28px;
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* DIALOGUE BUBBLE */
.speech-bubble {
  position: absolute;
  z-index: 20;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #38bdf8;
  border-radius: 12px;
  padding: 10px 14px;
  max-width: 250px;
  font-size: 0.8rem;
  color: #f1f5f9;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  pointer-events: none;
  transform: translate(-50%, -120%);
  animation: popIn 0.25s ease-out;
}

@keyframes popIn {
  from { opacity: 0; transform: translate(-50%, -100%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -120%) scale(1); }
}

/* ============================================================================
   INFOGRAPHIC CALLOUT CARDS & CURVED LEADER LINES (SESUAI GAMBAR REFERENSI USER)
   ============================================================================ */
.callout-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
  transition: opacity 0.3s ease;
}

body.hide-callouts .callout-overlay {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.callout-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.callout-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
  max-width: 260px;
}

.callout-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.25);
  border-color: #38bdf8;
}

.callout-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.icon-admin {
  background: linear-gradient(135deg, #fef08a, #facc15);
  color: #713f12;
}

.icon-agent {
  background: linear-gradient(135deg, #c7d2fe, #818cf8);
  color: #312e81;
}

.icon-speed {
  background: linear-gradient(135deg, #bae6fd, #38bdf8);
  color: #0369a1;
}

.icon-ideas {
  background: linear-gradient(135deg, #fed7aa, #fb923c);
  color: #7c2d12;
}

.icon-monitor {
  background: linear-gradient(135deg, #a7f3d0, #34d399);
  color: #064e3b;
}

.callout-content {
  display: flex;
  flex-direction: column;
}

.callout-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.callout-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-admin { background: #eab308; box-shadow: 0 0 5px #eab308; }
.dot-agent { background: #6366f1; box-shadow: 0 0 5px #6366f1; }
.dot-speed { background: #0284c7; box-shadow: 0 0 5px #0284c7; }
.dot-ideas { background: #f97316; box-shadow: 0 0 5px #f97316; }
.dot-monitor { background: #10b981; box-shadow: 0 0 5px #10b981; }

.callout-sub {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.25;
}

/* Callout Cards Fixed Anchor Positions (Sesuai Referensi Gambar) */
#card-admin {
  top: 90px;
  left: 28px;
}

#card-agent {
  top: 78px;
  left: 36%;
}

#card-speed {
  top: 90px;
  right: 28px;
}

#card-ideas {
  top: 280px;
  right: 32px;
}

#card-monitor {
  bottom: 80px;
  left: 32px;
}

@media (max-width: 1024px) {
  .callout-card {
    padding: 6px 10px;
    max-width: 210px;
  }
  .callout-title { font-size: 0.72rem; }
  .callout-sub { font-size: 0.6rem; }
}

@media (max-width: 768px) {
  .callout-overlay {
    display: none !important;
  }
}

/* ============================================================================
   GROUP ROOM BADGES (ANTI-OVERLAP SINGLE BANNER DI MUSHOLLA & MEETING)
   ============================================================================ */
.group-room-badge {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 6px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  cursor: pointer;
  transform: translate(-50%, -100%);
  animation: popIn 0.3s ease-out;
  transition: transform 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.group-room-badge:hover {
  transform: translate(-50%, -110%) scale(1.05);
}

.group-musholla {
  border: 1.5px solid #10b981;
}

.group-meeting {
  border: 1.5px solid #0284c7;
}

.group-icon {
  font-size: 1.15rem;
}

.group-info {
  display: flex;
  flex-direction: column;
}

.group-title {
  color: #f8fafc;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.2px;
}

.group-musholla .group-title { color: #34d399; }
.group-meeting .group-title { color: #38bdf8; }

.group-desc {
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 500;
}

/* =========================================================================
   SPEECH BUBBLES RUANG MEETING (ANTI-OVERLAP & MENUNGGU APPROVAL OWNER)
   ========================================================================= */
.meeting-waiting-bubble {
  position: absolute;
  z-index: 30;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 8px 12px;
  width: 175px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #f1f5f9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.1s ease-out;
  display: flex;
  flex-direction: column;
  gap: 3px;
  will-change: transform, opacity;
}

.meeting-waiting-bubble .bubble-header {
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.2px;
}

.meeting-waiting-bubble .bubble-text {
  font-size: 0.70rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* Aksen Warna Border & Header per Divisi */
.meeting-waiting-bubble.bubble-owner_asst {
  border: 1.5px solid #f59e0b;
}
.meeting-waiting-bubble.bubble-owner_asst .bubble-header {
  color: #fbbf24;
}

.meeting-waiting-bubble.bubble-riset {
  border: 1.5px solid #10b981;
}
.meeting-waiting-bubble.bubble-riset .bubble-header {
  color: #34d399;
}

.meeting-waiting-bubble.bubble-kreatif {
  border: 1.5px solid #0284c7;
}
.meeting-waiting-bubble.bubble-kreatif .bubble-header {
  color: #38bdf8;
}

.meeting-waiting-bubble.bubble-produksi {
  border: 1.5px solid #8b5cf6;
}
.meeting-waiting-bubble.bubble-produksi .bubble-header {
  color: #c084fc;
}

.meeting-waiting-bubble.bubble-distribusi {
  border: 1.5px solid #f97316;
}
.meeting-waiting-bubble.bubble-distribusi .bubble-header {
  color: #fb923c;
}
