:root {
  --color-primary: #001C4C;
  --color-primary-dark: #001C4C;
  --color-secondary: #484644;
  
  --color-status-recruiting: #2D9D78;
  --color-status-inactive: #333333;
  --color-status-pending: #D55E00;
  
  --max-width-content: 500px;
  --sidebar-width: 450px;
  --header-height: 30px;
  
  --font-size-base: 16px;
  
  --color-bg-body: rgba(225, 223, 221, 0.2);
  --color-bg-instruction: #fff4ce;
}

/* CSS Classes to Change Shiny Fluent for SBOC*/

/* Dropdown title/input area - bottom border only with lighter color */
/* Dropdown title/input area - bottom border only with lighter color */
/* Fluent UI Dropdown styling with primary color and bottom border only */

/* Dropdown container */
.ms-Dropdown {
  --color-primary: #001C4C;
  --color-primary-dark: #001C4C;
}

/* Dropdown title/input area - bottom border only with lighter color */
.ms-Dropdown-title {
  border: none !important;
  border-bottom: 1px solid rgba(0, 28, 76, 0.3) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

/* Dropdown on hover - slightly darker border */
.ms-Dropdown-title:hover {
  border: none !important;
  border-bottom: 1px solid rgba(0, 28, 76, 0.5) !important;
  background-color: transparent !important;
}

/* Dropdown when focused/active - keep only bottom border */
.ms-Dropdown.is-open .ms-Dropdown-title,
.ms-Dropdown-title:focus,
.ms-Dropdown-title:active {
  border: none !important;
  border-bottom: 1px solid #001C4C !important;
  background-color: transparent !important;
  outline: none !important;
}

/* Remove the ::after pseudo-element on the dropdown container (parent div) */
.ms-Dropdown::after,
[class*="dropdown-"]::after,
div[id*="_selection"]::after {
  display: none !important;
  border: none !important;
}

/* Also target title and caret wrapper just in case */
.ms-Dropdown-title::after,
[class*="title-"]::after,
.ms-Dropdown-caretDownWrapper::after,
[class*="caretDownWrapper-"]::after {
  display: none !important;
  border: none !important;
}

/* Dropdown item header - only change text color to primary */
.ms-Dropdown-header {
  color: #001C4C !important;
  font-weight: 600 !important;
}

/* Dropdown items in the menu - lighter hover effect */
.ms-Dropdown-item:hover {
  background-color: rgba(0, 28, 76, 0.1) !important;
  color: inherit !important;
}

/* Selected item - no strong background */
.ms-Dropdown-item.is-selected {
  background-color: rgba(0, 28, 76, 0.05) !important;
  color: inherit !important;
  font-weight: 600;
}

/* Caret icon color */
.ms-Dropdown-caretDown {
  color: #001C4C !important;
}

/* ========== TEXT FIELD STYLING ========== */

/* Text field container */
.ms-TextField {
  --color-primary: #001C4C;
  --color-primary-dark: #001C4C;
}

/* Text field input - bottom border only with lighter color */
.ms-TextField-fieldGroup {
  border: none !important;
  border-bottom: 1px solid rgba(0, 28, 76, 0.3) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

/* Text field input element */
.ms-TextField-field {
  border: none !important;
  background-color: transparent !important;
}

/* Text field on hover - slightly darker border */
.ms-TextField-fieldGroup:hover {
  border: none !important;
  border-bottom: 1px solid rgba(0, 28, 76, 0.5) !important;
  background-color: transparent !important;
}

/* Text field when focused/active - keep only bottom border */
.ms-TextField.is-focused .ms-TextField-fieldGroup,
.ms-TextField-fieldGroup:focus-within,
.ms-TextField-field:focus {
  border: none !important;
  border-bottom: 1px solid #001C4C !important;
  background-color: transparent !important;
  outline: none !important;
}

/* Remove any box-shadow that might appear on text fields */
.ms-TextField-fieldGroup::after {
  display: none !important;
  border: none !important;
}

/* ========== PRIMARY BUTTON STYLING ========== */

/* Primary button - default state */
.ms-Button.ms-Button--primary {
  background-color: #001C4C !important;
  border-color: #001C4C !important;
  color: white !important;
}

/* Primary button - hover state */
.ms-Button.ms-Button--primary:hover {
  background-color: #002d6e !important;
  border-color: #002d6e !important;
  color: white !important;
}

/* Primary button - active/pressed state */
.ms-Button.ms-Button--primary:active,
.ms-Button.ms-Button--primary.is-pressed {
  background-color: #00152e !important;
  border-color: #00152e !important;
  color: white !important;
}

/* Primary button - focus state */
.ms-Button.ms-Button--primary:focus {
  background-color: #001C4C !important;
  border-color: #001C4C !important;
  outline: 2px solid rgba(0, 28, 76, 0.4) !important;
  outline-offset: 2px !important;
}

/* Primary button - disabled state */
.ms-Button.ms-Button--primary:disabled,
.ms-Button.ms-Button--primary.is-disabled {
  background-color: rgba(0, 28, 76, 0.3) !important;
  border-color: transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  cursor: not-allowed !important;
}

#study_design_selection-label {
      display: none !important;
}

/* ========== CHECKBOX STYLING ========== */

/* Checkbox - unchecked border color */
.ms-Checkbox-checkbox {
  border-color: rgba(0, 28, 76, 0.3) !important;
  background-color: transparent !important;
}

/* Checkbox - hover state when unchecked */
.ms-Checkbox:hover .ms-Checkbox-checkbox {
  border-color: rgba(0, 28, 76, 0.5) !important;
  background-color: transparent !important;
}

/* Checkbox - focus state (remove blue outline) */
.ms-Checkbox:focus .ms-Checkbox-checkbox,
.ms-Checkbox-input:focus + .ms-Checkbox-label .ms-Checkbox-checkbox {
  border-color: #001C4C !important;
  background-color: transparent !important;
  outline: none !important;
}

/* Checkbox - checked state background */
.ms-Checkbox.is-checked .ms-Checkbox-checkbox {
  background-color: #001C4C !important;
  border-color: #001C4C !important;
}

/* Checkbox - hover state when checked */
.ms-Checkbox.is-checked:hover .ms-Checkbox-checkbox {
  background-color: #002d6e !important;
  border-color: #002d6e !important;
}

/* Checkbox - focus state when checked */
.ms-Checkbox.is-checked:focus .ms-Checkbox-checkbox,
.ms-Checkbox.is-checked .ms-Checkbox-input:focus + .ms-Checkbox-label .ms-Checkbox-checkbox {
  background-color: #001C4C !important;
  border-color: #001C4C !important;
  outline: none !important;
}

/* Checkbox checkmark icon */
.ms-Checkbox-checkmark {
  color: white !important;
  opacity: 1 !important;
}

/* Remove any ::after pseudo-elements that might add blue borders on checkbox */
.ms-Checkbox-checkbox::after {
  display: none !important;
  border: none !important;
}

/* ========== CHOICE FIELD (RADIO BUTTON) STYLING ========== */

/* Radio button - outer circle stays subtle in all states */
.ms-ChoiceField-field {
  border-color: rgba(0, 28, 76, 0.3) !important;
}

/* Radio button - hover state outer circle */
.ms-ChoiceField:hover .ms-ChoiceField-field {
  border-color: rgba(0, 28, 76, 0.5) !important;
}

/* Radio button - focus state (remove blue outline) */
.ms-ChoiceField:focus .ms-ChoiceField-field,
.ms-ChoiceField-input:focus + .ms-ChoiceField-field {
  border-color: rgba(0, 28, 76, 0.5) !important;
  outline: none !important;
}

/* Radio button - OVERRIDE ALL ::after BLUE CIRCLES - Target by class pattern */
[class*="field-"]::after,
.ms-ChoiceField-field::after {
  background-color: #001C4C !important;
  background: #001C4C !important;
  border-color: #001C4C !important;
}

/* Radio button - checked state (inner circle using ::before) */
.ms-ChoiceField.is-checked .ms-ChoiceField-field::before,
.ms-ChoiceField-input:checked + .ms-ChoiceField-field::before {
  background-color: #001C4C !important;
  border-color: #001C4C !important;
}

/* Hide ::after for unchecked state */
.ms-ChoiceField:not(.is-checked) .ms-ChoiceField-field::after,
.ms-ChoiceField-input:not(:checked) + .ms-ChoiceField-field::after,
[class*="field-"]:not(.is-checked)::after {
  display: none !important;
}

/* Radio button - checked state outer circle (keep it subtle) */
.ms-ChoiceField.is-checked .ms-ChoiceField-field,
.ms-ChoiceField-input:checked + .ms-ChoiceField-field,
[class*="field-"].is-checked {
  border-color: rgba(0, 28, 76, 0.5) !important;
}

/* Radio button - hover state when checked */
.ms-ChoiceField.is-checked:hover .ms-ChoiceField-field,
[class*="field-"].is-checked:hover {
  border-color: rgba(0, 28, 76, 0.5) !important;
}

.ms-ChoiceField.is-checked:hover .ms-ChoiceField-field::before,
[class*="field-"].is-checked:hover::before {
  background-color: #002d6e !important;
}

.ms-ChoiceField.is-checked:hover .ms-ChoiceField-field::after,
[class*="field-"].is-checked:hover::after {
  background-color: #002d6e !important;
  background: #002d6e !important;
  border-color: #002d6e !important;
}

/* Radio button - focus state when checked */
.ms-ChoiceField.is-checked:focus .ms-ChoiceField-field,
.ms-ChoiceField.is-checked .ms-ChoiceField-input:focus + .ms-ChoiceField-field,
[class*="field-"].is-checked:focus {
  border-color: rgba(0, 28, 76, 0.5) !important;
  outline: none !important;
}

/* Spinner circle - change color to primary */
.ms-Spinner-circle,
[class*="circle-"] {
  border-color: rgba(0, 28, 76, 0.2) rgba(0, 28, 76, 0.2) #001C4C #001C4C !important;
}

/* Spinner in different sizes */
.ms-Spinner--large .ms-Spinner-circle,
.ms-Spinner--medium .ms-Spinner-circle,
.ms-Spinner--small .ms-Spinner-circle {
  border-color: rgba(0, 28, 76, 0.2) rgba(0, 28, 76, 0.2) #001C4C #001C4C !important;
}


/* End */
/* Spinner label - change text color to primary */
.ms-Spinner-label {
  color: #001C4C !important;
}

body {
  background-color: var(--color-bg-body);
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  font-size: var(--font-size-base);
}

.instruction-content {
  padding: 10px 10px;
}

.text-highlight {
  color: var(--color-primary);
  border-bottom: 1px solid rgba(0, 120, 212, 0.4); /* lighter underline */
  font-weight: 600;
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header-container {
      width: 100%; 
      display: flex;
      align-items: center;
      background-color: var(--color-primary-dark); 
      height: var(--header-height);
      padding: 5px 0; 
      margin-bottom: 15px
}

.content-wrapper {
      display: grid;
      grid-template-columns: 1fr; 
      max-width: var(--max-width-content) !important; 
      margin: 0 auto !important;
      padding: 0px !important;
      transition: grid-template-columns 0.3s ease, max-width 0.6s ease;
}

.main-panel,
.results-panel {
  grid-column: 1;
  transition: height 0.6s ease;
}

.command-bar-subfilters {
      position: sticky;
      top: 0;
      z-index: 10;
}

@media (min-width: 900px) {

body.active {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* Prevent page-level scrolling */
}

.content-wrapper.active {
  max-width: 100% !important; 
  grid-template-columns: var(--sidebar-width) 1fr;
  margin: 0; 
}

.content-wrapper.active .main-panel {
  grid-column: 1;
  padding: 0px 10px 10px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: calc(100dvh - 55px - 10px); /* Subtract bottom padding */
  height: calc(var(--vh, 1vh) * 100 - 55px - 10px);
}

.content-wrapper.active .results-panel {
  grid-column: 2;
  padding: 0px 20px 10px 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: calc(100dvh - 55px - 10px);
  height: calc(var(--vh, 1vh) * 100 - 55px - 10px);
}
}

.logo-container-main-panel {
      margin: 15px auto;
}

.logo-main-panel {
      height: 140px;
      width: 100%;;
}

.logo-container-header {
      max-width: 2000px; 
      margin: 0; 
      padding: 0 0 0 20px; 
      display: flex; align-items: center;
}

.button-container {
      float: right;
      padding-right: 20px;
}

.button-container > * {
  width: 100%;
  max-width: 100px;
  margin-left: 5px;
  margin-right: 5px;
}


.section-title {
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 5px;
  padding-bottom: 3px;
}

.section-content {
      font-size: 1.1em;
      margin-bottom: 10px;
      margin-left: 8px;
      line-height: 1.5;
}


a[target="_blank"]::after {
  content: " ↗";
}

a[target="_blank"].no-arrow::after {
        content: none !important;
      }

a {
  text-decoration: none;
  color: inherit;
}

ul {
    margin-left: 10px;  
    padding-left: 10px; 
}

li {
    margin-left: 2px;
    margin-bottom: 2px;
    padding-left: 2px;
}
.card {
  background: #fff;
  padding: 28px;
  margin-bottom: 5px;
  border-radius: 2px;
  background-clip: padding-box;
  width: auto;
}

.logo {
  height: 22px;
  margin: 3px;
}

.faq-question {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  margin-left: 30px;
}

.toggle-icon {
  margin-right: 10px;
  font-size: 12px;
}

.faq-question:hover .toggle-icon {
  color: var(--color-primary);
}

.cni {
      color: #b3b0ad;
}
.recruiting,
.completed,
.terminated,
.active_not_recruiting,
.not_yet_recruiting,
.suspended,
.withdrawn {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 0.2px solid black;
  border-radius: 50%;
  margin-right: 10px;
}

.reportar_erro,
.identificar_centro {
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 2px 5px;
  color: black;
  border-radius: 5px;
  font-size: 0.6em;
  font-weight: 600;
  white-space: nowrap;
}

.multitumores {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 5px;
  font-size: 0.7em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--color-primary);
  border-radius: 2px;
  margin-left: 10px;
  border: 1px solid var(--color-primary);
  background-color: none;
}

.regular_button {
  display: inline-block;
  padding: 4px 8px 4px 8px;
  border: 1px solid #303030;
  font-size: 0.7em;
  border-radius: 1px;
  font-weight: 600;
  color: #303030;
}

.adicionar_centro {
  display: inline-block;
  padding: 4px 8px 4px 8px;
  color: var(--color-primary);
  border-radius: 2px;
  border: 1px solid var(--color-primary);
  font-size: 0.7em;
  white-space: nowrap;
  font-weight: 600;
  background-color: none;
}

.adicionar_centro:hover {
  background-color: var(--color-primary);
  color: white;
}

.recruiting {
  background-color: var(--color-status-recruiting);
  color: black;
}

.completed,
.suspended,
.terminated,
.withdrawn{
  background-color: var(--color-status-inactive);
  color: black;
}

.active_not_recruiting,
.not_yet_recruiting {
  background-color: var(--color-status-pending);
  color: black;
}


.identificar_centro {
  background-color: #fff3e2;
  color: black;
}

.reportar_erro {
  background-color: #E8E8E8;
  color: black;
}

.status-legend {
  margin-bottom: 8px;
  margin-left: 5px;
  padding: 12px;
  max-width: 270px;
  background-color: #f3f2f1;
  border-radius: 6px;
}

.legend-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.legend-item .status-indicator {
  margin-right: 8px;
}
.openPanel {
  cursor: pointer;
  transition: all 0.2s ease;
}

.openPanel:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.openPanel:active {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

/* Focus state for accessibility */
.openPanel:focus {
  outline: 2px solid #4d90fe;
  outline-offset: 1px;
}
      
      
/* #tumor_selection, */
/* #state_selection, */
/* #study_design_selection { */
/*      font-size: 0.95rem; */
} */

#searchResults {
  max-height: 100%;
}

