/* TradePro Main Stylesheet */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
    padding: 6rem 0;
}

/* Card hover effect */
.card-hover:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Custom styles for dark mode */
[data-bs-theme="dark"] .card {
    background-color: #2b2035;
    border-color: #495057;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #343a40 !important;
}

/* Real-time price updates */
.price-up {
    color: #198754;
    animation: pulse-green 2s;
}

.price-down {
    color: #dc3545;
    animation: pulse-red 2s;
}

@keyframes pulse-green {
    0% {
        color: #198754;
    }
    50% {
        color: #ffffff;
    }
    100% {
        color: #198754;
    }
}

@keyframes pulse-red {
    0% {
        color: #dc3545;
    }
    50% {
        color: #ffffff;
    }
    100% {
        color: #dc3545;
    }
}

/* Toast container */
.toast-container {
    z-index: 1050;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}