/* --- Topbar --- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.topbar-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0;
}

.topbar-input {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  width: 250px;
  transition: border 0.2s;
}

.topbar-input:focus {
  border-color: #0077ff;
}

/* --- Sección de contactos --- */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem;
  background: #f9f9f9;
  justify-content: center;
}

/* --- Card de contacto --- */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 220px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact-avatar {
  width: 6em;
  height: 6em;
  border-radius: 8px;
  background: #f2f2f2;
  margin-bottom: 1rem;
  object-fit: cover;
}

.contact-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.contact-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin: 0.5rem 0;
  text-align: center;
}

.contact-phone {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

.contact-legajo {
  font-size: 0.9rem;
  color: #777;
  margin: 0.2rem 0 1rem 0;
}