/* Timeline container */
.tlam-timeline {
  border: 1px solid #EAE8E5;
  background: #fff;
  overflow: hidden;
}

/* Each row */
.tlam-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s ease;
}

.tlam-item:last-child {
  border-bottom: none;
}

/* Hover effect */
.tlam-item.unlocked:hover {
  background: #fafafa;
}

/* Content */
.tlam-content {
  flex: 1;
}

.tlam-title {
  font-size: 16px;
  font-weight: 400;
  color:#21201F;
  line-height:24px;
}

.tlam-desc {
  font-size: 16px;
  line-height:24px;
  color: #21201F;
  font-weight: 300;
  margin-bottom:4px;
}

/* Badges */
.tlam-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tlam-badge {
  font-size: 12px;
  line-height:16px;
  font-weight:400;
  color:#21201F;
  display: flex;
  align-items: center;
  column-gap: 6px
  /*padding: 3px 8px;*/
  /*border-radius: 6px;*/
}

.tlam-live {
  /*background: #eef5ff;*/
  /*color: #2563eb;*/
}

.tlam-recorded {
  /*background: #f3f4f6;*/
  /*color: #374151;*/
}

.tlam-locked {
  background: #E9B519;
  color: #21201F;
  font-weight: 400;
  font-size:12px;
  line-height:16px;
  padding:0 6px 1px;
  border-radius:12px;
}

/* Arrow */
.tlam-arrow {
  font-size: 22px;
  color: #544F4F;
}
.tlam-view-all {
  text-align: center;
  margin-top: 20px;
}

.tlam-view-all-btn,
.tlam-view-all-btn:hover,
.tlam-view-all-btn:focus{
  background: transparent;
  color: #AA1E70;
  padding: 10px 18px;
  font-weight: 400;
  font-size:18px;
  line-height:24px;
  cursor: pointer;
  text-decoration:underline;
}

