/* Instagram Photo Selection Styles */
.photo-container {
  height: 95px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make entire container clickable */
.photo-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
}

/* Round selection buttons */
.photo-checkbox {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 10;
}

.photo-checkbox input[type="checkbox"] {
  display: none;
}

.photo-checkbox label {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #932df2;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}



.photo-checkbox label:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.photo-checkbox label:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #932df2;
  opacity: 0;
  transition: all 0.2s;
}

.photo-checkbox input[type="checkbox"]:checked + label:after {
  opacity: 1;
}

/* Like and play counts */
.photo-likes-count, .photo-play-count {
  position: absolute;
  color: white;
  padding: 3px 8px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 6;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

/* Only apply background to play count, not likes count */
.photo-play-count {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
}

/* Like count at bottom center - styled like play count */
.photo-likes-count {
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 3px 10px !important;
  border-radius: 15px !important;
}

/* Play count in center of image */
.photo-play-count {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 15px;
}

.photo-likes-count i {
  color: #ff4d4d;
}

.photo-play-count i {
  color: #4dffff;
  font-size: 14px;
}