#staging .ms-Button-label,
#biomarkers .ms-Button-label{
      font-weight: 600;
}

#filters .ms-Button-label {
      font-weight: 600;
      color: #333;
}

[data-staging-active="true"] #staging,
[data-staging-active="true"] [id="staging"],
[data-biomarkers-active="true"] #biomarkers,
[data-biomarkers-active="true"] [id="biomarkers"] {
    position: relative;
    font-weight: 600; 
    color: var(--color-primary) !important; 
    padding-left: 10px
}
[data-staging-active="true"] #staging::before,
[data-staging-active="true"] [id="staging"]::before,
[data-biomarkers-active="true"] #biomarkers::before,
[data-biomarkers-active="true"] [id="biomarkers"]::before {
      content: "";
      position: absolute;
      left: 4px;  /* Changed from 0 to 4px */
      top: 35%;
      height: 30%;
      width: 3px;
      background-color: var(--color-primary);
      border-radius: 3px;
      opacity: 0.8; /* Slightly transparent for a subtle effect */
}

/* --- STAGING --- */
[data-staging-filter="LOCAL"] #LOCAL,
[data-staging-filter="LOCAL"] [id='LOCAL'],
[data-staging-filter="METAS"] #METAS,
[data-staging-filter="METAS"] [id='METAS'],
[data-staging-filter="LINE1"] #LINE1,
[data-staging-filter="LINE1"] [id='LINE1'],
[data-staging-filter="LINEX"] #LINEX,
[data-staging-filter="LINEX"] [id='LINEX'],
[data-staging-filter="CASTR"] #CASTR,
[data-staging-filter="CASTR"] [id='CASTR'],
[data-staging-filter="CASTS"] #CASTS,
[data-staging-filter="CASTS"] [id='CASTS'] {
    position: relative;
    font-weight: 600; 
    color: var(--color-primary); 
    padding-left: 10px
}

