/* Container */
.bcf-container {
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

/* Filters */
.bcf-filters {
  margin-bottom: 15px;
  text-align: center;
}
.bcf-filter-btn {
  background: #f5f5f5;
  border: 1px solid #ccc;
  margin: 3px;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
}
.bcf-filter-btn.active {
  background: #ed4554;
  color: #fff;
  border-color: #ed4554;
}

/* Result items */
.bcf-results {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.bcf-play-count {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}


.bcf-item {
  display: flex;
  align-items: flex-start;
  background: #fff8f2;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Keep thumbnail + info in row */
/* Keep thumbnail + info in row */
.bcf-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.bcf-thumbnail {
  position: relative;
  width: 100%;           /* takes full available width */
  max-width: 150px;      /* adjust thumbnail size */
  aspect-ratio: 1 / 1;   /* ✅ always a square */
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Play icon centered and visible */
/* Play icon centered and visible */
.bcf-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.bcf-play-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(1.1);
}
/* Buttons below thumbnail */
/* Buttons appear BELOW the info text */
.bcf-buttons {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.bcf-download,
.bcf-upgrade-btn {
  display: inline-flex;
  align-items: center;
  background: #ed4554;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.bcf-download:hover,
.bcf-upgrade-btn:hover {
  opacity: 0.85;
}
.bcf-download-icon {
  margin-right: 6px;
}

.bcf-share-buttons {
  display: flex;
  gap: 6px;
}
.bcf-share-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  padding: 15px 12px;
}
.bcf-share-btn.facebook { color: #3b5998; }
.bcf-share-btn.twitter { color: #000; }

/* Ensure info block doesn’t shrink */
.bcf-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* Title and categories */
.bcf-title-row {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 4px;
}

.bcf-info h4 {
  font-size: 16px;
  font-weight: 600;   /* bold */
  color: #444444;        /* white text */
  margin: 0 0 4px;
}
.bcf-info .bcf-categories {
  font-size: 14px;
  color: #565656;        
  margin: 0;
  line-height: 1.6;   /* ✅ adds spacing between lines */
}
/* Mobile adjustments */
@media (max-width: 600px) {
  .bcf-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .bcf-left {
    margin-right: 0;
    margin-bottom: 10px;
    align-items: flex-start;
  }
  .bcf-thumbnail {
    width: 100%;
    height: 160px;
  }
  .bcf-buttons {
    justify-content: flex-start;
  }
  .bcf-info {
    width: 100%;
  }
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .bcf-left {
    align-items: flex-start; /* keep thumb + info top aligned */
  }

  .bcf-thumbnail {
    width: 80px;
    height: 80px;
  }

 .bcf-info h4 {
    font-size: 20px;
    font-weight: 700; /* stronger bold */
    color: #444444;
  }
    .bcf-info .bcf-categories {
    font-size: 15px;  
    color: #565656;
    line-height: 1.6; /* ✅ keep spacing on mobile too */
  }
  
  bcf-categories {
    font-size: 14px;
  }

  .bcf-buttons {
    margin-top: 6px;
    justify-content: flex-start; /* left aligned buttons */
  }
}
/* Remove underline from download & share links */
.bcf-download,
.bcf-upgrade-btn,
.bcf-share-btn {
  text-decoration: none !important;
}

/* Optional: on hover, still no underline */
.bcf-download:hover,
.bcf-upgrade-btn:hover,
.bcf-share-btn:hover {
  text-decoration: none !important;
}
/* === Mini Player (under thumbnail) === */
.bcf-player {
  background: rgba(0, 0, 0, 0.75);   /* semi-transparent black */
  padding: 6px 8px;
  border-radius: 0 0 8px 8px;        /* rounded bottom corners */
  margin-top: -6px;                  /* tuck closer to thumbnail */
  display: none;                     /* hidden by default */
  transition: all 0.3s ease;
}

.bcf-progress-bar {
  width: 100%;
  height: 5px;
  background: #333;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
  cursor: pointer;
}

.bcf-progress {
  height: 100%;
  width: 0%;
  background: #ed4554;               /* match download button red */
  transition: width 0.15s linear;
}

.bcf-time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #fff;
  font-family: monospace;
}

/* Mobile tweaks for mini player */
@media (max-width: 600px) {
  .bcf-player {
    padding: 5px 6px;
  }
  .bcf-time {
    font-size: 11px;
  }
}
