/* ===== Body y contenedor ===== */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(145deg, #f9f9f9, #dfe6e9);
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: #ffffff;
  padding: 30px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  width: 350px;
  max-width: 90%;
  text-align: center;
  transition: all 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
}

/* ===== Título ===== */
h1 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #2d3436;
  letter-spacing: 1px;
}

/* ===== Input y botón ===== */
.input-group {
  display: flex;
  margin-bottom: 20px;
  gap: 10px;
}

input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

input:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 8px rgba(108,92,231,0.3);
}

button {
  padding: 12px 20px;
  background-color: #6c5ce7;
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #5a4dd3;
  transform: scale(1.05);
}

/* ===== Lista de elementos ===== */
ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

li {
  background: #f1f1f1;
  margin-bottom: 12px;
  padding: 12px 15px;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #2d3436;
  transition: all 0.3s ease;
}

li:hover {
  background-color: #dfe4ff;
  transform: translateX(3px);
}

/* Botón dentro del li */
li button {
  background-color: #ff7675;
  border: none;
  padding: 6px 12px;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

li button:hover {
  background-color: #e84142;
  transform: scale(1.1);
}

/* ===== Iconitos opcionales ===== */
li .icon {
  margin-right: 8px;
  color: #6c5ce7;
  font-weight: bold;
}
