:root {
  --bg-body: #f4f4f4;
  --bg-container: #fff;
  --text-color: #333;
  --input-border: #ccc;
  --input-bg: #fff;
  --balances-bg: #f5f5f5;
}

body.dark-mode {
  --bg-body: #121212;
  --bg-container: #1e1e1e;
  --text-color: #e0e0e0;
  --input-border: #444;
  --input-bg: #2d2d2d;
  --balances-bg: #2d2d2d;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 400px;
  margin: 50px auto;
  background: var(--bg-container);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  box-sizing: border-box;
  background-color: var(--input-bg);
  color: var(--text-color);
}

button {
  width: 100%;
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.message {
  margin-top: 15px;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  display: none;
}

.success {
  background-color: #d4edda;
  color: #155724;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
}

#balances {
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  background-color: var(--balances-bg);
  /* Fondo gris claro */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#balances h3 {
  font-size: 1.5rem;
  color: #128C7E;
  /* Color verde WhatsApp */
  margin-bottom: 15px;
}

#balances ul {
  list-style: none;
  padding: 0;
}

#balances li {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

#balances li span {
  font-weight: bold;
  color: #25D366;
  /* Color verde más intenso */
}

#resetButton {
  background-color: #f39c12;
  /* Color amarillo */
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

#resetButton:hover {
  background-color: #e67e22;
  /* Color más oscuro cuando se pasa el mouse */
}