.nav-tabs .nav-link {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.1rem !important;
  padding: 0.5rem 0.8rem !important;
  min-width: 70px !important;
  font-size: 0.92rem !important;
  /* default tab color requested */
  color: #2C3E50 !important;
}
.nav-tabs .nav-link i {
  font-size: 2.1rem !important;
  margin-bottom: 0.1rem !important;
  display: block !important;
}
.nav-tabs .nav-link .tab-label {
  font-size: 1.1rem !important;
  line-height: 1.1 !important;
  margin-top: 0.1rem !important;
  display: block !important;
  text-align: center !important;
  letter-spacing: 0.01em !important;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  /* use Bootstrap info color on active/hover/focus */
  color: var(--bs-info) !important;
}

/* Ensure icons/labels inherit the color */
.nav-tabs .nav-link i,
.nav-tabs .nav-link .tab-label {
  color: inherit !important;
}
/* StudentShow specific styles */


.studentshow-person-icon {
  font-size: 6rem;
  margin-right: 2rem;
}
.lessonplan-header-badge {
background: transparent !important;
color: var(--bs-secondary) !important;
border: 1px solid var(--bs-secondary) !important;
transition: color 0.3s, border-color 0.3s !important;
}
.lessonplan-header-badge i,
.lessonplan-header-badge strong {
color: inherit !important;
transition: color 0.3s;
}
/* Only apply hover styles if accordion is not active (collapsed) */
.lessonplan-header-btn:not([aria-expanded="true"]):hover .lessonplan-header-badge {
color: #fff !important;
border-color: #fff !important;
}
.lessonplan-header-btn:not([aria-expanded="true"]):hover .lessonplan-header-badge i,
.lessonplan-header-btn:not([aria-expanded="true"]):hover .lessonplan-header-badge strong {
color: #fff !important;
}

@media (max-width: 576px) {
    .lessonplan-header-btn {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    .lessonplan-header-badge {
        display: block !important;
        margin-bottom: 0.5rem !important;
        text-align: left !important;
    }
    .lessonplan-header-badge:last-child {
        margin-bottom: 0 !important;
    }
    .studentshow-person-icon {
    font-size: 4.5rem;
    margin-right: 1rem;
    }
    .lesson-col-teacher,
    .lesson-col-price,
    .lesson-col-payment,
    .lesson-col-original-date {
    display: none;
  }

  /* Make tab headers smaller on mobile */
  .nav-tabs {
    font-size: 0.95rem !important;
  }
  .nav-tabs .nav-link {
    padding: 0.35rem 0.6rem !important;
    font-size: 0.95rem !important;
    min-width: 60px !important;
  }
  .nav-tabs .nav-link {
    border-radius: 0.3rem !important;
  }

  /* Mobile Bottom Navigation Bar Customization */
  .studentshow-bottom-nav {
    height: 80px !important;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  }
  .studentshow-bottom-nav .d-flex {
    height: 100% !important;
  }
  .studentshow-bottom-nav-link {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #2C3E50;
    font-size: 0.8rem;
    height: 100%;
    padding: 0;
    transition: color 0.2s;
  }
  .studentshow-bottom-nav-link i {
    font-size: 2.1rem !important;
    margin-bottom: 0.1rem;
    display: block;
  }
  .studentshow-bottom-nav-link span {
    font-size: 0.68rem !important;
    line-height: 1.1;
    margin-top: 0.1rem;
    display: block;
    text-align: center;
    letter-spacing: 0.01em;
  }
  .studentshow-bottom-nav-link.active,
  .studentshow-bottom-nav-link:focus,
  .studentshow-bottom-nav-link:hover {
    color: var(--bs-info) !important;
  }
  /* Constrain the first chunk (prev/next + today) */
  .fc .fc-header-toolbar .fc-toolbar-chunk:first-child {
    max-width: 100px;
    flex: 0 1 100px; /* don’t grow, allow shrink up to 100px basis */
    overflow: hidden; /* prevent spillover */
  }
}