
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.topbar input {
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}

.contact-section {
  margin: 1rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.contact-card {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-card img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.avatar-placeholder {
  width: 50px;
  height: 50px;
  background: #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.contact-info {
  flex: 1;
}

.favorito {
  cursor: pointer;
  font-size: 1.5rem;
  user-select: none;
}

.empty-msg {
  text-align: center;
  margin: 2rem;
  color: #555;
}
