/* Estilos generales */
body {
  font-family: system-ui, sans-serif;
  padding: 2rem 1rem;
  margin: 0;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.2;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
}

label {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: block;
}

input,
select {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  box-sizing: border-box;
  transition: border 0.2s;
}

input:focus,
select:focus {
  border-color: #0074ff;
  outline: none;
}

button {
  padding: 1rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #0074ff;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #005fcc;
}

#mensaje {
  margin: 2rem auto 1rem;
  max-width: 600px;
  min-height: 2rem;
  font-size: 1.1rem;
  text-align: center;
}

#totalLeads {
  font-size: 1rem;
  color: gray;
}

#coincidenciasBox {
  margin: 1rem auto;
  max-width: 600px;
  background: #fff3f3;
  border: 1px solid #f5c2c2;
  padding: 1.5rem;
  border-radius: 0.75rem;
  display: none;
}

#coincidenciasBox h3 {
  margin-top: 0;
  color: #b80000;
}

#coincidenciasLista {
  list-style: none;
  padding-left: 0;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 1rem;
  }

  form {
    padding: 1.5rem;
    box-shadow: none;
    border-radius: 0.75rem;
    gap: 1.25rem;
  }

  label {
    font-size: 1.05rem;
  }

  input,
  select {
    font-size: 1rem;
    padding: 0.9rem;
  }

  button {
    width: 100%;
    font-size: 1rem;
  }

  #mensaje {
    font-size: 1rem;
  }
}

