/* Global CSS for Market Cap/M2 Ratio Dashboard */

/* Global font family and page layout */
* {
    font-family: 'Ubuntu', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

/* Main dashboard container */
#react-entry-point {
    margin: 0;
    padding: 0;
}

/* Title hierarchy - all using the same color #2c3e50 */
h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin: 40px 0 20px 0;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin: 30px 0 20px 0;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    margin: 20px 0 15px 0;
    line-height: 1.4;
}

h4 {
    font-size: 20px;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    margin: 15px 0 10px 0;
    line-height: 1.4;
}

h5 {
    font-size: 18px;
    font-weight: 400;
    color: #2c3e50;
    text-align: left;
    margin: 10px 0 8px 0;
    line-height: 1.5;
}

/* Subtitle styles for dashboard sections */
.dashboard-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #7f8c8d;
    text-align: center;
    margin: 10px 0 25px 0;
}

/* Chart container margins */
.chart-container {
    margin: 40px 20px;
}

.chart-container-top {
    margin: 40px 20px 20px 20px;
}

.chart-container-middle {
    margin: 20px 20px 40px 20px;
}

/* Status cards */
.status-card {
    flex: 1;
    margin: 10px;
    padding: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    text-align: center;
}

.status-card h4 {
    margin-bottom: 10px;
}

.status-card h2 {
    margin: 0;
    font-size: 24px;
}

/* Panel styles */
.panel {
    margin: 40px 20px;
}

.panel-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

/* Button styles */
.refresh-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}

.refresh-button:hover {
    background-color: #2980b9;
}

/* Last updated text */
.last-updated {
    margin-left: 20px;
    color: #7f8c8d;
    font-size: 14px;
}