.highlighted-checklist .custom-checkbox-label {
    color: #1e90ff; /* Example color for labels */
    font-weight: bold;
}

.upload{
    width: 100%;
}

/* style.css */
/* === SIDEBAR CONTAINER === */
.sidebar {
  width: 3.8em;                /* collapsed width */
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-x: hidden;
  transition: width 0.5s;
  background-color: #1f1f1f;
  color: #ffffff;
  z-index: 2;
  box-shadow: 4px 0 2px 0 rgba(0, 0, 0, 0.3);
}

.sidebar:hover {
  width: 13em;                 /* expanded width */
}

/* === PAGE CONTENT SHIFT === */
#page-content {
  padding-left: 3.8em;         /* space for collapsed sidebar */
  transition: padding-left 0.5s ease;
  z-index: 1;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #555 #2e2e2e;
}

/* when sidebar expands, push content a bit */
/* .sidebar:hover ~ #page-content {
  padding-left: 13em;
} */

/* === NAV LINKS === */
.sidebar .nav-link {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  border-radius: 0 8px 8px 0;
  padding: 6px 10px;
  color: #e5e7eb;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    transform 0.1s ease;
}

/* icon width fixed */
.sidebar .nav-link i {
  width: 0.75rem;
}

/* hide labels by default (collapsed state) */
.sidebar .nav-link span {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}

/* reveal labels when sidebar hovered */
.sidebar:hover .nav-link span {
  visibility: visible;
  opacity: 1;
}

/* hover state for any nav item */
.sidebar .nav-link:hover {
  background-color: #111827;     /* subtle dark highlight */
  color: #bfdbfe !important;     /* light bluish text */
  transform: translateY(-1px);
}

/* ACTIVE NAV LINK */
.nav-link.active {
  background-color: #111827 !important;   /* dark slate strip */
  color: #3b82f5 !important;              /* blue accent */
  border-left: 3px solid #3b82f5;
  box-shadow: 2px 0 10px rgba(59, 130, 245, 0.4);
}

/* active icon explicitly blue */
.nav-link.active i {
  color: #3b82f5 !important;
}

/* keep text readable on hover even when active */
.nav-link.active:hover {
  color: #e5e7eb !important;
}

/* === HEADER + ICON ROWS === */
.sidebar-header {
  display: flex;
  justify-content: left;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  padding: 6px;
}

.image_title {
  display: flex;
  flex-direction: row;
  column-gap: 6px;
  align-items: center;
}

.icon_title {
  display: flex;
  flex-direction: row;
  column-gap: 5px;
  align-items: center;
  color: #ffffff;
}




/* .nav-bar-icons:hover{
  transform: translateY(-4px);
} */


/* ----------------------------------------Network Expandable download ---------------------------------------- */

/* make sure icon and panel share the same stacking context */
.download-container {
  position: relative;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
}

/* icon button (no change needed, ensure width used below matches) */
.download-icon-btn {
  background-color: #4ca9ff;
  border: none;
  color: black;
  width: 50px;   /* used below to position the panel */
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  /* font-weight: bold; */
  margin-right: 4px; /* keep small gap so text doesn't touch icon */
}

/* PANEL: keep final width reserved to avoid layout gap */
.download-panel {
  position: absolute;
  right: calc(50px + 2px);   /* icon width + its right margin -> adjacent with no gap */
  top: 50%;
  transform: translateY(-50%) translateX(8px); /* start slightly shifted right (collapsed) */
  width: auto;
  max-width: 320px;              /* final expanded width reserved */
  opacity: 0;
  pointer-events: none;      /* not interactive while hidden */
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
  transition: transform 200ms ease, opacity 180ms ease;
  box-sizing: border-box;
  padding: 6px;              /* small padding makes the hit area larger */
  border-radius: 8px;
  /* background: rgba(20,20,20,0.95); */
}


/* Keep open when parent hovered/focused OR panel itself hovered */
.download-container:hover .download-panel,
.download-container:focus-within .download-panel,
.download-panel:hover {
  transform: translateY(-50%) translateX(0); /* slide into place */
  opacity: 1;
  pointer-events: auto;     /* now interactive */
}

/* action buttons inside */
.download-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: transform 120ms, box-shadow 120ms;
}

