body {
  font-family: Arial, sans-serif;
  background: #000000;
  text-align: center;
  padding: 30px;
  margin: 0;
  color: #d4edda;
}

form {
  display: inline-block;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Entradas */
input, select {
  display: block;
  margin: 10px auto;
  padding: 8px;
  width: 80%;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* ✅ Botones universales (todo verde) */
button, input[type="submit"], .btn {
  background: #28a745 !important; /* verde principal */
  color: white !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

button:hover, input[type="submit"]:hover, .btn:hover {
  background: #218838 !important; /* verde más oscuro */
}

/* ✅ Enlaces coherentes */
a {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #1e7e34;
  text-decoration: underline;
}

/* ✅ Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #28a745;
  padding: 12px 24px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.navbar a:hover {
  text-decoration: underline;
  color: #d4edda;
}

.navbar-logo {
  font-size: 20px;
  font-weight: bold;
}

body {
  background: #000000 url('inversiones-bolsa-valores.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
}

/* 🔹 Capa semitransparente para oscurecer la imagen y mantener el contraste del texto */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* controla la transparencia */
  z-index: -1; /* mantiene el contenido visible encima */
}