/* --- BIOMARKERS --- */
[data-biomarkers-filter="PDL1P"] #PDL1P,
[data-biomarkers-filter="PDL1P"] [id='PDL1P'],
[data-biomarkers-filter="PDL1N"] #PDL1N,
[data-biomarkers-filter="PDL1N"] [id='PDL1N'],
[data-biomarkers-filter="ALKKP"] #ALKKP,
[data-biomarkers-filter="ALKKP"] [id='ALKKP'],
[data-biomarkers-filter="RETTT"] #RETTT,
[data-biomarkers-filter="RETTT"] [id='RETTT'],
[data-biomarkers-filter="METTT"] #METTT,
[data-biomarkers-filter="METTT"] [id='METTT'],
[data-biomarkers-filter="NTRKK"] #NTRKK,
[data-biomarkers-filter="NTRKK"] [id='NTRKK'],
[data-biomarkers-filter="BRCAM"] #BRCAM,
[data-biomarkers-filter="BRCAM"] [id='BRCAM'],
[data-biomarkers-filter="PIK3C"] #PIK3C,
[data-biomarkers-filter="PIK3C"] [id='PIK3C'],
[data-biomarkers-filter="HRDDD"] #HRDDD,
[data-biomarkers-filter="HRDDD"] [id='HRDDD'],
[data-biomarkers-filter="DMMRR"] #DMMRR,
[data-biomarkers-filter="DMMRR"] [id='DMMRR'],
[data-biomarkers-filter="FGFRR"] #FGFRR,
[data-biomarkers-filter="FGFRR"] [id='FGFRR'],
[data-biomarkers-filter="HERLO"] #HERLO,
[data-biomarkers-filter="HERLO"] [id='HERLO'],
[data-biomarkers-filter="HERHI"] #HERHI,
[data-biomarkers-filter="HERHI"] [id='HERHI'],
[data-biomarkers-filter="HERMU"] #HERMU,
[data-biomarkers-filter="HERMU"] [id='HERMU'],
[data-biomarkers-filter="IDHMM"] #IDHMM,
[data-biomarkers-filter="IDHMM"] [id='IDHMM'],
[data-biomarkers-filter="FRALP"] #FRALP,
[data-biomarkers-filter="FRALP"] [id='FRALP'],
[data-biomarkers-filter="ROS1M"] #ROS1M,
[data-biomarkers-filter="ROS1M"] [id='ROS1M'],
[data-biomarkers-filter="KRASM"] #KRASM,
[data-biomarkers-filter="KRASM"] [id='KRASM'] {
    position: relative;
    font-weight: 600; 
    color: var(--color-primary); 
    padding-left: 10px
}

