/* My Videos Styles */
.my-videos {
  padding: 50px 20px;
}

.trial-access-info {
  background: #f8f9fa;
  border-left: 4px solid #007cba;
  padding: 15px;
  margin-top: 20px;
  border-radius: 4px;
}

.trial-access-info i {
  margin-right: 8px;
  color: #007cba;
}

/* Trial content indicators */
.product-trial-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-trial-expiry {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 10px;
  z-index: 10;
}

/* Product item styling for trial content */
.product.trial-content {
  position: relative;
  opacity: 0.9;
}

.product.trial-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px dashed #007cba;
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

.product.trial-content .product-title {
  color: #007cba;
}

/* Trial filter styling */
.trial-filter-active {
  background: #007cba !important;
  color: white !important;
}
.my-videos .products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.my-videos .product-item {
  flex: 0 0 calc(25% - 15px);
  min-width: 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.my-videos .product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.my-videos .product-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.my-videos .product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.my-videos .product-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.my-videos .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.my-videos .product-image:hover .play-overlay {
  opacity: 1;
}

.my-videos .product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.my-videos .product-title-link {
  text-decoration: none;
  color: inherit;
}

.my-videos .woocommerce-loop-product__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.3;
  color: #333;
}

.my-videos .product-description {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 15px;
  flex: 1;
}

.my-videos .product-meta {
  margin-bottom: 15px;
}

.my-videos .meta-row {
  margin-bottom: 8px;
  font-size: 14px;
}

.my-videos .meta-label {
  font-weight: 600;
  color: #333;
}

.my-videos .product-level {
  /* color: #007cba; */
  font-weight: 500;
}

.my-videos .product-tutor {
  color: #666;
}

.my-videos .product-evolution {
  color: #666;
}

.my-videos .product-instrument {
  color: #666;
}

.my-videos .product-progress {
  margin-top: 10px;
}

.my-videos .progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 12px;
}

.my-videos .progress-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.my-videos .progress-fill {
  height: 100%;
  background: #007cba;
  transition: width 0.3s ease;
}

.my-videos .product-actions {
  margin-top: auto;
}

.my-videos .view-level-btn {
  display: inline-block;
  /* background: #007cba; */
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  background-color: #D8042A !important;
}

.my-videos .view-level-btn:hover {
  /* background: #005a87; */
  color: #D8042A !important;
  background-color: #e9e6ed !important;
}

/* Responsive design */
@media (max-width: 1200px) {
  .my-videos .product-item {
    flex: 0 0 calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  .my-videos .product-item {
    flex: 0 0 calc(50% - 10px);
    min-width: 250px;
  }
}

@media (max-width: 500px) {
  .my-videos .product-item {
    flex: 0 0 100%;
  }

  .my-videos .products {
    gap: 15px;
  }
}

/* No products message styling */
.my-videos .no-products-message {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px 20px;
}

/* Debug info styling */
.my-videos .debug-info {
  background: #f0f0f0;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #007cba;
  font-family: monospace;
  font-size: 12px;
}

/* Filter styling improvements */
.my-videos .product-filters {
  align-items: center;
}

.my-videos .filter-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 14px;
}

.my-videos .filters-list {
  min-height: 20px;
}

/* Level Player Page Styling */
.level-player-page {
  background: #fff;
}

.level-player-page .video-container {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  /* background: #000; */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* min-height: 400px; */
}

.level-player-page .video-info {
  margin-top: 30px;
}

.level-player-page .parts-navigation {
  margin-top: 50px;
}

.level-player-page .parts-list .part-item {
  margin-bottom: 15px;
}

.level-player-page .parts-list .part-item a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.level-player-page .parts-list .part-item:not(.active) a {
  background: #f5f5f5;
  color: #333;
}

.level-player-page .parts-list .part-item.active a {
  background: #007cba;
  color: white;
}

.level-player-page .parts-list .part-item:not(.active):hover a {
  background: #e0e0e0;
}

.level-player-page .part-number {
  background: rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.level-player-page .part-item.active .part-number {
  background: rgba(255, 255, 255, 0.3);
}

.level-player-page .part-info {
  flex: 1;
}

.level-player-page .part-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.level-player-page .part-duration {
  font-size: 12px;
  opacity: 0.7;
}

.level-player-page .sidebar {
  width: 100%;
}

.level-player-page .progress-widget,
.level-player-page .level-info {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.level-player-page .progress-bar {
  background: #e0e0e0;
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
  margin: 10px 0;
}

.level-player-page .progress-fill {
  background: #007cba;
  height: 100%;
  transition: width 0.3s ease;
}

.level-player-page .info-item {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}

.level-player-page .info-item .label {
  font-weight: 600;
  color: #222;
}

.level-player-page .progress-text {
  color: #333;
}

.level-player-page h4 {
  color: #222;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .level-player-page .cols-70-30 {
    flex-direction: column;
    gap: 0;
  }

  .level-player-page .sidebar {
    margin-top: 2rem;
  }

  .level-player-page > section {
    padding-block: 20px;
  }
}

/* Utility classes to ensure styling works */
/* .space {
  padding-left: 20px;
  padding-right: 20px;
}

.space.left {
  padding-left: 20px;
}

.space.right {
  padding-right: 20px;
} */

.pb-100 {
  padding-bottom: 100px;
}

.py-30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-50 {
  margin-top: 50px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.text-32 {
  font-size: 32px;
}

.text-24 {
  font-size: 24px;
}

.text-20 {
  font-size: 20px;
}

.text-18 {
  font-size: 18px;
}

.font-700 {
  font-weight: 700;
}

.font-600 {
  font-weight: 600;
}

.gap-120 {
  gap: 120px;
}

.gap-15 {
  gap: 15px;
}

.gap-10 {
  gap: 10px;
}

.items-center {
  align-items: center;
}

.w-full {
  width: 100%;
}

.p-15 {
  padding: 15px;
}

.p-20 {
  padding: 20px;
}

.rounded-10 {
  border-radius: 10px;
}

.bg-light {
  background-color: #ffffff !important;
  border: 1px solid #e0e0e0;
}

.bg-primary {
  background-color: #007cba;
}

.text-white {
  color: white;
}

.c-greyBlack {
  color: #333;
}

.d-inline-block {
  display: inline-block;
}

.title {
  color: #333;
  line-height: 1.2;
}
