




#open_historicprices_button small{
    font-size: 10px;
    font-weight: 600;
    color: #fd5d5d;
    letter-spacing: 0;
    cursor: pointer;
    vertical-align: 3px;
    padding-right: 4px;
}

#open_historicprices_button:hover{
	color: #fd5d5d;
}


.thead{
    background-color: #ccc !important;

}
.headers {
    text-align: center;
    width: 200px;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 5px;
    padding-top: 5px;
    text-transform: uppercase;
}
.values{
    padding-top: 5px;
    text-align: center;
    width: 150px;
    padding-top: 10px;
        padding-bottom: 10px;
}
#historicprices_table tr:nth-child(even) {background: #fff;}
#historicprices_table tr:nth-child(odd) {background: #d9d9d9;}


.text-title{
    font-size: 15px;
    font-weight: 700;
}

.text-final{
    font-size: 10px;
    text-align: right;
}


body.historicprices-modal-open {
    overflow: hidden;
}

.historicprices-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.historicprices-modal.is-open {
    display: block;
}

.historicprices-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.historicprices-modal__dialog {
    position: relative;
    z-index: 1;
    max-width: 720px;
    max-height: 85vh;
    margin: 5vh auto;
    padding: 20px 24px;
    overflow: auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.historicprices-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.historicprices-modal__close:hover {
    color: #fd5d5d;
}

#historicprices_table table {
    width: 100%;
    border-collapse: collapse;
}

.historicprices-chart {
    position: relative;
    width: 100%;
    height: 320px;
    margin: 12px 0;
}

.historicprices-chart canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 576px) {
    .historicprices-modal__dialog {
        max-width: none;
        width: calc(100% - 12px);
        max-height: 94vh;
        margin: 8px auto;
        padding: 32px 8px 12px;
    }

    .historicprices-chart {
        height: 380px;
        margin: 8px 0 4px;
    }

    .headers,
    .values {
        width: auto;
        font-size: 12px;
        padding: 6px 4px;
    }
}
