
/* Custom styles that Tailwind doesn't cover */
main {
  min-height: calc(100vh - 4rem); /* Account for navbar height */
  padding-top: 4rem; /* Space for fixed navbar */
}

@media (min-width: 768px) {
  main {
    padding-top: 0; /* Reset for desktop */
  }
}
#tradingView {
    position: relative;
}

#predictionStatus.analyzing {
    background-color: rgb(59, 130, 246, 0.2);
    color: rgb(59, 130, 246);
}

#predictionStatus.bullish {
    background-color: rgb(34, 197, 94, 0.2);
    color: rgb(34, 197, 94);
}

#predictionStatus.bearish {
    background-color: rgb(239, 68, 68, 0.2);
    color: rgb(239, 68, 68);
}

.history-item {
    padding: 8px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item.correct {
    background-color: rgba(34, 197, 94, 0.1);
}

.history-item.incorrect {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Animation for the analyze button */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.is-analyzing {
    animation: pulse 1.5s infinite;
}

/* Dark mode transitions */
body, .bg-white, .bg-gray-100, .bg-gray-800, .bg-gray-700, .bg-gray-900 {
    transition: background-color 0.3s ease;
}