/* ═══════════════════════════════════════════════════════════════
   Hub Comparison Widget — Frontend Styles  v1.2.0
   Scoped under .hubspot__tabbing--wrapper to prevent conflicts
═══════════════════════════════════════════════════════════════ */

.hubspot__tabbing--wrapper *,
.hubspot__tabbing--wrapper *::before,
.hubspot__tabbing--wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── SECTION WRAPPER ─── */
.hubspot__tabbing--wrapper .hub-section {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* ─── TAB NAVIGATION ─── */
.hubspot__tabbing--wrapper .tabs-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  width: fit-content;
  margin-bottom: 0;
}

.hubspot__tabbing--wrapper .tab-btn {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  padding: 15px;
  border-radius: 15px;
  background: #F9F9F9;
  color: #152638;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 140%;
  border: none;
  outline: none;
  box-shadow: none;
}

.hubspot__tabbing--wrapper .tab-btn.active {
  background: #FF4800;
  color: #ffffff;
}

/* ─── TAB CONTENT WRAPPER ─── */
.hubspot__tabbing--wrapper .tabs-content {
  background: #F9F9F9;
  border-radius: 30px;
  padding: 25px;
  width: 100%;
  position: relative;
}
.hubspot__tabbing--wrapper .tabs-content::before {
    content: "";
    background-image: url("https://trooinbound.troothemes.com/wp-content/uploads/2026/03/newsletter-shape-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 87px;
    height: 46px;
    display: block;
    position: absolute;
    top: 0px;
    right: 120px;
    z-index: 1;
}

/* ─── TAB PANELS ─── */
.hubspot__tabbing--wrapper .tab-panel {
  display: none;
  gap: 30px;
  transition: 0.4s all;
}

.hubspot__tabbing--wrapper .tab-panel.active {
  display: flex;
}

/* ─── LEFT COLUMN ─── */
.hubspot__tabbing--wrapper .left-col {
    width: 100%;
    max-width: calc(50% - 15px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

/* ─── HUB TIER BOX ─── */
.hubspot__tabbing--wrapper .hub-tier-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 2px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #F0F0F0;
}

.hubspot__tabbing--wrapper .hub-tier-title {
    font-size: 18px;
    font-weight: 600;
    color: #1C1C2E;
    text-transform: uppercase;
    font-family: 'Outfit';
    line-height: 130%;
    margin-bottom: 18px;
}

/* ─── PROGRESS ITEM ─── */
.hubspot__tabbing--wrapper .progress-item {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hubspot__tabbing--wrapper .progress-item-label {
    font-size: 16px;
    font-weight: 600;
    color: #152638 !important;
    font-family: 'Inter';
}

/* ─── PROGRESS BAR TRACK ─── */
.hubspot__tabbing--wrapper .progress-track {
    position: relative;
    height: 21px;
    background: rgba(244, 244, 244, 0.7) !important;
    border-radius: 5px;
    overflow: visible;
    border-top: 2px solid #dadada !important;
}

/*
 * CHANGED: Tick marks — 14 vertical lines with 37px gap between each.
 * Uses pixel-based repeating-linear-gradient so spacing is always
 * exactly 37px regardless of the bar's rendered width.
 * 14 lines create 15 equal segments of 37px each.
 * The 1px white line sits at every 37px interval.
 */
.hubspot__tabbing--wrapper .progress-track::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: repeating-linear-gradient(
    to right,
    transparent        0px,
    transparent        36.5px,
    rgba(255,255,255,0.4) 36.5px,
    rgba(255,255,255,0.4) 37.5px,
    transparent        37.5px
  );
  pointer-events: none;
  z-index: 3;
}

/* ─── PROGRESS FILL ─── */
.hubspot__tabbing--wrapper .progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  border-radius: 5px;
  /* Fallback gradient — overridden by scoped <style> in render() */
  background: linear-gradient(270deg, #FF7037 -7.79%, #FF4800 100%);
  z-index: 1;
}

/* ─── PROGRESS THUMB / HANDLE ─── */
.hubspot__tabbing--wrapper .progress-thumb {
    position: absolute;
}

/* Downward triangle tip on thumb */
.hubspot__tabbing--wrapper .progress-thumb::after {
    content: '';
    background-image: url("https://trooinbound.troothemes.com/wp-content/uploads/2026/03/handler.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 19px;
    height: 30px;
    display: block;
    position: absolute;
    top: -5px;
    left: -10px;
    z-index: 10;
}

/* ─── HOURS LABEL ─── */
.hubspot__tabbing--wrapper .progress-hours-row {
  position: relative;
  height: 22px;
}

.hubspot__tabbing--wrapper .progress-hours {
  position: absolute;
  left: 0%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #FF4800;
  white-space: nowrap;
  font-family: 'Inter';
  margin-left: 0;
}

/* ─── NOTE ─── */
.hubspot__tabbing--wrapper .tabs-content .tab-panel p.note-text {
    font-family: Inter;
    font-weight: 400;
    font-style: Italic;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    margin-top: -15px;
}

/* ─── RIGHT COLUMN ─── */
.hubspot__tabbing--wrapper .right-col {
    width: 100%;
    max-width: calc(50% - 15px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.hubspot__tabbing--wrapper .hub-title {
  font-size: 28px;
  font-weight: 700;
  color: #1C1C2E;
  line-height: 1.2;
}

.hubspot__tabbing--wrapper .hub-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
}

.hubspot__tabbing--wrapper .hub-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}

.hubspot__tabbing--wrapper .hub-bullets li {
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
}

.hubspot__tabbing--wrapper .hub-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #FF4800;
  border-radius: 50%;
  margin-top: 7px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hubspot__tabbing--wrapper .tab-panel.active { flex-direction: column; }
  .hubspot__tabbing--wrapper .left-col,
  .hubspot__tabbing--wrapper .right-col        { width: 100%; max-width: 100%; }
  .hubspot__tabbing--wrapper .left-col{ gap: 15px;}
  .hubspot__tabbing--wrapper .tabs-content .tab-panel p.note-text{ margin-top: 0px;}
  .hubspot__tabbing--wrapper .tabs-nav         { overflow: auto; align-items: flex-start; width: 100%; scrollbar-width: 0px;}
  .hubspot__tabbing--wrapper .tabs-content::before{ display: none;}
}
