.file-upload-wrapper {
    border: 2px dashed #292124; /* This changes the colour of the dashed line in the upload file tab of the searches*/
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.file-upload {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    font-size: 1.25rem;
    color: #212529; /* This one changes the colour of the text in the file upload tab*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.form-check-input:checked {
    background-color: black; /*This one changes the colour of the identifier tick box when maked*/
    border-color: black; /*This one changes the outline colour of the identifier tick box when maked*/
}

.form-check-input {
    accent-color: black;
}

@media (min-width: 576px) {
    .rounded-nav {
        border-radius: 50rem !important;
    }
}

@media (min-width: 576px) {
    .rounded-nav .nav-link {
        border-radius: 50rem !important;
    }
}

/* With arrow tabs */

.with-arrow .nav-link.active {
    position: relative;
}

.with-arrow .nav-link.active::after {
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #2b90d9;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

/* lined tabs */

.lined .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
}

.lined .nav-link:hover {
    border: none;
    border-bottom: 3px solid transparent;
}

.lined .nav-link.active {
    background: none;
    color: #555555;
    border-color: #2b90d9;
}

.nav-pills .nav-link {
    color: #555;
}

.nav-link.active {
    background-color: #000 !important; /* Change to dark */
    color: #fff !important;
}


.col-5 {
    position: relative;
}

.corner-img {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}

#compounds_viz {
    width: 100%;
    height: 700px;
}

.card-header {
    background-color: #007bff;
    color: black;
}

.info-label {
    font-weight: bold;
}

.info-value {
    font-size: 1.1em;
}

.table-responsive {
    margin-top: 20px;
}

#compound_image {
    display: block;
    margin: 20px auto;
    max-width: 90%;
    height: auto;
}

/* This changes the colour of the search tabs eg. the "square" of the "dead-end TPs" search*/
.bg-gray {
    background-color: #6c757d1a !important;
}

.bg-blue{
  --card-bg: #427fc1;
  --card-fg: #ffffff;
  --card-accent: #295c92;
  background-color: var(--card-bg) !important;
  color: var(--card-fg) !important;
}

.bg-green{
  --card-bg: #3974c494;
  --card-fg: #000000;
  --card-accent: #6990c8;
  background-color: var(--card-bg) !important;
  color: var(--card-fg) !important;
}

.bg-pink {
    background-color: #F1AFD1 !important;
}


.bg-red{
  --card-bg: #e95d2fc7;
  --card-fg: #000000;
  --card-accent: #E95D2F;
  background-color: var(--card-bg) !important;
  color: var(--card-fg) !important;
}

.bg-orange{
  --card-bg: #ef8e48db;
  --card-fg: #000000;
  --card-accent: #cd7106;
  background-color: var(--card-bg) !important;
  color: var(--card-fg) !important;
}

.bg-purple {
    background-color: #E4C8EA !important;
}

.bg-celadon {
    background-color: #A3CFB7 !important;
}

.bg-lightblue {
    background-color: #9ECBD1 !important;
}

.bg-citron {
    background-color: #D4CB87 !important;
}

.bg-tangerine {
    background-color: #F7A282 !important;
}


/* === Home card theme accents === */
.bg-blue a, .bg-blue a:hover, .bg-blue a:focus {
  color: var(--card-fg);
}

.bg-blue .btn.btn-dark,
.bg-green .btn.btn-dark,
.bg-orange .btn.btn-dark,
.bg-red .btn.btn-dark {
  background-color: var(--card-accent) !important;
  border-color: var(--card-accent) !important;
  color: #ffffff !important;
}

.bg-blue .rounded-nav .nav-link.active,
.bg-green .rounded-nav .nav-link.active,
.bg-orange .rounded-nav .nav-link.active,
.bg-red .rounded-nav .nav-link.active {
  background-color: var(--card-accent) !important;
  border-color: var(--card-accent) !important;
  color: #ffffff !important;
}

