/* Verizon Healthcare EBC Explorer – Clean CSS */

/* Brand font */
@font-face {
  font-family: 'NHGeDS';
  font-display: swap;
  src: url("https://scache1.vzw.com/globalnav/fonts/verizon-nhg/VerizonNHGeDS-Regular.woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NHGeDS';
  font-display: swap;
  src: url("https://scache2.vzw.com/globalnav/fonts/verizon-nhg/VerizonNHGeDS-Bold.woff2");
  font-weight: bold;
  font-style: normal;
}

/* Global reset */
* {
  box-sizing: border-box;
  font-family: 'NHGeDS', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--brand-black, #000000);
  color: #ffffff;
  overflow: hidden;
}

/* 1. Presenter Setup Console Sheet Overlay (Light Card Layout) */

.presenter-setup-console {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.presenter-setup-console.hidden {
  opacity: 0;
  pointer-events: none;
}

.console-card {
  background-color: #F6F0E2; /* Stone console container background */
  border: 1px solid #dcdcdc;
  padding: 45px;
  border-radius: 8px;
  width: 90%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.console-title-bar {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--brand-red, #EE001E);
  padding: 12px 20px;
  margin: -45px -45px 10px -45px;
  border-radius: 8px 8px 0 0;
}

.console-top-logo {
  display: block;
  margin: 5px auto 10px auto;
  height: 100px;
  object-fit: contain;
  pointer-events: none;
}

.console-heading {
  margin: 0 0 5px 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #000000;
}

.console-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.console-label {
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
}

.scenario-picker-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 12px;
  justify-items: center;
}

.scenario-picker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  width: 100%;
  max-width: 140px;
}

.scenario-picker-thumb {
  width: 140px;
  height: 79px;
  object-fit: cover;
  border-radius: 6px;
  border: 3px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: var(--brand-white, #FFFFFF);
}

.scenario-picker-item.selected .scenario-picker-thumb {
  border-color: var(--brand-red, #EE001E);
  box-shadow: 0 0 12px rgba(238, 0, 30, 0.5);
}

.scenario-picker-label {
  font-size: 1rem;
  font-weight: normal;
  color: var(--brand-black, #000000);
  text-align: center;
  line-height: 1.3;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #000000;
}

.radio-label input[type="radio"] {
  accent-color: var(--brand-red, #EE001E);
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.launch-presentation-btn {
  background-color: #ee001e !important;
  color: #ffffff !important;
  border: none;
  padding: 16px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(205, 0, 0, 0.3);
  width: 100%;
}

.launch-presentation-btn:hover {
  background-color: var(--brand-red, #EE001E) !important;
}

.launch-presentation-btn:active {
  transform: scale(0.98);
}

/* 2. Presentation Stage */

.presentation-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--brand-charcoal, #A6A6A6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--brand-charcoal, #A6A6A6) 0%, var(--brand-black, #000000) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease, background-image 0.3s ease, filter 0.3s ease;
  z-index: 1;
  filter: none;
}

.stage-backdrop.blurred {
  filter: blur(10px) brightness(0.85);
}

/* Branding */

.brand-wordmark-logo {
  position: absolute;
  top: 30px;
  right: 40px;
  height: 96px;
  z-index: 8;
  pointer-events: none;
}

.client-account-logo {
  position: absolute;
  bottom: 30px;
  left: 40px;
  max-height: 100px;
  max-width: 200px;
  z-index: 8;
  pointer-events: none;
  opacity: 1;
}

/* Top-left controls */

.top-left-controls-container {
  position: absolute;
  top: 25px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 40;
}

.fullscreen-action-trigger,
.favorites-action-trigger {
  background-color: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid #444;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color 0.2s;
}

.fullscreen-action-trigger:hover,
.favorites-action-trigger:hover {
  border-color: var(--brand-red, #EE001E);
}

.fullscreen-action-trigger img,
.favorites-action-trigger img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

/* Favorites badge on trigger */

.favorites-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #EE001E;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* Interactive pins */

.elements-canvas-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none;
}

.pin-node-object {
  position: absolute;
  width: 36px;
  height: 36px;
  background-color: var(--pin-color, #00b845);
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-node-object::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #ffffff;
  border-radius: 50%;
}

.pin-node-object::before {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pin-node-object:hover::before {
  opacity: 1;
}

.pin-node-object.visited {
  opacity: 0.4;
  filter: saturate(0.3);
}

/* Interaction mask */

.interaction-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.interaction-mask.visible {
  opacity: 1;
  visibility: visible;
}

/* 3. Info panel */

.info-panel-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 75%;
  max-width: 700px;
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-top: 4px solid var(--border-color, #cd0000);
  border-radius: 6px;
  box-sizing: border-box;
  padding: 30px;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.35s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.info-panel-box.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.info-panel-box::after {
  content: '';
  display: block;
  clear: both;
}

.info-title {
  margin: 0 0 10px 0;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.info-body {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--brand-grey, #F7F7F7);
}

.info-panel-image {
  display: none;
  width: 280px;
  height: 157px;
  object-fit: cover;
  border-radius: 4px;
  float: left;
  margin: 0 18px 8px 0;
}

.info-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  padding: 0;
  z-index: 40;
  transition: background 0.2s;
}

.info-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Keep the title clear of the corner icons */
.info-panel-box .info-title {
  padding: 0 34px 0 24px;
}

/* Tag pills inside info panel */

.info-products {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-product-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--brand-grey, #F7F7F7);
  background-color: rgba(255, 255, 255, 0.02);
  color: #888888;
}

.info-product-pill.active {
  background-color: var(--brand-red, #EE001E);
  border-color: var(--brand-red, #EE001E);
  color: var(--brand-white, #FFFFFF);
}

/* 4. Favorites panel – CLEAN VERSION */

.favorites-panel {
  position: absolute;
  top: 78px;
  left: 40px;
  width: 320px;
  max-height: 60vh;
  overflow-y: auto;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.favorites-panel.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.favorites-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
}

/* Shared list reset */

.favorites-list,
.favorites-list li,
.favorites-group-section,
.favorites-group-items,
.favorites-group-items li {
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* Group header */

.favorites-group-section {
  margin-bottom: 1.2rem;
  text-decoration: none !important
}

.favorites-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1rem 0 0 0;
  padding: 2px 0 0.5rem 0.25rem;
  font-size: 1rem;
  font-weight: normal;
  color: var(--group-color, #EE001E);
  border-left: 4px solid var(--group-color, #EE001E);
  text-decoration: none !important
}

.favorites-group-header::before {
  content: none;
}

/* Group items */

.favorites-group-items li,
.favorites-list li {
  cursor: pointer;
  color: #ffffff;
  font: inherit;
  line-height: 1.35;
  text-decoration: underline;
}

.favorites-group-items li:hover,
.favorites-list li:hover {
  color: var(--brand-red, #EE001E);
}

.favorites-group-items li:focus-visible,
.favorites-list > li:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Footer actions */

.favorites-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 30px;
}

.favorites-action {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand-red, #EE001E);
  font-size: 1rem;
  font-weight: normal;
  cursor: pointer;
  text-decoration: underline;
}

/* 5. Bottom dock */

.mac-autohide-dock {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 82%);
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  padding: 10px 40px 30px 40px;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 25;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.mac-autohide-dock:hover {
  transform: translate(-50%, 0);
}

.dock-pull-tab {
  width: 50px;
  height: 4px;
  background-color: var(--brand-red, #EE001E);
  border-radius: 2px;
  margin-bottom: 12px;
}

.dock-header-label {
  font-size: 0.85rem;
  color: var(--brand-white, #FFFFFF);
  font-weight: 700;
  margin-bottom: 14px;
}

.menu-navigation-deck {
  display: flex;
  gap: 12px;
}

.menu-btn {
  background-color: rgba(20, 20, 20, 0.6);
  color: #ffffff !important;
  border: 2px solid var(--group-color, #383838);
  padding: 10px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-btn:hover {
  background-color: var(--group-color, #cd0000);
  border-color: var(--group-color, #cd0000);
  box-shadow: 0 0 15px var(--group-color);
}

.menu-btn.active {
  background-color: var(--group-color, #cd0000);
  border-color: var(--group-color, #cd0000);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* 6. Splash screen */

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.65);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.splash-screen.visible {
  opacity: 1;
  visibility: visible;
}

.splash-dialog {
  position: relative;
  z-index: 1;
  background-color: var(--brand-stone, #F6F0E2);
  color: var(--brand-black, #000000);
  border-radius: 10px;
  padding: 40px 50px 32px;
  width: 90%;
  max-width: 620px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.splash-header-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.splash-client-logo,
.splash-brand-logo {
  max-height: 40px;
  max-width: 160px;
  object-fit: contain;
}

.splash-title {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brand-red, #EE001E);
  line-height: 1.2;
  text-align: center;
}

.splash-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-black, #000000);
}

.splash-footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.splash-start-btn {
  background-color: var(--brand-red, #EE001E);
  color: var(--brand-white, #FFFFFF);
  border: none;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(238, 0, 30, 0.35);
}

.splash-start-btn:hover {
  background-color: var(--brand-red, #EE001E);
}

.splash-start-btn:active {
  transform: scale(0.98);
}

/* Popup favourite star locked top-left (close icon lives top-right) */
.info-panel-box {
  position: fixed;
}

.info-panel-box .favorite-toggle {
  position: absolute;
  top: 16px;
  left: 16px;
  right: auto;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 40;
}

.info-panel-box .favorite-toggle img {
  width: 100%;
  height: 100%;
  display: block;
  filter: none !important;
}

/* Keep top-left favourites trigger dark, not blue */
.top-left-controls-container .favorites-action-trigger {
  position: relative;
  background-color: rgba(18, 18, 18, 0.85);
  border: 1px solid #444;
  backdrop-filter: blur(10px);
}

.top-left-controls-container .favorites-action-trigger img {
  width: 18px;
  height: 18px;
  display: block;
  filter: none !important;
}

.top-left-controls-container .favorites-action-trigger:hover {
  border-color: var(--brand-red, #EE001E);
}

@keyframes favorite-throb {
	0%   { transform: scale(1); }
	20%  { transform: scale(1.18); }
	45%  { transform: scale(0.96); }
	70%  { transform: scale(1.12); }
	100% { transform: scale(1); }
}

#favoritesBtn.throb {
	animation: favorite-throb 420ms cubic-bezier(0.16, 1, 0.3, 1);
	transform-origin: center;
	will-change: transform;
}

.favorites-action-trigger {
	transform-origin: center;
	will-change: transform;
}