munem420's picture
Update src/App.css
f9b611e verified
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* ... (keep existing styles) ... */
.input-container {
display: flex;
gap: 10px;
margin: 20px 0;
align-items: center;
}
.ticker-input {
padding: 10px;
font-size: 16px;
border-radius: 5px;
border: 1px solid #ccc;
}
.forecast-button {
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
border: none;
background-color: #61dafb;
color: #282c34;
cursor: pointer;
transition: background-color 0.2s;
}
.forecast-button:hover {
background-color: #21a1f1;
}
.forecast-button:disabled {
background-color: #ccc;
cursor: not-allowed;
}
.prediction-result {
margin-top: 20px;
padding: 20px;
background-color: #3a3f4a;
border-radius: 8px;
white-space: pre-wrap; /* Ensures line breaks are respected */
text-align: left;
font-family: 'Courier New', Courier, monospace;
}
.error-message {
color: #ff6b6b;
margin-top: 15px;
}