/* --- TREATMENT --- */
[data-treatment-filter="PIMUN"] #PIMUN,
[data-treatment-filter="PIMUN"] [id='PIMUN'],
[data-treatment-filter="PPLAT"] #PPLAT,
[data-treatment-filter="PPLAT"] [id='PPLAT'] {
    position: relative;
    font-weight: 600;
    color: var(--color-primary); 
    padding-left: 10px
}

[data-staging-filter="LOCAL"] #LOCAL::before,
[data-staging-filter="LOCAL"] [id='LOCAL']::before,
[data-staging-filter="METAS"] #METAS::before,
[data-staging-filter="METAS"] [id='METAS']::before,
[data-staging-filter="LINE1"] #LINE1::before,
[data-staging-filter="LINE1"] [id='LINE1']::before,
[data-staging-filter="LINEX"] #LINEX::before,
[data-staging-filter="LINEX"] [id='LINEX']::before,
[data-staging-filter="CASTR"] #CASTR::before,
[data-staging-filter="CASTR"] [id='CASTR']::before,
[data-staging-filter="CASTS"] #CASTS::before,
[data-staging-filter="CASTS"] [id='CASTS']::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

[data-biomarkers-filter="PDL1P"] #PDL1P::before,
[data-biomarkers-filter="PDL1P"] [id='PDL1P']::before,
[data-biomarkers-filter="PDL1N"] #PDL1N::before,
[data-biomarkers-filter="PDL1N"] [id='PDL1N']::before,
[data-biomarkers-filter="ALKKP"] #ALKKP::before,
[data-biomarkers-filter="ALKKP"] [id='ALKKP']::before,
[data-biomarkers-filter="RETTT"] #RETTT::before,
[data-biomarkers-filter="RETTT"] [id='RETTT']::before,
[data-biomarkers-filter="METTT"] #METTT::before,
[data-biomarkers-filter="METTT"] [id='METTT']::before,
[data-biomarkers-filter="NTRKK"] #NTRKK::before,
[data-biomarkers-filter="NTRKK"] [id='NTRKK']::before,
[data-biomarkers-filter="BRCAM"] #BRCAM::before,
[data-biomarkers-filter="BRCAM"] [id='BRCAM']::before,
[data-biomarkers-filter="PIK3C"] #PIK3C::before,
[data-biomarkers-filter="PIK3C"] [id='PIK3C']::before,
[data-biomarkers-filter="HRDDD"] #HRDDD::before,
[data-biomarkers-filter="HRDDD"] [id='HRDDD']::before,
[data-biomarkers-filter="DMMRR"] #DMMRR::before,
[data-biomarkers-filter="DMMRR"] [id='DMMRR']::before,
[data-biomarkers-filter="FGFRR"] #FGFRR::before,
[data-biomarkers-filter="FGFRR"] [id='FGFRR']::before,
[data-biomarkers-filter="HERLO"] #HERLO::before,
[data-biomarkers-filter="HERLO"] [id='HERLO']::before,
[data-biomarkers-filter="HERHI"] #HERHI::before,
[data-biomarkers-filter="HERHI"] [id='HERHI']::before,
[data-biomarkers-filter="HERMU"] #HERMU::before,
[data-biomarkers-filter="HERMU"] [id='HERMU']::before,
[data-biomarkers-filter="IDHMM"] #IDHMM::before,
[data-biomarkers-filter="IDHMM"] [id='IDHMM']::before,
[data-biomarkers-filter="FRALP"] #FRALP::before,
[data-biomarkers-filter="FRALP"] [id='FRALP']::before,
[data-biomarkers-filter="ROS1M"] #ROS1M::before,
[data-biomarkers-filter="ROS1M"] [id='ROS1M']::before,
[data-biomarkers-filter="KRASM"] #KRASM::before,
[data-biomarkers-filter="KRASM"] [id='KRASM']::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

