:root {
  /* Cambié colores para que el fondo sea rosita y colores complementarios */
  --primary-color: #d94f70;        /* rosa fuerte */
  --secondary-color: #f9c1cc;      /* rosa claro */
  --bg-color: #ffe6eb;             /* rosa muy suave */
  --text-color: #3a1e2a;           /* marrón oscuro para buen contraste */
  --focus-color: #b03b56;          /* rosa oscuro para foco */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --border-radius: 10px;
  --box-shadow: 0 0 10px rgba(217, 79, 112, 0.3);
}

body {
  font-family: var(--font-family);
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: background-color 0.5s ease;
}

h1, h2 {
  color: var(--primary-color);
  text-shadow: 1px 1px 3px var(--focus-color);
}

form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

label {
  font-weight: 600;
  color: var(--primary-color);
}

input, button {
  padding: 0.9rem 1rem;
  font-size: 1.1rem;
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius);
  outline-offset: 3px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, button:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px var(--focus-color);
  outline: none;
}

button {
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  font-weight: 700;
  border: none;
  transition: background-color 0.3s ease;
}

button:hover, button:focus {
  background-color: var(--focus-color);
}

ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

li {
  background: white;
  padding: 1.2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

li:hover {
  background-color: var(--secondary-color);
  color: var(--text-color);
  cursor: default;
}

.fecha {
  font-size: 0.85rem;
  color: #7a4e60;
  font-style: italic;
  font-weight: 400;
}


