/* === BASE === */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #eee;
  text-align: center;
}

.hidden { display: none; }
h1, h2, h3, h4 { margin: 10px 0; color: #00ff99; }

/* === CARDS === */
.card {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 8px rgba(0, 255, 153, 0.2);
}

/* === LOGIN CARD CENTRADO === */
.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 250px;
  margin: 0 auto;
}

#login-form input {
  padding: 10px;
  border: 1px solid #00ff99;
  background-color: #111;
  color: #eee;
  border-radius: 4px;
}

#login-form button {
  padding: 10px;
  border: none;
  background-color: #00ff99;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#login-form button:hover {
  background-color: #00cc77;
}

/* === TAB SECTIONS === */
.tab-section { display: none; }
.active-tab { display: block; }

/* === CRYPTO SELECTOR === */
.crypto-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.crypto-btn {
  padding: 8px 16px;
  background-color: #222;
  color: #00ff99;
  border: 1px solid #00ff99;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.crypto-btn:hover {
  background-color: #00ff99;
  color: #000;
  transform: scale(1.05);
}

/* === CHARTS === */
.charts {
  margin: 20px auto;
  padding: 20px;
  background-color: #111;
  border-radius: 8px;
  border: 1px solid #222;
  width: 90%;
  max-width: 700px;
}

canvas { max-width: 100%; }

/* === BOTS === */
.bots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.bot-card {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 15px;
  width: 150px;
  text-align: center;
}

/* === BOTTOM NAV === */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #111;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
}

.nav-btn {
  background: none;
  border: none;
  color: #ccc;
  display: flex;
  flex-direction: column; /* ICONO ARRIBA, TEXTO ABAJO */
  align-items: center;
  justify-content: center;
  width: 60px;
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
}

.nav-btn i {
  font-size: 1.4rem;
  margin-bottom: 3px;
}

.nav-btn span {
  display: block;
  font-size: 0.7rem;
  line-height: 1;
}

.nav-btn.active {
  color: #00ff99;
}
