.mf-pht-widget .mfp-container .mfp-content {
    padding: 1.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 1300px;
}

.mfp-content .chart-content h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.price-history-widget-link {
    margin: 1rem 0;
    display: flex;
    font-size: .9em;
    font-weight: bold;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}

.price-history-widget-link:hover {
    text-decoration: underline;
}

.mf-pht-widget .mfp-content
{
    background: white;
}

@media only screen and (max-width: 767px) {
    .mf-pht-widget .mfp-container .mfp-content {
        padding: 1.5rem;
    }

    .mfp-content .chart-content h2 {
        font-size: 1.1em;
    }
}

.mf-pht-widget .period_content {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
}

.mf-pht-widget .period_content > a.active {
    background: #34344d;
    color: #fff;
    font-weight: bold;
}

.mf-pht-widget .period_content > a {
    display: inline-block;
    text-decoration: none;
    background: #ececec;
    padding: .6rem 1.2rem;
    font-size: .9em;
    border-radius: 3px;
    transition: all .2s ease-in;
}

.mf-pht-widget .period_content > a:not(.active):hover {
    background: #d7d7d7;
}

@media only screen and (max-width: 549px) {
    .mf-pht-widget .period_content {
        flex-direction: column;
    }
}