[data-treatment-filter="PIMUN"] #PIMUN::before,
[data-treatment-filter="PIMUN"] [id='PIMUN']::before,
[data-treatment-filter="PPLAT"] #PPLAT::before,
[data-treatment-filter="PPLAT"] [id='PPLAT']::before {
    content: "";
    position: absolute;
    left: 0;
    top: 25%;
    height: 50%;
    width: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

#shiny-disconnected-overlay {
  display: none !important;
}

#ss-overlay {
  display: none !important;
}

#ss-connect-dialog {
  background: white !important;
  color: var(--color-primary) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  padding: 1.3em 2em !important;
  border-radius: 0 !important;
  box-shadow: rgba(0, 0, 0, 0.2) 0px -2px 8px !important;
  opacity: 1 !important;
  z-index: 9999 !important;   
  text-align: center !important;
  pointer-events: auto !important;           
}

#ss-connect-dialog::before {
  content: "Sessão desconectada por inatividade. Você pode interagir com a consulta atual, mas para novas consultas, é preciso recarregar a página." !important;
}

#ss-connect-dialog label {
  display: none !important;
}

#ss-connect-dialog a {
             display: none !important;
             color: white !important;
             font-size: 0 !important;
             font-weight: normal !important;
}

#ss-connect-dialog a::before {
  content: "" !important;
}

