.card-head {
    display:flex;
    height:50px;
}


.card-content-300 {
    height:300px;
}
.card-content-350 {
    height: 350px;
}
.card-content-400 {
    height: 400px;
}
.card-content-500 {
    height: 500px;
}
.card-content-600 {
    height: 600px;
}
.card-content-700 {
    height: 700px;
}


@media (max-width: 767px) {
    .card-content-300,
    .card-content-350,
    .card-content-400,
    .card-content-500 {
        height:auto;
    }

}


.chart-section {
    flex: 1;
    background-color: white;
    border-radius: 20px;
    padding: 16px;
    min-width: 300px;
    position: relative;
}

/*@media (min-width: 992px) {
    .chart-section {
        min-width: 420px;
    }
}*/


.donut-chart {
    height: 450px;
}

.donut-chart-popup {
    height: 280px;
}

.bar-chart-popup {
    /*        height: 300px;*/
}

.bar-chart, .line-chart {
    /*    height: 500px;*/
}




.chart-section-header {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    height: 38px;
    justify-content: space-between;
    align-content: center;
}

    .chart-section-header .ttl {
        font-size: 24px;
    }

    .chart-section-header .ttl-popup {
        font-size: 20px;
    }

    .chart-section-header .btn-round {
        border: none;
        border-radius: 32px;
    }

.chart-section-footer {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .chart-section-footer .split {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        align-content: center;
    }

    .chart-section-footer .ct-txt-button {
        font-size: 15px;
    }


    .chart-section-footer .ttl {
        font-size: 17px;
        color: #444;
        margin-bottom: 8px;
    }

    .chart-section-footer .record {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        justify-content: space-between;
        align-content: center;
    }

        .chart-section-footer .record p {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }


    .chart-section-footer .item-body {
        display: flex;
        flex-direction: row;
        gap: 8px;
        justify-content: space-between;
    }



        .chart-section-footer .item-body .item-qty {
            font-size: 20px;
            font-weight: 500;
        }

.chart-section-footer-container {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;
}

    .chart-section-footer-container .chart-section-footer {
        gap: 16px;
    }



.chart-section-info {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    flex-wrap: wrap;
    align-content: center;
    color: #888;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

    .chart-section-info .inbound {
        color: #3dbb88;
        font-size: 26px;
        font-weight: 500;
        margin-right: 12px;
    }

    .chart-section-info .outbound {
        color: #e1623a;
        font-size: 26px;
        font-weight: 500;
        margin-right: 12px;
    }


.chart-section-search {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: baseline;
    color: #888;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

    .chart-section-search .min-qty {
        color: #222222;
        font-size: 26px;
        font-weight: 500;
        margin-right: 12px;
    }



.summary-section {
    flex: 1;
    background-color: #f4f4f4;
    border-radius: 12px;
    padding: 16px;
    min-width: 300px;
    position: relative;
}

    .summary-section .bar-chart {
        max-height: 400px;
        min-height: 300px;
    }

.gnb {
    margin-bottom: 24px;
}

.gnb__menu {
    flex: 1 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .gnb__menu ul {
        display: flex;
        justify-content: center;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        position: relative;
        padding-left: 0;
        margin-bottom: 0;
    }

@media (max-width: 1200px) {
    .gnb__menu ul {
        justify-content: start;
    }
}

ul {
    list-style-type: none;
}

.gnb__link.selected {
    background: #489ba5;
    color: #fff;
    border-radius: 100px;
}

.gnb__link {
    position: relative;
    overflow-x: hidden;
    display: block;
    padding: 9px 12px;
    margin: 5px 6px 5px 0;
    font-size: 20px;
    color: inherit;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: center;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}



.gnb__date input {
    font-size: 20px;
    width: 100px;
    background: #f46a6a;
    color: white;
    border: 1px solid #c35555;
    border-radius: 47px;
    padding: 9px 5px;
    text-align: center;
}


    .gnb__date input:focus {
        background: #cf5a5a;
        color: white;
        border: 1px solid #c35555;
        outline: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }



.gnb__date .bl-select-menu {
    font-size: 20px;
    max-height: none;
    margin-top: 4px;
}


.amount-diff {
    min-height: 25px; /* 실제 텍스트 높이에 맞게 */
    margin: 16px 0 0;
}
