/* Frontend Styles (css/frontend-style.css) */
.mpc-chart-container {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 100% !important;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.chart-title{
    font-size:20px !important;
    line-height: 20px !important;
}


.mpc-period-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.mpc-period-buttons button {
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    background-color: #ffffff00 !important;
    border: 1px solid #0A0A0A !important;
    color:#0A0A0A !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mpc-period-buttons button:hover {
    background-color: #0A0A0A !important;
    color: #e9ecef !important;
}

.mpc-period-buttons button.active {
    background-color: #0A0A0A !important;
    color: white !important;
    border-color: #0A0A0A;
}

.mpc-chart-wrapper {
    position: relative;
    height: 400px;
}


.chart-header{
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;

}

.chart-header div{

    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap:wrap;

}
@media (max-width: 768px) {
    .mpc-period-buttons button {
        margin: 5px;
        font-size: 14px;
    }

    .mpc-chart-wrapper {
        height: 300px;
    }
}




/*Profit Card design*/
.chartCard {
    width: 250px;
    margin-top: 20px;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
    background-color: #00000000;
}

.chartCards-container
{
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
    max-width: 100%;
}

.chartCard-header {
    padding: 10px 20px;
    background-color: #E5E5E5;
    color: #0A0A0A;
    border-radius: 5px 5px 0px 0px;
}

.chartCard-header h3 {
    margin: 0px !important;
    font-size: 18px !important;
    color: #0A0A0A;
}

.chartCard-content {
    padding: 15px 20px;
    background-color: #fff;

}

.chartCard-content p {
	margin: 0 !important;
	padding: 0 !important;
	color: #333;
	font-size: 16px;
	line-height: 22px;
	font-weight:400
}

.chartCard-content.show {
  display: block;
}