.info-recruiting-circles {
      cursor: help; 
      color: #8c8b89; 
      font-size: 0.9em; 
      margin-right: 3px;
      display: inline-block;
}

.ms-TooltipHost {
      display: flex; 
      align-items: center; 
      flex-direction: row
}

.clickable-icon {
    cursor: pointer;
    transition: all 0.2s ease;
}

.clickable-icon:hover {
    transform: scale(1.2);
}
@media (max-width: 768px) {
      
  .content-wrapper {
    max-width: 100% !important; 
    padding: 0px !important;
  }
  
  .content-wrapper .main-panel .card {
    min-height: calc(100dvh - 52px);
    min-height: calc(var(--vh, 1vh) * 100 - 52px);
    max-height: 3000px;
    box-sizing: border-box;
    transition: max-height 0.4s ease-in-out, min-height 0.4s ease-in-out;
  }

  .content-wrapper .main-panel .logo-filters-container {
    margin: 10vh 0px;
    transition: margin 0.4s ease-in-out;
  }

  .content-wrapper.active .main-panel .card {
    min-height: auto;
    max-height: 5000px; /* Large enough value to accommodate content */
  }

  .content-wrapper.active .main-panel .logo-filters-container {
    margin: 0px; 
  }
  
  .instruction-content {
    padding: 5px 5px;
  }
  
  .card {
    width: 100%;
  }

  .logo {
    height: 20px;
    margin: 1;
  }

  .faq-answer {
    margin-left: 10px;
    margin-right: 5px;
  }
  
  .header-container {
    margin-bottom: 0px
  }

  body {
    font-size: 18px;
    max-width: 100%;
  }

  .card {
    padding: 20px;
  }

}