/* color variants */
.btn-png { background-color: #81aedd; color: #0b1a2b; height: 30px;}
.btn-json { background-color: #93ce96; color: #06210a; height: 30px;}
.btn-csv { background-color: #f29e65; color: #2b1300; height: 30px;}

.download-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
/* hide text on very small widths - optional */
/* .download-action .btn-text { display: none; } */


/* -------------------------------------------- edge information tooltip -------------------------------------------------- */ */

/* container hidden by default (we keep display:none inline too) */
.cytoscape-tap-edge-data-output {
  display: none;              /* hidden before server shows it */
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2000;
  box-sizing: border-box;
  pointer-events: auto;
}

/* slide-in only: from right to final position */
@keyframes slideIn {
  0%   { transform: translateX(120%); opacity: 0; visibility: hidden; }
  100% { transform: translateX(0);     opacity: 1; visibility: visible; }
}

/* inner pre content styling */
.pop-content-pre {
  background-color: #292929;
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  min-width: 160px;
  max-width: 420px;
  max-height: 320px;
  overflow: auto;
  font-family: monospace;
  font-size: 13px;
  line-height: 1.2;
  margin: 0;
}

/* close button styling (static) */
.pop-close-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: none;
  background: #c62828; /* red */
  color: white;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column-reverse;
  padding: 0;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 2100;
}

/* hover */
.pop-close-btn:hover { transform: translateY(-1px); }


/* --------------------------------------------- new contact us page CSS -------------------------------------------------- */ */
/* card base */
/* .contact-card {
  background-color: #232323;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.03);
  color: #fff;
  box-sizing: border-box;
} */

/* gentle elevated shadow */
.shadow-card {
  box-shadow: 0 8px 20px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.01);
  transition: transform 120ms ease, box-shadow 160ms ease;
}

/* slight lift on hover for affordance */
.shadow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.6);
}

/* link style inside card */
.contact-card a {
  color: #81aedd;
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}

/* responsive: stack columns on narrow screens */
@media (max-width: 1000px) {
  .contact-card { padding: 14px; }
  .your-grid-class { grid-template-columns: 1fr !important; } /* if you use a class */
}


/* -------------------------------------------------------------- home page CSS ---------------------------------------------------------*/


/* Default: Desktop (three fixed columns) */
.key-features-grid {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    gap: 25px;
    padding: 10px 60px;
    justify-content: center;
    justify-items: center;
}

/* Tablets: Reduce column width or switch to 2 columns */
@media (max-width: 1100px) {
    .key-features-grid {
        grid-template-columns: repeat(2, 300px);
    }
}

/* Mobile: Switch to flex layout (stacked cards) */
@media (max-width: 720px) {
    .key-features-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}



.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(55, 65, 82, 0.55);
}



