body {
  background: #f6f7fb;
}

/* Main fixed width container */
.demo-container {
  width: 100%;
  margin: 0 auto;
}


#myGrid {
  width: 100%;
  height: 600px;
}

#demoChart {
  width: 100%;
  height: 400px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}


.site-footer {
padding: 10px 30px;
background-color: rgba(0, 0, 0, 0.02);
border-top: 1px solid #e4eaec;
height: 44px;
}
/* Hide the default Skip button in the tooltip header */
.introjs-tooltip-header .introjs-skipbutton,
.introjs-skipbutton.introjs-tooltip-skipbutton {
  display: none !important;
}

/* Footer layout: align buttons nicely */
.introjs-tooltipbuttons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  padding-top: 8px !important;
}

/* Footer Skip button (looks like the other intro buttons) */
.introjs-footer-skip {
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 16px;
  color: #777;
  cursor: pointer;
  margin-right: auto; /* push it to left edge of footer area */
  box-shadow: none;
}

/* --------------------------------------------
1️⃣  BLUE BUTTONS (match "Request a Demo")
--------------------------------------------- */

.introjs-button,
.introjs-footer-skip {
background-color: #2196F3 !important; /* primary blue */
color: #fff !important;
border: none !important;
border-radius: 4px !important;
padding: 8px 16px !important;
font-size: 14px !important;
font-family: "Roboto", sans-serif !important;
font-weight: 400 !important;
box-shadow: none !important;
}

.introjs-button:hover,
.introjs-footer-skip:hover {
background-color: #1976D2 !important; /* darker hover blue */
}

/* Make Back button look muted but still blue theme */
.introjs-prevbutton {
background-color: #e3f2fd !important;
color: #1565C0 !important;
}
.introjs-prevbutton:hover {
background-color: #bbdefb !important;
}

introjs-button,
.introjs-footer-skip {
-webkit-appearance: none !important;
appearance: none !important;
border: none !important;
text-shadow: none !important;
font-weight: 400 !important;  /* Same as P2MAP buttons */
}

/* --------------------------------------------
2️⃣  TITLE & TEXT MATCH P2MAP TYPOGRAPHY
--------------------------------------------- */

.introjs-tooltip-title {
font-family: "Roboto", sans-serif !important;
font-weight: 400 !important;
color: #37474f !important;  /* same as h1–h6 */
font-size: 22px !important; /* matches section titles */
margin-bottom: 10px !important;
line-height: 1.2 !important;
}

.introjs-tooltiptext {
font-family: "Varela Round", sans-serif !important;
font-size: 14px !important;
line-height: 1.5 !important;
color: #546e7a !important; /* matches normal content text */
}

/* --------------------------------------------
3️⃣  SOFT BLUE HIGHLIGHT INSTEAD OF BLACK
--------------------------------------------- */

/* Overlay background (replace black tint) */
/* Remove the blue tint and blur effect on highlighted elements */
/* Overlay background (replace black tint) */
.introjs-overlay {
background: rgba(33, 150, 243, 0.12) !important; /* soft P2MAP blue */
}

/* Highlight glow around focused element */
.introjs-helperLayer {
box-shadow: 0 0 0 4px rgba(33,150,243,0.35) !important;
border-radius: 6px !important;
}

/* Remove harsh dark overlay effect */
.introjs-disableInteraction,
.introjs-overlay {
opacity: 1 !important; /* removes default dark opacity layering */
}

/* --- COMPLETE FONT NORMALIZATION FIX --- */
.introjs-button,
.introjs-footer-skip,
.introjs-prevbutton,
.introjs-nextbutton,
.introjs-donebutton {
font-family: "Roboto", sans-serif !important;
font-weight: 400 !important;
font-size: 14px !important;

/* critical fix for chrome boldness */
-webkit-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale !important;
font-smooth: always !important;

/* remove chrome default button styling */
appearance: none !important;
-webkit-appearance: none !important;
text-shadow: none !important;
}
/* --- Vertical Tab Container Layout --- */
.scenario-tabs-container {
display: flex;
align-items: flex-start;
}

/* --- Left Tabs --- */
.nav-tabs.nav-stacked.scenario-tabs > li {
float: none;
width: 180px;
margin-bottom: 4px;
}

.nav-tabs.nav-stacked.scenario-tabs > li > a {
font-size: 14px;
padding: 10px 15px;
color: #4a4a4a;
border-radius: 6px 0 0 6px; /* rounded left side */
background: #ffffff;
border: 1px solid #e3e7ec;
}

