


.line_chart-card {
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 8px 28px rgba(21, 36, 58, 0.05);
}

.line_chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.line_chart-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.line_chart-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf5ff;
    color: #1677ff;
    font-size: 22px;
}

.line_chart-title-wrap h3 {
    margin: 0 0 4px;
    font-size: 23px;
    font-weight: 700;
    color: #17263c;
}

.line_chart-title-wrap p {
    margin: 0;
    font-size: 13px;
    color: #7f8ca1;
}


/* ZEITRAUM
-------------------------------------------- */

.line_chart-zeitraum {
    min-width: 310px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    background: #ffffff;
    color: #63728a;
    cursor: pointer;
}

.line_chart-zeitraum > i:first-child {
    font-size: 20px;
}

.line_chart-zeitraum > i:last-child {
    margin-left: auto;
    font-size: 11px;
}

.line_chart-zeitraum-text {
    display: flex;
    align-items: center;
    gap: 13px;
}

.line_chart-zeitraum-text span {
    font-size: 12px;
    color: #8491a5;
}

.line_chart-zeitraum-text strong {
    font-size: 13px;
    font-weight: 600;
    color: #273750;
}


/* VALUE
-------------------------------------------- */

.line_chart-value {
    margin-top: 22px;
    font-size: 42px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1px;
    color: #14233a;
}

.line_chart-change {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    font-size: 14px;
}

.line_chart-change.positiv {
    color: #16b84e;
}

.line_chart-change strong {
    font-size: 15px;
}

.line_chart-change span {
    margin-left: 5px;
    color: #77859a;
    font-weight: 400;
}


/* CHART
-------------------------------------------- */

.line_chart-chart {
    display: flex;
    width: 100%;
    margin-top: 35px;
}

.line_chart-y-axis {
    width: 80px;
    height: 300px;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    color: #637794;
    font-size: 11px;
}

.line_chart-chart-area {
    position: relative;
    flex: 1;
    height: 300px;
}


/* GRID
-------------------------------------------- */

.line_chart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.line_chart-grid span {
    width: 100%;
    border-top: 1px dashed #dbe4ef;
}


/* SVG
-------------------------------------------- */

.line_chart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 300px;
    overflow: visible;
}

.line_chart-fill {
    fill: url(#line_chartGradient);
}

.line_chart-line {
    fill: none;
    stroke: #1677ff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.line_chart-point {
    fill: #ffffff;
    stroke: #1677ff;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    cursor: pointer;
    transition: .15s ease;
}

.line_chart-point:hover {
    r: 8px;
}


/* TOOLTIP
-------------------------------------------- */

.line_chart-tooltip {
    position: absolute;
    right: -15px;
    top: -65px;
    min-width: 110px;
    padding: 10px 13px;
    background: #16263d;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(15, 31, 52, 0.2);
}

.line_chart-tooltip:after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #16263d;
}

.line_chart-tooltip span {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    color: #ccd5e2;
}

.line_chart-tooltip strong {
    font-size: 15px;
}


/* X ACHSE
-------------------------------------------- */

.line_chart-x-axis {
    position: absolute;
    left: 0;
    right: 0;
    top: 315px;
    display: flex;
    justify-content: space-between;
}

.line_chart-x-axis div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #6f7e94;
}

.line_chart-x-axis strong {
    font-size: 11px;
    font-weight: 500;
}

.line_chart-x-axis span {
    margin-top: 2px;
}


/* FOOTER STATS
-------------------------------------------- */

.line_chart-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid #e8edf4;
    padding-top: 26px;
}

.line_chart-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 24px;
    border-right: 1px solid #e8edf4;
}

.line_chart-stat:first-child {
    padding-left: 0;
}

.line_chart-stat:last-child {
    border-right: 0;
}

.line_chart-stat-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}

.line_chart-stat-icon.green {
    background: #e8f8ed;
    color: #17ad4a;
}

.line_chart-stat-icon.blue {
    background: #eaf3ff;
    color: #1677ff;
}

.line_chart-stat-icon.purple {
    background: #f3eaff;
    color: #8638ee;
}

.line_chart-stat-icon.orange {
    background: #fff3df;
    color: #f2a10d;
}

.line_chart-stat span {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    color: #718097;
}

.line_chart-stat strong {
    display: block;
    color: #182842;
    font-size: 22px;
    font-weight: 700;
}

.line_chart-stat small {
    display: block;
    margin-top: 4px;
    color: #8c99ab;
    font-size: 10px;
}


/* RESPONSIVE
-------------------------------------------- */

@media(max-width: 1100px) {

    .line_chart-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .line_chart-stat {
        border-right: 0;
        padding: 0;
    }

}

@media(max-width: 768px) {

    .line_chart-card {
        padding: 20px;
    }

    .line_chart-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .line_chart-zeitraum {
        width: 100%;
        min-width: 0;
    }

    .line_chart-value {
        font-size: 34px;
    }

    .line_chart-footer {
        grid-template-columns: 1fr;
    }

    .line_chart-y-axis {
        width: 60px;
    }

}