/* ============================================================
   Engine Portal — site-wide styles
   Served from Railway. Embed in Webflow via:
   <link rel="stylesheet" href="https://hubspot-apis-production.up.railway.app/styles.css">
   ============================================================ */

/* Pitch deck loading spinner */
@keyframes deck-spin {
  to { transform: rotate(360deg); }
}
.series-filter-button {
  .content-button {
    opacity: 0;
    position: relative;
    top: 5px;
    transition: all 0.3s;
  }
}
.card:hover .series-filter-button {
  opacity: .4;
  transition: all 0.3s;
  &.active {
    opacity: 1 !important;
  }
}
.card:hover .series-filter-button:hover {
  opacity: 1;  
  transition: all 0.3s;
  .content-button {
    opacity: 1;
    position: relative;
    top: 0;
  }
}
/* ── Flash of unpopulated content prevention ────────────────────────────────
   Scripts add portal-loading to <body> synchronously on load.
   The .center container fades in once data is ready.
   ─────────────────────────────────────────────────────────────────────────── */
body.portal-loading .center {
  opacity: 0;
  pointer-events: none;
}
.center {
  transition: opacity 0.3s ease;
}


.company-wrapper.list {
  grid-column: 1 / -1;
}
.mentors.list-view {
  gap: 0 !important;
}

#teams-modal-card {
  background-color: #fff;
  width: 100%;
  color: #000;
  border: 1px solid #000;
  * {
    color: #000;
  }
}

/* ── Calendar dropdown ───────────────────────────────────────────────────── */
.cal-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.cal-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  min-width: 180px;
  z-index: 9999;
  overflow: hidden;
}
.cal-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: #000 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s;
}
.cal-dropdown-item:hover {
  background: rgba(0,0,0,0.05);
}
.cal-dropdown-item + .cal-dropdown-item {
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* ── Portal tooltip ──────────────────────────────────────────────────────── */
#portal-tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.82);
  color: #fff !important;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.5;
  max-width: 240px;
  pointer-events: none;
  z-index: 99999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
#portal-tooltip.visible {
  visibility: visible;
  opacity: 1;
}

#mentor-modal-card {
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  * {
    color: #000;
  }
  .next-prev-wrapper {
    width: 100%;
    justify-content: space-between;
  }
  .arrow:hover {
    cursor: pointer;
  }
}
table {
  font-family: Neue Haas, Arial, sans-serif !important;
}