.bg-blue .form-control:focus {
  border-color: var(--card-accent);
  box-shadow: 0 0 0 .2rem rgba(11, 61, 115, .25);
}
.bg-green .form-control:focus {
  border-color: var(--card-accent);
  box-shadow: 0 0 0 .2rem rgba(46, 107, 31, .25);
}
.bg-orange .form-control:focus {
  border-color: var(--card-accent);
  box-shadow: 0 0 0 .2rem rgba(138, 31, 20, .25);
}
.bg-red .form-control:focus {
  border-color: var(--card-accent);
  box-shadow: 0 0 0 .2rem rgba(166, 65, 14, .25);
}

.example-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .75rem 0 0 0;
  padding: .35rem .5rem;
  background: transparent;
  border: 1px solid var(--card-accent);
  border-radius: .75rem;
}

.example-row .example-label {
  font-weight: 700;
  opacity: .9;
}

.example-row .example-name {
  font-weight: 600;
  opacity: .95;
}

.example-row .example-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--card-accent);
  background: transparent;
  color: var(--card-accent) !important;
  text-decoration: none;
  font-weight: 700;
}

.example-row .example-link:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.example-row .example-link .example-link-sep {
  opacity: .75;
  font-weight: 900;
}



.navbar-nav .nav-link.active {
    background-color: transparent !important; /* Remove background color */
    border-bottom: 2px solid currentColor !important; /* Add underline */
    color: inherit !important; /* Ensure the text color remains unchanged */
}

.navbar-nav {
    gap: 2em;
}

table.tp-table td {
    font-size: 0.7rem; /* Decrease font size */
    text-align: center; /* Center align table data */
    white-space: nowrap; /* Ensure text stays on one line */
}

table.tp-table th {
    text-align: center; /* Center align table headers */
    white-space: nowrap; /* Ensure text stays on one line */
}


body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;

    /* Background pattern (fix: correct absolute /static path) */
    background-color: #f7f8fb;

    background-image:
    radial-gradient(1000px 520px at 12% 8%, rgba(40,128,194,.14), transparent 60%),
    radial-gradient(900px 480px at 88% 18%, rgba(239,75,61,.10), transparent 55%);
    background-repeat: no-repeat;
    background-attachment: fixed;

    position: relative; /* add this */


    /* Make room for fixed navbar (JS updates --nav-h) */
    padding-top: var(--nav-h, 96px);

    color: #0f172a;
}

/* Blurred SVG pattern layer (behind everything) */
body::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("/static/images/Structures_transparent.svg");
  background-repeat: repeat;
  background-size: 2000px auto;
  background-position: top left;

  opacity: 0.3;       /* strength of pattern */
  filter: blur(1.0px); /* blur amount */
  transform: scale(1.12); /* prevents blur edge artifacts */

  z-index: -1;
  pointer-events: none;
}


/* Style for content */
.content {
    text-align: center;
    color: white;
    padding-top: 200px;
    position: relative; /* Relative to the overlay */
}
/* Container holding both title and subtitle */
.navbar-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
    pointer-events: none; /* allows nav links to remain clickable */
  }
  
  /* Title */
  .navbar-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.5rem; /* adjust as needed */
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    position: relative;
  }
  
  .navbar-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  }
  
  /* Subtitle */
  .navbar-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    margin-top: 0.5rem;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  

/* Base size (for small screens) */
.navbar-title {
    font-size: 1rem; /* phones */
}

/* Medium devices (tablets) */
@media (min-width: 768px) {
    .navbar-title {
        font-size: 2rem;
    }
}

/* Large devices (laptops) */
@media (min-width: 992px) {
    .navbar-title {
        font-size: 2rem;
    }
}

/* Extra large (big desktops) */
@media (min-width: 1200px) {
    .navbar-title {
        font-size: 2.5rem;
    }
}

.centered-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   UI Refresh: Fixed Navbar + Premium Footer (scoped)
   ========================================================= */

:root{
  --brand-blue: #2880c2;
  --brand-green: #81c241;
  --brand-gradient: linear-gradient(90deg, var(--brand-blue), var(--brand-green));

  --ink: #0f172a;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-hard: 0 16px 50px rgba(15, 23, 42, 0.14);
}