/* --- Active Tab: matches designer look --- */
.nav-tabs.nav-stacked.scenario-tabs > li.active > a {
background: #f4f7fa !important;        /* same as content background */
border-right: none !important;         /* blend into content area */
font-weight: bold;
position: relative;
z-index: 2;                             /* floats above content card */
border-left: 3px solid #2196F3 !important; /* blue left stripe */
}

/* --- Content Card --- */
.scenario-content-card {
background: #f4f7fa;
border: 1px solid #e3e7ec;
border-radius: 6px;
padding: 20px;
margin-left: -10px;                    /* pulls under the active tab */
min-height: 150px;                     /* gives height like screenshot */
width: 100%;
position: relative;
z-index: 1;
}

/* Make tooltip a wide landscape card */
.introjs-tooltip {
    max-width: 400px !important;
    width: 400px !important;
    padding: 20px 30px !important;
    border-radius: 8px !important;
}

/* Container inside tooltip becomes horizontal */
.introjs-tooltip-inner {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

/* Title on the left */
.introjs-tooltip-title {
    flex: 0 0 35% !important;   /* reserve 35% width for title */
    margin: 0 !important;
    padding: 0 !important;
}

/* Text on the right */
.introjs-tooltiptext {
    flex: 1 !important;        /* take remaining space */
    max-width: 100% !important;
    white-space: normal !important;
}

/* Footer always bottom-aligned */
.introjs-tooltipbuttons {
    margin-top: 20px !important;
}
/* Remove default Bootstrap underline under nav-tabs */
.nav-tabs {
    border-bottom: none !important;
}

.demo-section {
  margin-bottom: 18px;
  background: #fff;
}

.demo-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 14px;
  user-select: none;
}

.demo-section-header h2 {
  margin: 0;
  font-family: "Roboto", sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: #37474f;
}

.demo-section-body {
  padding: 12px 14px;
}

.demo-section.collapsed .demo-section-body {
  display: none;
}

.toggle-icon {
  transition: transform 0.25s ease;
}

.demo-section.collapsed .toggle-icon {
  transform: rotate(180deg);
}
.page-header {
  pointer-events: none;
}

.page-header-actions,
.page-header-actions * {
  pointer-events: auto;
}

.chart-controls {
  position: relative;
  font-size: 12px;
}

.sorting-toggle {
  cursor: pointer;
  color: #337ab7;
  user-select: none;
  float: right;
}

.sorting-toggle i {
  margin-left: 4px;
  font-size: 11px;
}

.sorting-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 22px;
  width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sorting-group {
  margin-bottom: 8px;
}

.sorting-group label {
  font-weight: normal;
  cursor: pointer;
}

.sorting-panel hr {
  margin: 6px 0;
}

.criteria-tree {
  margin-top: 6px;
  padding-left: 4px;
  font-size: 12px;
}

.criteria-category {
  cursor: pointer;
  font-weight: 600;
  margin-top: 4px;
}

.criteria-category i {
  margin-right: 4px;
  font-size: 10px;
}

.criteria-attributes {
  margin-left: 16px;
  display: none;
}

.criteria-attributes label {
  display: block;
  font-weight: normal;
  cursor: pointer;
}
body.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

#emailGateModal .modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

#emailGateModal .modal-content {
  border-radius: 6px;
}

.title-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* container */
.tooltip-container {
  position: relative;
  display: inline-block;
}

/* tooltip text */
.tooltip-text {
  visibility: hidden;
  width: 280px;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;

  position: absolute;
  bottom: 125%; /* show above icon */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;

  opacity: 0;
  transition: opacity 0.2s;
}

/* arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* show on hover */
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.info-icon {
  cursor: pointer;
  color: #007bff;
  font-size: 20px;
}

.scenario-toggle .btn {
  font-size: 16px;
  padding: 6px 14px;
}

.scenario-toggle .btn-default {
  background-color: #fff;
  border-color: #ccc;
  color: #333;
}

.scenario-toggle .btn-primary.active {
  background-color: #62a8ea;   /* Remark primary */
  border-color: #62a8ea;
  color: #fff;
}

/* Remove ugly focus outline / black square */
.scenario-toggle .btn:focus,
.scenario-toggle .btn:active,
.scenario-toggle .btn.active,
.scenario-toggle .btn.focus {
  outline: none !important;
  box-shadow: none !important;
}


