body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-body {
    padding: 20px;
}

.card-title {
    color: #333;
    margin-bottom: 15px;
}

.form-select, .btn {
    font-size: 14px;
}

#tickerTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#tickerTable th, #tickerTable td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

#tickerTable th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

#tickerTable tbody tr:hover {
    background-color: #f5f5f5;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .table-responsive {
        overflow-x: auto;
    }
    #tickerTable {
        min-width: 600px;
    }

    #tickerTable th, #tickerTable td {
        padding: 8px;
        font-size: 12px;
    }
}

.chart-container {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    height: 400px; /* Set a fixed height */
}