/* Import Shared Layout & Component Styles */
/* /templates/css/mp.css */


/* Max Pain Page CSS - Add to routes table custom CSS */

.max-pain-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.mp-header {
    margin-bottom: 2rem;
}

.mp-header h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    color: #1f2937;
}

.mp-meta {
    display: flex;
    gap: 2rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.current-price {
    font-weight: 600;
    color: #3b82f6;
}

/* Summary Card */
.mp-summary-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mp-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mp-stat {
    text-align: center;
}

.mp-stat-primary {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 8px;
}

.mp-stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.mp-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.mp-stat-primary .mp-stat-value {
    color: #3b82f6;
    font-size: 2.5rem;
}

.mp-stat-meta {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Chart Container - prevent overlap */
.chart-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-secondary, #1e222d);
    border: 1px solid var(--border-color, #363a45);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-container .chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #d1d4dc);
    margin: 0 0 0.75rem 0;
}

/* Chart Sections */
.chart-section {
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chart-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #1f2937;
}

/* Chart Containers */
.mp-chart-container,
.oi-chart-container {
    width: 100%;
    height: 400px;
    position: relative;
}


/* Explanation Section */
.explanation {
    margin-top: 4rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.explanation h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.explanation p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.explanation ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.explanation li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #4b5563;
}

/* Chart Controls */
.chart-controls {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: flex-end;
}

.chart-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.chart-btn:hover {
    background: #1d4ed8;
}

.chart-btn.secondary {
    background: #6b7280;
}

.chart-btn.secondary:hover {
    background: #4b5563;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .max-pain-container {
        padding: 1rem;
    }
    
    .mp-summary-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mp-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .mp-chart-container,
    .oi-chart-container {
        height: 300px;
    }
    
    .chart-section {
        padding: 1rem;
    }
    
}

/* Max Pain & OI Tables - Dark Theme */


.page-info {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Table styles moved to /templates/css/data-table.css */
