 /* global settings */
 :root {
  --recorded-font-size: 14px; /* or 18px, adjust as desired */
}
.authors {
  font-size: 1rem;
  color: #555;
  margin-top: -8px;
  margin-bottom: 10px;
} 
  
.block-text {
  text-align: justify;
}


 /* split page into two main parts */
.split-container {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 9px;
 }

.left-pane {
    flex: 2;      
    background: #fff;
    padding: 15px 10px;
    border-right: 1px solid #ddd;
    align-items: center;
    overflow: visible;
    min-width: 0;
}

.right-pane {
    flex: 5;
    display: flex;
    flex-direction: column;
    align-items: center;       /* horizontal center of children */
    background: #fafafd;
    overflow-y: auto;
    min-width: 0;
    height: 100%;
    /* Remove padding here if you had it */
  }
  
  /* The actual content area, centered and padded */
  /* .right-content {
    width: 100%;
    max-width: 90%;  
    margin: 0 0;           
    padding: 5px 5px;      
    box-sizing: border-box;
    align-items: center; 
  } */
  .right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; vertical centering */
    min-height: 100vh;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 5px 5px;
    box-sizing: border-box;
}
.right-content h3 {
  align-self: flex-start;
  text-align: left;
  margin-top: 32px;
}

  @media (max-width: 900px) {
    .main-container {
      flex-direction: column;
    }
    .left-pane, .right-pane {
      max-width: 100%;
      flex: none;
    }
  }

  .speaker-title {
    position: sticky;
    top: 0;                  /* sticks to the top of the .right-pane container  */
    z-index: 10;             /* ensure it’s above other content */
    background: #fafafd;     /* match right-pane background to avoid overlap transparency */
    padding-top: 8px;        /* optional: add padding for visual comfort */
    padding-bottom: 8px;
  }
    
/* display trajectory and meta */
.media-row {
    display: flex;
    margin-top: 20px;
    align-items: flex-start;
    justify-content: center;
}

  .exp-row, .grid-header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px; /* 32px */
    border-bottom: 1px solid #e5e6ea;
  }
  
  .exp-column, .grid-header-cell {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;          /* 12px 0 */
    box-sizing: border-box;   /* Ensure padding doesn't add width */
  }
  
  .grid-header-row {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fafafd;
    border-bottom: 1px solid #ddd;
    font-size: 12px;  /* 14px */
    white-space: nowrap;
  }
  
  .grid-header-cell {
    font-size: 1.1em;
    font-weight: bold;
    white-space: nowrap;
    flex-direction: row;
  }

  .exp-column img {
    max-width: 100%;
    height: auto;
    display: block; /* removes inline gap/whitespace below images */
    margin: 0 auto;  /* optional: center horizontally */
  }

  .spectrogram-with-controls {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and control row horizontally */
  }

  .spectrogram-with-controls img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .spectrogram-controls-row {
    display: flex;
    flex-direction: row;
    align-items: center; /* Align play btn and table center-vertically */
    gap: 8px;           /* Adds space between play btn and table */
    margin-top: 2px;
    width: 100%;
    justify-content: flex-start;
    padding-left: 12px;  /* <-- Add this line, adjust value as needed */
}
  
.spectrogram-play-btn {
    font-size: 40px; 
    width: 40px;
    height: 40px;
    background: #fafafd;
    border: 1px solid #eee;
    border-radius: 10%;
    padding: 0;
    margin: 0;
    line-height: 1;           /* ensures no extra space vertically */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px #ddd;
    cursor: pointer;
    transition: background 0.15s;
    /* Prevent user agent styles messing up box sizing */
    box-sizing: border-box;
    /* Optionally force fixed font: */
    /* font-family: Arial, sans-serif; */
}

.col-label {
    font-weight: bold;
    margin-bottom: 5px;
}
#imported-results-table table {
    width: 100%;
    /* Optional: */
    margin: 0;
    /* For consistent column sizing: */
    table-layout: fixed;
    font-size: 10px;  /* or your preferred size */
}

.metric-table {
    border-collapse: collapse;
    margin: 8px auto 0px auto;   /* top, sides, bottom */
    font-size: 10px; /*  13px */
    width: auto;
  }
  
  .metric-table th,
  .metric-table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 2px 8px;
  }
  
  .metric-table th {
    background-color: #fafafa;
    font-weight: bold;
  }

  .config-table {
    width: 250px !important;
}

  .exp-column > .speaker-title {
    margin-bottom: 0px;
}

mjx-math {
  display: inline-block !important;
  vertical-align: middle !important;
}

p {
  font-family: 'Fira Mono', 'Consolas', monospace;
  color: #555;
  border-radius: 4px;
  font-size: 11px;
  padding: 0.2em 0.5em;
}

.input-label {
  font-family: 'Fira Mono', 'Consolas', monospace;
  color: #555;
  border-radius: 4px;
  font-size: 11px;
  padding: 0.2em 0.5em;
}

.spacer {
  height: 50px;
  width: 100%;
  background: #eee;
  display: block;
}

.video-container {
  margin-top: 50px; /* adjust as needed */
  margin-bottom: 50px; /* adjust as needed */
}

.exp-column img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
}

/* tabular alignment for recorded dataset */
.recorded-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.recorded-header-row, .recorded-row {
  display: contents;
}
.recorded-header-cell, .recorded-column {
  padding: 3px 6px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  display: flex;  
  justify-content: center;
  align-items: center;
  font-size: var(--recorded-font-size);
}

.recorded-header-cell {
  font-weight: bold;
}