.likes-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.likes-modal-content {
  background: var(--bg-secondary);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 450px;
  width: 90%;
  border: 1px solid var(--border-color);
  animation: slideUp 0.3s ease;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.likes-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.likes-modal-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.likes-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.likes-modal-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.likes-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}

.likes-list {
  display: flex;
  flex-direction: column;
}

.like-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: all 0.3s ease;
}

.like-item:last-child {
  border-bottom: none;
}

.like-item:hover {
  background: rgba(0, 212, 255, 0.05);
}

.like-item-photo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent-primary);
}

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

.like-item-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.like-item-info {
  flex: 1;
  min-width: 0;
}

.like-item-info h4 {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
}

.like-item-info p {
  margin: 0.25rem 0 0 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.like-item-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.like-item-pass,
.like-item-like {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.like-item-pass {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-color);
}

.like-item-pass:hover {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border-color: #ff4757;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

.like-item-like {
  background: linear-gradient(135deg, var(--accent-secondary), #ff1493);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.like-item-like:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
}

.like-button-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.loading,
.no-likes {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Scrollbar styling */
.likes-modal-body::-webkit-scrollbar {
  width: 6px;
}

.likes-modal-body::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

.likes-modal-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.likes-modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

@media (max-width: 480px) {
  .likes-modal-content {
    max-width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .like-item {
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .like-item-photo {
    width: 50px;
    height: 50px;
  }

  .like-item-pass,
  .like-item-like {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}