.tlam-view-all-container{
    text-align:end;
    padding-top:24px;
}
.tlam-course-overview {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.tlam-card {
    flex: 1;
    padding: 18px;
    background: #fff;
    border: 1.5px solid transparent;
    border-image: linear-gradient(180deg, #D06496, #1A9DB1) 1;
    position: relative;
}

.tlam-card::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 14px;
    width: 4px;
    height: 44px;
    border-radius: 2px;
}

.tlam-card.assigned::before { background: #0B41CD; }
.tlam-card.in-progress::before { background: #FFC414; }
.tlam-card.completed::before { background: #006D5E; }

.tlam-card .label {
    display: block;
    font-size: 16px;
    line-height:24px;
    font-weight:400;
    color: #21201F;
}

.tlam-card .count {
    font-size: 88px;
    font-weight: 300;
    line-height:100px;
    color: #21201F;
}

/*recorded session*/
.tlam-module-grid {
  display: grid;
  grid-template-columns:1fr 1fr 1fr;
  gap: 20px;
}

.tlam-module-card {
  padding: 32px;
  background: #fff;
  border: 1px solid transparent;
  border-image: linear-gradient(180deg, #D06496, #1A9DB1) 1;
  position:relative;
}

.tlam-module-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tlam-module-title {
  background: linear-gradient(90deg,#D06496,#1A9DB1);
  color: #fff;
  padding: 12px 14px;
  border-bottom-right-radius: 11px;
  font-size: 24px;
  font-weight:500;
  line-height:100%;
  position:absolute;
  left:0px;
  top:0px;
}
.tlam-status{
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color:#21201F;
  padding: 0px 6px 2px 6px;
  border-radius: 12px
}

.tlam-status.completed { background-color: #CBEDE8; }
.tlam-status.in-progress { background-color: #E9B519; }
.tlam-status.not-started { background-color: #DBD6D1; }

.tlam-btn,
.tlam-btn:active,
.tlam-btn:focus{
  display: block;
  margin-top: 12px;
  border: 1px solid #AA1E70 !important;
  color: #AA1E70;
  padding: 12px 24px;
  text-align: center;
  background-color:#FFFFFF;
  font-size:18px;
  font-weight:400;
  line-height:24px;
}

.tlam-btn.locked {
  opacity: 0.5;
  cursor: not-allowed;
}
.tlam-not-enrolled {
    border: 1px dashed #e91e63;
    padding: 16px;
    text-align: center;
    border-radius: 6px;
    color: #e91e63;
    background: #fff5f8;
}
.tlam-lesson-title{
font-weight: 400;
font-size: 20px;
line-height: 28px;
letter-spacing: 0px;
color:#21201F;
}
.tlam-date-recorded {
    background-color: #F2D4FF;
    padding: 6px 16px;
    border-radius: 24px;
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
}
/* Date container */
.tlam-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Calendar SVG */
.tlam-date-icon {
    width: 16px;
    height: 16px;
    stroke: #21201F;
    fill: none;
    stroke-width: 1.5;
}

/* Text wrapper */
.tlam-date-text {
    font-size: 14px;
    font-weight: 400;
    color: #21201F;
    white-space: nowrap;
}

/* Date column */
/*.tlam-date-dashboard {
  width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.tlam-date-dashboard .day {
  font-size: 20px;
  font-weight: 500;
  color:#21201F;
  line-height:17.92px;
}*/
.tlam-date-dashboard .day {
  font-size: 20px;
  font-weight: 500;
  color: #21201F;
  line-height: 1.1;
  display: flex;
  flex-direction: column; 
}
.tlam-date-dashboard .month {
  font-size: 16px;
  font-weight: 200;
  color:#21201F;
  line-height:15.36px;
}
.tlam-topic-heading{
   font-weight: 400;
   font-size: 24px;
   line-height: 32px;
   color:#544F4F;

}
@media (max-width: 768px) {
    .tlam-module-grid{
        grid-template-columns:1fr;
    }
    .tlam-course-overview{
        flex-direction:column;
    }
}
.tlam-calendar {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
}
/* ===== TOOLBAR WRAPPER ===== */
.fc .fc-toolbar {
    gap: 12px;
}

/* ===== SEGMENTED VIEW BUTTONS ===== */
.fc .fc-button-group {
    border: 1px solid #9D948E;
    border-radius: 4px;
    overflow: hidden;
}

.fc .fc-button-group .fc-button {
    background: #fff;
    border: 0;
    color: #21201F;
    font-size: 16px;
    font-weight:400;
    line-height:24px;
    padding: 6px 14px;
    border-radius: 0;
    box-shadow: none;
}

.fc .fc-button-group .fc-button:not(:last-child) {
    /*border-right: 1px solid #ec4899;*/
}

/* Active tab */
.fc .fc-button-group .fc-button.fc-button-active {
    background:#FFF ;
    color: #AA1E70;
}

/* Remove focus/hover noise */
.fc .fc-button:focus,
.fc .fc-button:hover {
    box-shadow: none;
}
.fc .fc-toolbar{
    justify-content:flex-start !important;
}
/* ===== MONTH TITLE (DROPDOWN LOOK) ===== */
.fc .fc-toolbar-title {
    border: 1px solid #9D948E;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 300;
    color: #21201F;
    line-height:24px;
}

/* ===== PREV / NEXT BUTTONS ===== */
.fc .fc-prev-button,
.fc .fc-next-button {
    background: #fff;
    border: 1px solid #ec4899;
    color: #ec4899;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
}

/* Remove default icon styling */
.fc .fc-button .fc-icon {
    font-size: 14px;
}

/* ===== TODAY BUTTON (IF USED) ===== */
.fc .fc-today-button {
    background: #fff;
    border: 1px solid #ec4899;
    color: #ec4899;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
}

/*event*/
/* ===== CALENDAR LAYOUT ===== */
.fc {
    font-family: Inter, system-ui, sans-serif;
}

.fc .fc-toolbar-title {
    font-size: 16px;
    font-weight: 600;
}

/* ===== BUTTONS ===== */
.fc .fc-button {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
}

.fc .fc-button.fc-button-active {
    background: #fde7f3;
    border-color: #ec4899;
    color: #be185d;
}

/* ===== DAY CELLS ===== */
.fc .fc-daygrid-day {
    border: 1px solid #f1f1f1;
}

.fc .fc-daygrid-day-number {
    font-size: 14px !important;
    color: #21201F !important;
    font-weight:300;
    line-height:20px;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th
{
    background:#FBFBFA;
}
.fc .fc-col-header-cell-cushion{
    font-size:14px;
    font-weight:400;
    line-height:20px;
    color:#21201F !important;
}

/* ===== EVENT STYLE (MATCHING IMAGE) ===== */
.fc .fc-daygrid-event{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 2px solid #ec4899;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px !important;
    font-weight:400;
    color: #21201F !important;
    box-shadow: 0px 2px 4px 0px #544F4F29;
}
.fc-timegrid-event{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 2px solid #ec4899;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px !important;
    font-weight:400;
    color: #21201F !important;
    box-shadow: 0px 2px 4px 0px #544F4F29;
}

/* Event text */
.fc .fc-event-title {
    font-weight: 500;
    color: #21201F;
}

/* ===== "+ MORE" LINK ===== */
.fc .fc-daygrid-more-link {
    color: #ec4899;
    font-size: 12px;
    font-weight: 500;
}


/* ===== TODAY CELL ===== */
.fc .fc-day-today {
    background: #fff7ed !important;
}

/* ===== REMOVE DOT EVENTS ===== */
.fc-daygrid-dot-event .fc-event-title {
    padding-left: 0;
}

.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child){
    margin-left:0px !important;
}
.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {
    border-right:1px solid #9D948E;
}

.fc-mobile-view-select {
    display: none;
    padding: 6px 14px;
    font-size: 16px;
}
.fc-direction-ltr .fc-toolbar > * > :not(:first-child){
    margin-left:0px !important;
}
@media (max-width: 768px) {
    .fc-mobile-view-select {
        display: inline-block;
    }
}
/* Outer hero */
.tlam-hero {
    width: 100%;
   background: linear-gradient(180deg, rgba(208, 100, 150, 0.1) 0%, rgba(26, 157, 177, 0.1) 100%);
    padding: 80px 0;
}

/* Inner container */
.tlam-hero-inner {
    margin: 0 auto;
    padding: 0 96px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* Left content */
.tlam-hero-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 56px;
    margin-bottom: 16px;
    color: #21201F;
}

.tlam-hero-desc {
    font-size: 20px;
    line-height: 32px;
    color: #21201F;
    margin-bottom: 16px;
}

/* Button */
.tlam-hero-btn,.tlam-hero-btn:hover {
    display: inline-block;
    background: #AA1E70;
    color: #fff;
    padding: 6px 26px;
    font-size: 16px;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.25s ease;
    font-weight:400;
    line-height:24px;
}

.tlam-hero-btn:hover {
    background: #8d0057;
}

/* Right media */
.tlam-hero-media {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 4px;
    overflow: hidden;
}

.tlam-hero-media iframe,
.tlam-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width: 768px) {
    .tlam-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    padding: 0 16px;

    }

    .tlam-hero-title {
        font-size: 32px;
    }

    .tlam-hero {
        padding: 50px 0;
    }
}

/* Parent row container */
.tlam-topics-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
/* Default topic = full row */
.block-topic {
    flex: 0 0 100%;
}
/* Single-lesson topics share row */
.inline-topic {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
}
/* Card fills topic */
.inline-topic .tlam-module-card {
    width: 100%;
}
/* Prevent grid inside inline topics */
.inline-topic .tlam-module-grid {
    display: block;
}
@media (max-width: 1024px) {
    .inline-topic {
        flex: 0 0 calc(50% - 12px); /* 2 in a row */
        max-width: calc(50% - 12px);
    }
}
@media (max-width: 640px) {
    .inline-topic {
        flex: 0 0 100%; /* 1 in a row */
        max-width: 100%;
    }
}
.fc-v-event .fc-event-main {
     color: #21201F !important;
     font-size: 12px !important;
}




.tlam-lesson {
  font-size: 14px;
  opacity: 0.9;
}
.tlam-date-dashboard {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 6px;
  align-items: start;
  width: 60px;
  flex-shrink: 0;
}
.tlam-toggle {
  grid-row: span 2; 
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  margin-top: 2px;
}
.tlam-toggle-spacer {
  width: 16px; /* keeps alignment for items without lessons */
}
.tlam-lessons {
  margin-left: 28px; /* align with content, not date */
}
.tlam-lesson .tlam-date-dashboard {
  grid-template-columns: 60px; /* no toggle column */
}