/* تب‌های مشترک پنل استاد / زبان‌آموز — ظاهر یکسان */
.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
}
.panel-tab {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: 0.15s ease;
  font-family: inherit;
}
.panel-tab:hover { background: #f1f5f9; }
.panel-tab.active {
  background: #0284c7 !important;
  color: #fff !important;
}
.panel-pane {
  display: none !important;
}
.panel-pane.active {
  display: block !important;
}

/* لایت‌باکس تصویر */
.img-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}
.img-lightbox-backdrop img {
  max-width: min(96vw, 900px);
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  cursor: default;
}
.img-zoom {
  cursor: zoom-in;
  transition: transform 0.15s ease;
}
.img-zoom:hover { opacity: 0.95; }

@media (max-width: 640px) {
  .panel-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .panel-tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }
}
