/* ============================================
   Blue Chip Analytics - Base Styles
   Foundation styles shared across all pages
   Tighter, utilitarian design
   ============================================ */

/* CSS Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body & Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
}

/* Generic Data Grid Layout */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

/* White Card Sections */
.data-section {
    background: white;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Section Titles */
.section-title {
    font-size: 1.15em;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 6px;
}

/* Data Rows (Label/Value Pattern) */
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9em;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    font-weight: 500;
    color: #4a5568;
}

.data-value {
    font-weight: 600;
    color: #1a202c;
}

/* Responsive Design - Base Breakpoints */
@media (max-width: 768px) {
    .container {
        padding: 8px;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .data-section {
        padding: 10px;
    }
    
    .section-title {
        font-size: 1.05em;
        margin-bottom: 8px;
    }
    
    .data-row {
        padding: 3px 0;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 6px;
    }
    
    .data-section {
        padding: 8px;
    }
    
    .section-title {
        font-size: 1em;
        margin-bottom: 6px;
    }
    
    .data-row {
        font-size: 0.8em;
        padding: 2px 0;
    }
    
    .data-value {
        word-break: break-word;
    }
}
