/* General Dashboard Styling */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* Section Title */
.section-title-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.title-text {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.title-info {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

/* Table Styling */
.table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: #f8f8f8;
    font-weight: 600;
    color: #333;
}

.data-table td {
    color: #444;
}

.data-table tr:hover {
    background: #f5f5f5;
}

/* Chart Section */
.chart-section {
    margin: 20px 0;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.chart-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.chart-legend {
    display: flex;
    gap: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.legend-item i {
    margin-right: 5px;
}

.legend-item.call i { color: #28a745; }
.legend-item.put i { color: #dc3545; }

.chart-container {
    height: 300px;
}

/* Summary Stats */
.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon i {
    font-size: 24px;
    color: #007bff;
}

.stat-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.stat-value {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 5px 0;
}

.stat-change.positive {
    color: #28a745;
}

.stat-change.negative {
    color: #dc3545;
}

.stat-subtext {
    font-size: 14px;
    color: #666;
}

.market-status.status-live {
    color: #28a745;
}

.market-status.status-closed {
    color: #dc3545;
}

/* Market Info Section */
.market-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: #007bff;
}

.info-card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.info-list li {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-list li strong {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard {
        padding: 10px;
    }

    .section-title-enhanced {
        flex-direction: column;
        align-items: flex-start;
    }

    .title-info {
        font-size: 14px;
    }

    .summary-stats {
        grid-template-columns: 1fr;
    }

    .market-info {
        grid-template-columns: 1fr;
    }
}