body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f9fc;
    margin: 0;
    padding: 0;
}

h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 20px;
    
}

h2, h3 {
    margin: 5px 0;
}



/* .opec_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    padding-bottom: 50px;
}


.opec_graph_container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 30px;
    width: 75%;
} */



/* toggle button */
/* .opec_toggle_container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    margin-top: 30px;
    justify-content: center;
}


.toggle-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.toggle-btn:hover {
    background-color: #ddd;
}
.toggle-btn.active {
    background-color: #007bff;
    color: white;
} */



._dash-loading {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  color: #0055a5;
  font-weight: 500;
  background: transparent;
}



.opec_container {
    font-family: 'Arial', sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.graph-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
}

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

.graph-title {
    color: #333;
    font-size: 18px;
    margin: 0;
}

.time-range-btns {
    display: flex;
    gap: 8px;
}

.time-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.time-btn:hover {
    background: #f5f5f5;
}

.time-btn.active {
    background: #1f77b4;
    color: white;
    border-color: #1f77b4;
}

.graph-footer {
    font-size: 12px;
    color: #999;
    margin-top: 15px;
    text-align: right;
}

.data-source {
    font-weight: bold;
    color: #666;
}

.current-year {
    margin-left: 10px;
}


/* Chart type buttons */
.chart-type-btns {
    display: flex;
    gap: 5px;
    margin-left: 15px;
}

.chart-type-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.chart-type-btn:hover {
    background: #f5f5f5;
}

.chart-type-btn.active {
    background: #1f77b4;
    color: white;
    border-color: #1f77b4;
}

.graph-controls {
    display: flex;
    align-items: center;
}


.chart-type-btn i {
    font-size: 14px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}