.academy-enroll-button {
  padding: 7px 24px;
  font-size: 16px;
  font-weight: bold;
  background: #1FB6B2;
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 5px;
}

.academy-enroll-button:hover {
  background: #1FB6B2;
  color: #fff;
}

.program-enrolled {
  font-weight: 600;
  color: #2e7d32;
}

.academy-enroll-message {
  margin-top: 10px;
  color: #b00020;
}

.program-enrolled {
  font-weight: 600;
  color: #2e7d32;
}

.program-enrolled-wrapper {
  margin-top: 16px;
}

.program-progress-main {
  margin: 20px 0;
}

.program-progress-bar {
  width: 200px;
  height: 6px;    
  background: #eee; 
  border-radius: 4px;
  overflow: hidden;
}

.program-progress-bar span {
  display: block;          
  height: 100%;             
  width: 0;
  background: #1FB6B2;    
  transition: width .3s ease;
}


.academy-leave-program-button {
  margin-top: 12px;
  background: #7a0000;
  color: #fff;
  padding: 10px 18px;
  border: 0;
  cursor: pointer;
}

.academy-leave-program-button:hover {
  background: #5c0000;
}


.program-week.locked {
  opacity: 0.4;
}

.program-week.locked h3 {
    color: #fff;
}

.program-week.unlocked {
  margin-bottom: 24px;
}

.program-sessions {
  list-style: none;
  padding-left: 0;
}

.program-session {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.program-session-title {
    color: #1fb6b2;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.program-week-title {
    color: #fff;
}

/* =========================
   WEEK TABS
========================= */

.program-week-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 3px solid #1fb6b2;
  font-size: 1.5em;
}

.program-week-tab {
  padding: 5px 15px;
  cursor: pointer;
  font-weight: 600;
  background: none;
}

.program-week-tab.active {
  background: #15908c;
}


.program-week-tab.locked {
  opacity: 0.4;
  cursor: not-allowed;
  background: #7a7f857a;
}

/* =========================
   PANELS
========================= */

.program-week-panel {
  display: none;
}

.program-week-panel.active {
  display: block;
}

.program-week-panel.locked {
  opacity: 0.6;
}

.week-locked-msg {
  font-style: italic;
}

.program-session-video {
  padding: 8px;
  background: #15908c;
  border-radius: 12px;
}

.academy-mark-session-complete {
    background: #15908c;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin-top: 2em;
}

.session-complete-label {
    background: #15908c;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    margin-top: 2em;
    width: fit-content;
}


/* Small Screens */
.program-session-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.program-session-video {
  order: 2;
}

.program-session-text {
  order: 1;
}

.program-session-video video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .program-session-video video {
    max-width: 100%;
    max-height: 400px;
  }

  .program-week-tabs {
    font-size: 1.2em;
}
.program-session-text {
  text-align: center;
}
}



/* Large Screens */
@media (min-width: 769px) {

  .program-session-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }

  .program-session-text {
    order: 1;
  }

  .program-session-video {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  }

  .program-session-video video {
  width: 100%;
  max-width: 480px;   
  max-height: 360px;    
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}
}