/* Skip link */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus{ left: 12px; }

/* -------------------------
   Navbar (keep original look, make it fixed)
   ------------------------- */
.site-navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.10);
  box-shadow: none;
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

/* Ensure absolute center title positions correctly */
.site-navbar .container-fluid{
  position: relative;
}

.site-navbar.is-scrolled{
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-soft);
  border-bottom-color: rgba(15,23,42,0.14);
}

/* Gradient accent line under nav (subtle, pro) */
.site-navbar::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: 0;
  transition: opacity 180ms ease;
}
.site-navbar.is-scrolled::after{ opacity: .85; }

/* Keep your underline-active idea, but make it colorful */
.site-navbar .navbar-nav .nav-link.active{
  background-color: transparent !important;
  border-bottom: 0 !important;
  color: inherit !important;
}
.site-navbar .navbar-nav .nav-link.active::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: .95;
}

/* Make links feel premium */
.site-navbar .nav-link{
  position: relative;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 160ms ease, background 160ms ease;
}
.site-navbar .nav-link:hover{
  background: rgba(40,128,194,0.08);
  transform: translateY(-1px);
}

/* Mobile collapse panel (so it works & looks good) */
@media (max-width: 991.98px){
  .navbar-center-text{ display:none !important; }

  .site-navbar .navbar-collapse{
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(15,23,42,0.10);
    box-shadow: var(--shadow-soft);
  }

  .site-navbar .navbar-nav{ gap: .25rem; }
}

/* -------------------------
   Footer (always visible, no zoom needed)
   ------------------------- */
