.goal-module.people-management-pg.scroll-section{
  max-width: unset;
}
.home-section-teams .team-custom-tabinations .custom-tabs-body-left.goal-management-tab .body-left-content .teams-subheading{
    position: relative;
    padding: 0 30px 20px 40px;
}
.home-section-teams .team-custom-tabinations .custom-tabs-body-left.goal-management-tab .body-left-content .teams-subheading::before{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    background-image: url('../../img/star.svg');
    background-size: cover;
    background-repeat: no-repeat;
}
.home-section-teams .team-custom-tabinations .custom-tabs-body-left.goal-management-tab .body-left-content{
    padding: 30px 0 0 0;
    border-top: 1px solid rgba(224, 228, 237, 0.65);
}
.home-section-teams .team-custom-tabinations .custom-tabs-body-left.goal-management-tab .body-left-content:first-child{
    border-top: none;
}
@media (max-width: 767px) and (min-width: 320px) {
    .home-section-teams .team-custom-tabinations .custom-tabs-body-left.goal-management-tab .body-left-content:first-child{
        padding-top: 0;
    }
    .home-section-teams .team-custom-tabinations .custom-tabs-body.goal-module-tab{
        margin-top: 0;
    }
}

/*Tab Section Shortcode css*/
 .goal-tracking-wrapper{
  color:rgba(255, 255, 255, 1);
  font-family:Inter;
}

/* Grid: left list + right desktop content */
.goal-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:start;
}

/* left list */

/* goal item */
.goal-item{ 
  margin-bottom:18px; position:relative; 
  max-width: 545px;
  }

/* tab */
.goal-tab{
  display:flex;
  align-items:center;
  padding:20px;
  line-height: 32px;
  cursor:pointer;
  font-weight:600;
  gap: 20px;
}
.goal-tab .icon{ 
  width: 50px; height:50px; border-radius:50%; 
  z-index: 1;
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  background: rgba(82, 73, 145, 1); 
  font-size:16px; 
}

.goal-tab.active .icon{
  background: rgba(63, 53, 133, 1);
}

.goal-tab.active{
  background: rgba(82, 73, 145, 1);
  position:relative;
  z-index:2;
  border-radius: 20px;
}
.goal-tab.active::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px; /* border thickness */
  background: linear-gradient(180deg, #0042F9 0%, #00B5E2 25%, #A8E665 50%, #EC5AFE 75%, #FFB81C 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.3s ease;
}
.goal-item:last-child::before{
  content: none;
}
.goal-tab .label{
  font-family: Inter;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0px;
}
/* dotted connector line (desktop visual) - only on desktop */
.goal-item::before{
  content:'';
  position:absolute;
  left:45px;
  top:64px;
  bottom:-10px;
  width:2px;
  background: url('../svg/goal-chain-line.svg');
  display:block;
  height: 100%;
}

.goal-title{
  display: flex;    
  align-items: center;    
  gap: 20px;
  z-index: 1;
}

/* panel (mobile usage) */
.goal-panel{
  display:none;
  margin-top:10px;
  padding:16px;
  color:#e6e6ff;
}

/* desktop content area */
.goal-desktop-content { 
  display:block;
}
.goal-desktop-content .desktop-panel{
  display: flex;
  flex-direction: column;
  gap: 94px;
  padding: 20px 0;
  max-width: 645px;
}
.goal-desktop-content .desktop-panel .content-wrapper{
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.goal-desktop-content .desktop-panel span{ 
  color:#fff; font-family: Inter;
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 0px;
}
.goal-desktop-content .desktop-panel p{ 
  color:#fff;
  font-family: Inter;
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0px;
}

/* ===== MOBILE: stack and make accordion ===== */
@media (max-width:1024px){
  .goal-title {
    z-index: 1;
    position: relative;
  }
  .goal-list{
    width: 100%;
  }
  .goal-item{
    max-width: unset;
  }
  .goal-grid{ grid-template-columns: 1fr; }
  .goal-desktop-content{ display:none; } /* hide the right column on mobile */

  /* show panels in normal flow (accordion) */
  .goal-panel{ display:none; }        /* default closed; JS toggles .active */
  .goal-panel.active{ display:flex!important; flex-direction: column; gap: 30px;}

  .goal-panel.active .content-wrapper span{
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
  }
  .goal-panel.active .content-wrapper p{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #fff;
  }
  .goal-item::before{
    left: 40px;
  }

  .goal-tab{ padding:12px 14px; border-radius:10px; display: block;}
  .goal-tab .label{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    vertical-align: super;
    padding-left: 20px;
  }
}
/*Tab Section Shortcode css End*/