.table-header-gradient {
    /* background: linear-gradient(90deg, #0f4c75, #3282b8); */
    padding: 12px 18px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.background1 {
  background: linear-gradient(90deg, #0f4c75, #3282b8);
}

.background2{
  background: linear-gradient(90deg, #3282b8,#353348);
}


.animated-gradient-text {
    background: linear-gradient(90deg, #14e6ff, #4ca9ff, #9c4dff);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.grad-li {
    background: linear-gradient(90deg,#17e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.grad-me {
    background: linear-gradient(90deg, #2ecbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.grad-n {
    background: linear-gradient(90deg,#6390ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.grad-ex {
    background: linear-gradient(90deg,#8d5cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}







/* wrapper around the title, keeps everything centered */
.hero-title-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  z-index: 1;
}

/* soft animated halo behind the title */
.title-halo {
  position: absolute;
  width: 520px;
  height: 220px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.14;
  background: radial-gradient(circle at 30% 30%, rgba(20,230,255,0.85), rgba(76,169,255,0.55) 30%, rgba(156,77,255,0.28) 60%, transparent 70%);
  transform: translateY(-8%);
  z-index: 0;
  animation: haloPulse 6s ease-in-out infinite;
  pointer-events: none;
}

/* gentle pulsing of halo */
/* @keyframes haloPulse {
  0%   { transform: translateY(-8%) scale(0.98); opacity: 0.10; }
  50%  { transform: translateY(-6%) scale(1.03); opacity: 0.18; }
  100% { transform: translateY(-8%) scale(0.98); opacity: 0.10; }
} */

/* drifting decorative dots */
.hero-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 0;
}

/* a single dot style — we'll create multiple with inline styles for variety */
.hero-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  opacity: 0.14;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 10px rgba(255,255,255,0.08), 0 0 22px rgba(20, 230, 255, 0.08);
  animation: floatDot linear infinite;
}

/* different durations via inline style or nth-child */
@keyframes floatDot {
  0%   { transform: translate(-50%, -50%) translateY(0) scale(1); opacity: 0.12; }
  50%  { transform: translate(-50%, -50%) translateY(-22px) scale(1.12); opacity: 0.22; }
  100% { transform: translate(-50%, -50%) translateY(0) scale(1); opacity: 0.12; }
}

/* ensure title sits above decorations */
.hero-title-wrapper > * { position: relative; z-index: 2; }


.home-grpah-header{
  color : white;
  /* align-items: center;
  justify-content: center; */
  width: 700px;
  text-align: center;
  margin-bottom: 25px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0f4c75, #3282b8,#353348);
  padding: 5px;
  font-size: 20px;
  font-weight: 700; 
}

/* ------------------------------------------ console1 playcards information------------------------------ */


/* Each play-card */

/* card container (existing) */
.pinfo-card {
    display: grid;
    grid-template-columns: 60px 1fr;   /* label | value */
    column-gap: 8px;
    row-gap: 6px;
    min-width: 220px;
    max-width: 340px;
    background-color: #262626;
    border: 1.5px solid #374152;
    border-radius: 8px;
    padding: 8px 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* label side */
.pinfo-label {
    color: #a8b3c0;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap; /* keep labels on one line */
}

/* value side */
.pinfo-value {
    color: #e6e6e6;
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* hover effect (optional) */
.pinfo-card:hover {
    transform: translateY(-4px);
}

/* Responsive tweak */
@media (max-width: 360px) {
    .pinfo-card { grid-template-columns: 80px 1fr; }
}





/* ------------------------------------------ Disabled button cursor style ------------------------------ */
#fetch-network-button:disabled {
    cursor: not-allowed !important;
}

#fetch-reactions-button:disabled {
    cursor: not-allowed !important;
}

#fetch-tfs-button:disabled {
    cursor: not-allowed !important;
}

#load-evidence-btn:disabled {
    cursor: not-allowed !important;
}

/* ------------------------------------------ buttons css ----------------------------------------------------- */

/* common class: add this to your buttons via className="primary-btn" */
.primary-btn {
  background-color: #4ca9ff;
  color: black;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(76, 169, 255, 0.35);
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.primary-btn:hover {
  background-color: #6bb7ff;  /* slightly lighter */
  box-shadow: 0 0 14px rgba(76, 169, 255, 0.5);
  transform: translateY(-1px);
}

.primary-btn:disabled {
  background-color: #374151;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
}


/* ---------------- warning css ------------------------------------- */




/*--------------------------------------------------------- Expandable stas css---------------------------------------------------------- */


.home-stat-card {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
  background: #1f1f1f;
  color: #f5f5f5;
}

.home-stat-card-header {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, #262626, #2f2f2f);
}

.home-stat-card-body {
  padding: 1rem 1.25rem;
}

.home-stat-accordion .accordion-button {
  background: transparent;
  color: #f5f5f5;
  padding: 0.5rem 0;
}

.home-stat-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.home-stat-nested-accordion .accordion-button {
  font-size: 0.85rem;
}

.home-stat-accordion .accordion-button::after {
  /* tweak the caret arrow if you like */
}



/* ---------------------------------------------------------------------------------------legend---------------------------------------------------------- */

.legendContainer {
    position: fixed;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 2em; /* Collapsed width */
    /* background-color: #292929; Uniform color when collapsed */

    background: linear-gradient(
      180deg,
      #1f2937,
      #111827
    );
    border-left: 1px solid rgba(59, 130, 245, 0.5);
    box-shadow: -2px 0 8px rgba(59, 130, 245, 0.35);

    z-index: 3000;
    display: flex;
    flex-direction: row; /* Arrange arrow and content in a row */
    align-items: center;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden; /* Prevent content from being visible in collapsed state */
    /* transition: width 0.5s ease, background-color 0.4s ease; */
    transition: width 0.45s cubic-bezier(.4,0,.2,1), background 0.35s ease, box-shadow 0.35s ease;
    pointer-events: auto;
}

.legendContainer::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    width: 6px;
    height: 100%;
    background: transparent;
}

/* Expands the legend when hovered */
.legendContainer:hover {
    width: 450px; /* Expanded width */
    background-color: #FFFFFF; /* Change background to white when expanded */
    box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.2); /* Add shadow for a cool effect */
}

/* Arrow to indicate hover action */
.legendArrow {
    /* color: #FFFFFF; Arrow color */
    color: #93c5fd; /* soft blue */
    opacity: 0.9;
    font-size: 1.5em; /* Arrow size */
    transform: rotate(0deg); /* Default left-pointing arrow */
    transition: transform 0.4s;
    cursor: pointer;
    margin-left: 0.25em; /* Adjust positioning */
    margin-right: 0.25em;
}

/* Arrow flips when hovered */
.legendContainer:hover .legendArrow {
    transform: rotate(180deg); /* Rotate arrow to indicate collapse */
    color: #1f2937; /* dark arrow on white bg */
}



/* -------------------------------------------------------------------------------------------------- */
.interp-key {
    font-weight: 600;
    color: #e5e7eb;
    white-space: nowrap;
    word-break: break-word;
}

.interp-value {
    color: #d1d5db;
    word-break: break-word;
}
