/* Estilos generales */
body {
  background-color: #ffffff;
  padding: 1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.acciones-header {
  display: flex;
  gap: 0.5rem;
}

#contactos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.acciones {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.acciones button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

dialog form {
  display: grid;
  gap: 1rem;
}
/* Formulario en 2 columnas */
.grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Botones en el footer */
.acciones-form {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-guardar {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-cancelar {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-guardar:hover {
  background-color: #0056b3;
}

.btn-cancelar:hover {
  background-color: #565e64;
}

.titulo {
color: black;
}
.card {
  color: #000;
}

.card strong {
  color: #000;
}
