.contact-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  position: relative;
}

.contact-details {
  flex: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.contact-info p {
  margin: 0.25rem 0;
  color: #555;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}

.avatar-placeholder {
  background-color: #e0e0e0;
  color: #888;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #ffc107;
  padding: 0;
  line-height: 1;
}

.favorite-btn:hover {
  transform: scale(1.2);
  transition: transform 0.2s;
}