.footer{
  width:100%;
  margin-top: 40px;
  color: rgba(255,255,255,0.92);
  background:
    radial-gradient(1100px 380px at 15% 0%, rgba(40,128,194,0.35), transparent 60%),
    radial-gradient(900px 340px at 90% 20%, rgba(239,75,61,0.25), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #070b14 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle chemistry pattern in footer */
.footer::before{
  content:"";
  position:absolute;
  inset: 0;
  background-image: url("/static/images/Structures_transparent.svg");
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.06;
  pointer-events:none;
}

.footer-top-accent{
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: .95;
}

.footer-inner{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 1.6rem;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.footer-copy{
  color: rgba(255,255,255,0.75);
  font-size: .95rem;
}
.footer-copy a{
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.footer-copy a:hover{ border-bottom-color: rgba(255,255,255,0.6); }

.footer-funding{
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  max-width: 560px;
  margin: 0 auto;
}

.footer-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

.footer-social{ gap: .6rem; }

.social-btn{
  width: 40px;
  height: 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration:none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.social-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
}
.social-btn--img img{
  filter: brightness(0) invert(1);
  opacity: .95;
}

@media (max-width: 992px){
  .footer-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-right{ justify-content: center; }
  .footer-social{ justify-content: center; }
}

/* =========================================================
   Light Footer (white + curves + colorful micro-accents)
   Overrides the previous dark footer styles.
   ========================================================= */

.footer.footer--light{
  width:100%;
  margin-top: 44px;
  color: rgba(15,23,42,0.92);
  background: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 -18px 55px rgba(15,23,42,0.06);
}

/* subtle pattern inside footer only */
.footer.footer--light::before{
  content:"";
  position:absolute;
  inset: 0;
  background-image: url("/static/images/Structures_transparent.svg");
  background-repeat: repeat;
  background-size: 900px auto;
  opacity: 0.07;
  pointer-events:none;
}

/* waves sit at the top, creating a soft separator from content */
.footer.footer--light .footer-waves{
  position:absolute;
  left:0;
  top:-1px;
  width:100%;
  height: 110px;
  z-index: 0;
  opacity: 1;
  pointer-events:none;
}

.footer.footer--light .footer-waves .wave-1 { fill: rgba(40, 128, 194, 0.10); } 
.footer.footer--light .footer-waves .wave-2 { fill: rgba(129, 194, 65, 0.08); } 
.footer.footer--light .footer-waves .wave-3 { fill: rgba(40, 128, 194, 0.05); }

/* colorful accent line (like navbar) */
.footer.footer--light .footer-top-accent{
  position: relative;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  opacity: .85;
}

/* layout */
.footer.footer--light .footer-inner{
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
    margin-top: 44px;
  /* extra top padding to make room for the waves */
  padding: 4.2rem 1.25rem 1.8rem;
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.footer.footer--light .footer-copy{
  color: rgba(15,23,42,0.70);
  font-size: .95rem;
}
.footer.footer--light .footer-copy a{
  color: rgba(15,23,42,0.90);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,0.22);
}
.footer.footer--light .footer-copy a:hover{
  border-bottom-color: rgba(15,23,42,0.45);
}

.footer.footer--light .footer-funding{
  color: rgba(15,23,42,0.68);
  line-height: 1.45;
  max-width: 560px;
  margin: 0 auto;
}

/* right column */
.footer.footer--light .footer-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

/* social buttons: light, with colorful ring on hover */
.footer.footer--light .footer-social{ gap: .6rem; }

.footer.footer--light .social-btn{
  width: 42px;
  height: 42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;

  color: rgba(15,23,42,0.78);
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(15,23,42,0.12);
  text-decoration:none;

  box-shadow: 0 10px 26px rgba(15,23,42,0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.footer.footer--light .social-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(15,23,42,0.18);
  box-shadow: 0 14px 34px rgba(15,23,42,0.10);
}

.footer.footer--light .social-btn:hover i{
  /* subtle color pop without hardcoding per-icon */
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer.footer--light .social-btn--img img{
  /* keep the Bluesky svg visible on light button */
  filter: none;
  opacity: .9;
}

/* --- Social Media Icons Styling --- */

/* 1. Default State: Solid Blue */
.footer.footer--light .social-btn i {
  color: var(--brand-blue) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* 2. Hover State: Solid Green */
.footer.footer--light .social-btn:hover i {
  color: var(--brand-green) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  transform: translateY(-3px); /* Optional: a slight lift effect */
}

/* 3. Ensuring the button background doesn't interfere */
.footer.footer--light .social-btn {
  background: rgba(40, 128, 194, 0.05); /* Very light blue background circle */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer.footer--light .social-btn:hover {
  background: rgba(129, 194, 65, 0.1); /* Very light green background circle on hover */
}



/* responsive */
@media (max-width: 992px){
  .footer.footer--light .footer-inner{
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4.4rem;
  }
  .footer.footer--light .footer-right{ justify-content: center; }
  .footer.footer--light .footer-social{ justify-content: center; }
}

/* HERO */
.cx-hero{
  position: relative;
  border-radius: calc(var(--cx-radius) + 6px);
  overflow: hidden;
  padding: 34px 28px;
  margin: 18px 0 18px;
  border: 1px solid var(--cx-border);
  background:
    radial-gradient(1000px 460px at 15% 20%, rgba(var(--cx-green-rgb), .16), transparent 68%),
    rgba(189, 200, 253, 0.316);
  box-shadow: var(--cx-shadow);
}
.cx-hero::after{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.35), transparent 60%),
    conic-gradient(from 180deg,
      rgba(var(--cx-cyan-rgb), .12),
      rgba(var(--cx-green-rgb), .10),
      rgba(var(--cx-amber-rgb), .10),
      rgba(var(--cx-orange-rgb), .10),
      rgba(var(--cx-cyan-rgb), .12)
    );
  filter: blur(28px);
  opacity: .52;
  animation: cxFloat 18s linear infinite;
  pointer-events:none;
}
@keyframes cxFloat{
  0%{ transform: translate3d(-2%, -1%, 0) rotate(0deg); }
  50%{ transform: translate3d(2%, 1%, 0) rotate(180deg); }
  100%{ transform: translate3d(-2%, -1%, 0) rotate(360deg); }
}



.cx-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--cx-border);
  background:rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  color: var(--cx-muted);
  font-weight: 650;
  position:relative;
  z-index:1;
}
.cx-hero h1{
  font-weight: 900;
  letter-spacing:-0.02em;
  margin: 14px 0 8px;
  color: var(--cx-text);
  position:relative;
  z-index:1;
}
.cx-hero p{
  color: var(--cx-muted);
  max-width: 78ch;
  position:relative;
  z-index:1;
  margin-bottom: 12px;
}
.cx-hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  position:relative;
  z-index:1;
    display: flex;
  justify-content: flex-end; 
  gap: 10px;
}

 .cx-btn {
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid var(--cx-border);
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--cx-shadow-soft);
    font-weight: 700;
}
 
.cx-btn:hover{ transform: translateY(-1px); }
 

.cx-btn-blue {
  background-color: #4280c1;
  color: #fff;
}

.cx-btn-green {
  background-color: #86c249;
  color: #fff;
}



.contactx{
  /* --- Logo palette --- */
  --cx-coral: #E95D2F;  --cx-coral-rgb: 233,93,47;
  --cx-orange:#EF8E48;  --cx-orange-rgb:239,142,72;
  --cx-amber: #F6AC21;  --cx-amber-rgb: 246,172,33;
  --cx-olive: #ADB13E;  --cx-olive-rgb: 173,177,62;
  --cx-green: #6BB15B;  --cx-green-rgb: 107,177,91;
  --cx-teal:  #369A97;  --cx-teal-rgb: 54,154,151;
  --cx-cyan:  #0EA4C8;  --cx-cyan-rgb: 14,164,200;

  /* --- Neutrals --- */
  --cx-bg:#f6f9fc;
  --cx-card:rgba(255,255,255,.78);
  --cx-border:rgba(18,38,63,.10);
  --cx-text:#0f172a;
  --cx-muted:rgba(15,23,42,.65);
  --cx-shadow:0 18px 45px rgba(15,23,42,.10);
  --cx-shadow-soft:0 10px 26px rgba(15,23,42,.08);
  --cx-radius:20px;

  /* per-card accent (fallback) */
  --cx-accent: var(--cx-cyan);
  --cx-accent-rgb: var(--cx-cyan-rgb);
}

/* =========================================================
   Home cards: border + lighter background (requested)
   ========================================================= */
.home-panel{
  border-radius: 45px !important;
  border-width: 10px !important;
  border-style: solid !important;
  border-color: color-mix(in srgb, var(--card-bg, rgba(255,255,255,.22)) 78%, white 22%) !important;
  background-color: color-mix(in srgb, var(--card-bg, #ffffff) 86%, white 14%) !important;
}

.home-panel .btn.btn-dark{
  border-radius: 10px !important;
}


/* ===== Explore dropdown: colorful icons ===== */
.site-navbar .dropdown-menu .dropdown-item .explore-ico{
  width: 1.15rem;
  text-align: center;
  opacity: .95;
}

.site-navbar .dropdown-menu .dropdown-item .explore-ico--blue{
  color: var(--brand-blue, #2880c2);
}
.site-navbar .dropdown-menu .dropdown-item .explore-ico--green{
  color: var(--brand-green, #81c241);
}
.site-navbar .dropdown-menu .dropdown-item .explore-ico--orange{
  color: var(--brand-orange, #f79a4a);
}
.site-navbar .dropdown-menu .dropdown-item .explore-ico--red{
  color: var(--brand-red, #ef4b3d);
}

/* Keep icon colors even when Bootstrap marks the item active */
.site-navbar .dropdown-menu .dropdown-item.active .explore-ico{
  color: inherit; /* icon classes below still override via explicit colors */
}
.site-navbar .dropdown-menu .dropdown-item.active .explore-ico--blue{  color: var(--brand-blue, #2880c2); }
.site-navbar .dropdown-menu .dropdown-item.active .explore-ico--green{ color: var(--brand-green, #81c241); }
.site-navbar .dropdown-menu .dropdown-item.active .explore-ico--orange{color: var(--brand-orange, #f79a4a); }
.site-navbar .dropdown-menu .dropdown-item.active .explore-ico--red{   color: var(--brand-red, #ef4b3d); }
