/* style.css - LeanTech Trading */

body {
  margin: 0;
  padding: 0;
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  padding-top: 60px;
}

h1, h3 {
  color: #58a6ff;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 1em;
}

p {
  font-size: 1.1rem;
  color: #8b949e;
  max-width: 600px;
  margin: 0 auto 2em;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

a.button-link {
  color: #c9d1d9;
  background-color: #21262d;
  border: 1px solid #30363d;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a.button-link:hover {
  background-color: #30363d;
  color: #58a6ff;
}

footer {
  margin-top: 3em;
  font-size: 0.9em;
  color: #6e7681;
}

/* TABLAS */
table.tabla,
table.dataframe {
  margin: 2em auto;
  width: 95%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background-color: #161b22;
}

table.tabla th,
table.dataframe th,
table.tabla td,
table.dataframe td {
  border: 1px solid #30363d;
  padding: 8px;
  text-align: center;
  color: #c9d1d9;
}

table.tabla th,
table.dataframe th {
  background-color: #21262d;
  font-weight: bold;
  color: #58a6ff;
}

table.tabla tr:nth-child(even),
table.dataframe tr:nth-child(even) {
  background-color: #1c1f26;
}

table.tabla tr:hover,
table.dataframe tr:hover {
  background-color: #2c313a;
}

footer {
  margin-top: 3em;
  font-size: 0.9em;
  color: #6e7681;
  text-align: center;
}

footer .footer-nav {
  margin-bottom: 0.5em;
}

footer .footer-nav a {
  margin: 0 12px;
  color: #58a6ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

footer .footer-nav a:hover {
  color: #c9d1d9;
}

footer .footer-copy {
  font-size: 0.85em;
}

.marca-actualizacion {
  color: #8b949e;
  font-size: 0.85em;
  text-align: center;
  margin-top: 1em;
}
