/*--------------------------------------------------------------------------*\
    Chart main container
\*--------------------------------------------------------------------------*/

.chart{
    /*box*/
    position:relative;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    -webkit-box-shadow: 0px 1px 4px rgb(0 0 0 / 16%);
    box-shadow: 0px 1px 4px rgb(0 0 0 / 16%);
    overflow-x: auto;
    overflow-y: hidden;
    max-width:100%;

    /*border*/
    border-radius: 6px;

    /*boackground*/
    background-color: var(--c-tertiary-4);
}

/*--------------------------------------------------------------------------*\
    Sizes
\*--------------------------------------------------------------------------*/

.chart--md{
    /*box*/
    padding:30px;
}

.chart--sm{
    /*box*/
    padding:15px 10px;
}

.chart--tn{
    /*box*/
    padding:15px 10px;
}

/*--------------------------------------------------------------------------*\
        Scrollbar
\*--------------------------------------------------------------------------*/

.chart::-webkit-scrollbar {
    /*box*/
    height: 8.5px;

    /*background*/
    background-size: 8.5px;
    background: var(--c-tertiary-4);
}

.chart::-webkit-scrollbar-thumb {
    /*background*/
    background-color: var(--c-primary-4);

    /*border*/
    border-radius: 2px
}

.chart::-webkit-scrollbar-thumb:hover {
    /*background*/
    background-color: var(--c-primary-3);
}

/*--------------------------------------------------------------------------*\
    Export
\*--------------------------------------------------------------------------*/

.chart--export {
    /*border*/
    border-width: 2px;
    border-style: solid;
    border-color: transparent;

    /*transition*/
    -webkit-transition: border-color 0.5s;
    transition: border-color 0.5s;
}

.chart--export.is-hover {
    /*border*/
    border-style: dashed;
    border-color: var(--c-blue-1);
}

.chart--export.is-selected {
    /*border*/
    border-style: solid !important;
    border-color: var(--c-blue-1);
}