body {
  background: #181c24;
  color: #e0e6ed;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
h1 {
  color: #ffb300;
  font-size: 2.5rem;
  margin-top: 32px;
  text-align: center;
  letter-spacing: 2px;
  font-weight: 700;
}
h2 {
  color: #00e676;
  font-size: 1.7rem;
  margin-top: 35px;
  margin-bottom: 65px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}
h3 {
  color: #ffb300;
  font-size: 0.8rem;
  margin-bottom: 3px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}
h4 {
  color: #0beaf5;
  font-size: 1.1rem;                         
  margin: 18px 0;             
  font-family: 'Roboto Mono', monospace; 
}
form {
  background: #23293a;
  border-radius: 10px;
  padding: 24px 32px;
  margin: 24px auto 0 auto;
  max-width: 400px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
label {
  color: #e0e6ed;
  font-weight: 500;
  margin-bottom: 4px;
}
input[type="text"] {
  background: #181c24;
  color: #fff;
  border: 1.5px solid #00e676;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 1rem;
  font-family: 'Roboto Mono', monospace;
  outline: none;
  transition: border 0.2s;
}
input[type="text"]:focus {
  border: 1.5px solid #ffb300;
}
button {
  background: linear-gradient(90deg, #00e676 60%, #ffb300 100%);
  color: #181c24;
  border: none;
  border-radius: 5px;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #ffb300 60%, #00e676 100%);
  color: #23293a;
}
#chart {
  margin-top: 1em;
}
.stats-analysis {
  margin-top: 1em;
  font-size: 1.1em;
  text-align: center;
}
.stocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
  margin: 40px auto 0 auto;
  max-width: 1400px;
}
.ml-model {
  color: #22D3EE;
  font-size: 1.8rem;
}

@media (max-width: 1100px) {
  .stocks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .stocks-grid {
    flex-direction: column;
    align-items: center;
  }
  .stock-card {
    width: 95vw;
    max-width: 400px;
  }
}
@media (max-width: 700px) {
  .stocks-grid {
    grid-template-columns: 1fr;
  }
  .stock-card {
    width: 95vw;
    max-width: 400px;
  }
}
.stock-card {
  background: #23293a;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  padding: 24px 18px 18px 18px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s;
}
.stock-card-predict {
  background: #23293a;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  padding: 24px 18px 18px 18px;
  width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.15s;
}
.stock-card:hover {
  transform: translateY(-4px) scale(1.4);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
canvas {
  background: #181c24;
  border-radius: 8px;
  margin-top: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.12);
}
.stock-fullname {
  color: #ffb300;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 2px;
  font-family: 'Roboto', Arial, sans-serif;
}
