/* ========================================
   Osteosarcoma - Landing Page Styles
   ======================================== */

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --text-color: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

body {
  font-family: "Inter", "Helvetica Neue", "Helvetica", system-ui, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-color);
}

.lead, .lh-base {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  background: white !important;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-color) !important;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 1px;
}

/* Hero Section */
.hero-section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* Feature Block - Unified video + content */
.feature-block {
  display: flex;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.feature-block .feature-video-wrapper {
  flex: 0 0 55%;
  min-height: 280px;
  overflow: hidden;
}

.feature-block .feature-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-block .feature-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-block .feature-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.feature-block .feature-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Feature icon (for cards without video) */
.feature-block .feature-icon {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: var(--primary-color);
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .feature-block {
    flex-direction: column;
  }
  .feature-block .feature-video-wrapper {
    flex: none;
    min-height: 200px;
  }
  .feature-block .feature-icon {
    min-height: 200px;
  }
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

/* Links */
a.link-primary {
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

a.link-primary:hover {
  text-decoration: underline;
}
/* Add space between Vega-Embed links  */
.vega-actions a {
  margin-right: 5px;
}
/* .tabulator-row .tabulator-cell{ */
/*   padding: 8px 4px; */
/*   min-height: 170px; */
/* } */
/*.tabulator-row.tabulator-selectable:hover {
background-color: #fff;
cursor: pointer;
}*/

/* @media only screen and (max-width: 1000px) { */
/* } */

/* .tabulator { */
/*   font-size: 1.15rem; */
/* } */

.x-axis, .y-axis {
  font-size: 14px;
}
.tabulator-header {
  margin-left:0px !important;
}

#boxPlot {
  width: 100%;
  height: 150px;
}
#genePointPlot {
  width: 100%;
  height: 550px;
}
#geneTable {
  height: 340px;
}
.selected-point {
  fill: black;
  r: 3;
  z-index: 100;
}
.selected-point-text {
  font-style: italic;
  font-weight: 800;
  text-anchor: middle;
}
.clicked-point {
  fill: red;
  r: 3;
  z-index: 100;
}
.clicked-point-text {
  font-style: italic;
  font-weight: 800;
  text-anchor: middle;
}
.point-guide {
  stroke: rgb(200 200 200 / 50%);
}
.point {
  fill: rgb(80 80 80 / 50%);
}
.gene-name {
  font-style: italic;
}

/* input { */
/*   border: 1px solid transparent; */
/*   background-color: #f1f1f1; */
/*   padding: 10px; */
/*   font-size: 16px; */
/* } */
/* input[type=text] { */
/*   background-color: #f1f1f1; */
/*   width: 100%; */
/* } */
/* input[type=submit] { */
/*   background-color: DodgerBlue; */
/*   color: #fff; */
/* } */
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
}
.autocomplete-items {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  max-height: 250px;
  overflow: auto;
  position: absolute;
}
.autocomplete-items div {
  padding: 3px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.tick > text {
  font-size: 16px;
}

.axisLabel {
  font-size: 16px;
}

