/* =========================================================
   BV NASTOPI
========================================================= */

.bv-nastopi-wrap {
    margin-top: 14px;
    color: #f2f2f2;
}


/* =========================================================
   ZGORNJI POVZETEK
========================================================= */

.bv-nastopi-summary {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: linear-gradient(180deg, #1c1f22 0%, #151719 100%);
    border: 1px solid #3a3d40;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 14px;
}

.bv-nastopi-stat {
    min-height: 96px;
    padding: 16px 12px;
    text-align: center;
    border-right: 1px solid #3a3d40;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.bv-nastopi-stat .label {
    font-size: 13px;
    font-weight: 700;
    color: #d7d7d7;
    margin-bottom: 10px;
    letter-spacing: .2px;
}

.bv-nastopi-stat .value {
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
}


/* POVPREČJA MODRO */

.bv-nastopi-stat:nth-child(2) .value,
.bv-nastopi-stat:nth-child(3) .value,
.bv-nastopi-stat:nth-child(4) .value {
    color: #38aef5;
}


/* RIBE RDEČE */

.bv-nastopi-stat:nth-child(5) .value {
    color: #ef4937;
}


/* ZAKLJUČKI ZELENO */

.bv-nastopi-stat:nth-child(6) .value {
    color: #65c63f;
}


/* =========================================================
   TABELA
========================================================= */

.bv-nastopi-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #35383b;
    border-radius: 8px;
    background: #181a1c;
}

.bv-nastopi-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.bv-nastopi-table th {
    height: 42px;
    padding: 0 10px;
    background: #1b1d1f;
    color: #d5d5d5;
    border-right: 1px solid #34373a;
    border-bottom: 1px solid #34373a;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.bv-nastopi-table td {
    height: 52px;
    padding: 0 10px;
    border-right: 1px solid #34373a;
    border-bottom: 1px solid #34373a;
    color: #eeeeee;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
}

.bv-nastopi-table tbody tr:last-child td {
    border-bottom: 0;
}

.bv-nastopi-table th:last-child,
.bv-nastopi-table td:last-child {
    border-right: 0;
}

.bv-nastopi-table tbody tr:hover {
    background: #202326;
}


/* ŠIRINE */

.bv-nastopi-table th:nth-child(1) {
    width: 75px;
}

.bv-nastopi-table th:nth-child(2) {
    width: 115px;
}

.bv-nastopi-table th:nth-child(3) {
    width: 115px;
}

.bv-nastopi-table th:nth-child(4),
.bv-nastopi-table th:nth-child(5) {
    width: 105px;
}

.bv-nastopi-table th:nth-child(6),
.bv-nastopi-table th:nth-child(7) {
    width: 90px;
}

.bv-nastopi-table th:nth-child(8) {
    width: 145px;
}

.bv-nastopi-table th:nth-child(9) {
    width: 90px;
}


/* =========================================================
   REZULTAT / MIN / MAX
========================================================= */

.bv-nastopi-table .rezultat {
    font-size: 20px;
    font-weight: 800;
}

/* NAJBOLJŠE */

.bv-nastopi-table td.bv-best {
    color: #63c94b;
    font-weight: 800;
}

/* NAJSLABŠE */

.bv-nastopi-table td.bv-worst {
    color: #ef4937;
    font-weight: 800;
}

.best-star {
    margin-left: 4px;
    color: #ffc928;
    font-size: 18px;
}


/* =========================================================
   PRVI / ZADNJI
========================================================= */

.nastop-number {
    font-weight: 800;
    white-space: nowrap;
}

.nastop-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    vertical-align: middle;
}

.nastop-badge.first {
    background: #268845;
    color: #ffffff;
}

.nastop-badge.last {
    background: #c83229;
    color: #ffffff;
}


/* =========================================================
   RAZLIKA DO NAJBOLJŠEGA
========================================================= */

.bv-minus {
    color: #ef4937 !important;
    font-weight: 800;
}

.bv-zero {
    color: #63c94b !important;
    font-weight: 800;
}


/* =========================================================
   POVEZAVA
========================================================= */

.nastop-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 17px;
    transition: .15s ease;
}

.nastop-link:hover {
    background: #292d30;
    transform: scale(1.08);
}


/* =========================================================
   HIPOTETIČNI MAX
========================================================= */

.bv-nastopi-max {
    min-height: 66px;
    margin-top: 14px;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    background: linear-gradient(180deg, #1c1f22 0%, #151719 100%);
    border: 1px solid #3a3d40;
    border-radius: 8px;

    font-size: 15px;
    color: #d7d7d7;
}

.bv-nastopi-max > span:first-child {
    color: #38aef5;
    font-weight: 800;
}

.bv-nastopi-max strong {
    color: #63c94b;
    font-size: 26px;
    font-weight: 900;
}


/* =========================================================
   PRAZEN PRIKAZ
========================================================= */

.nastopi-empty {
    margin-top: 15px;
    padding: 25px;
    border: 1px solid #393c3f;
    border-radius: 8px;
    background: #181a1c;
    color: #cccccc;
    text-align: center;
}


/* =========================================================
   MOBILNO
========================================================= */

@media (max-width: 900px) {

    .bv-nastopi-summary {
        grid-template-columns: repeat(3, 1fr);
    }

    .bv-nastopi-stat:nth-child(3) {
        border-right: 0;
    }

    .bv-nastopi-stat:nth-child(-n+3) {
        border-bottom: 1px solid #3a3d40;
    }

    .bv-nastopi-table {
        min-width: 900px;
    }

}


@media (max-width: 560px) {

    .bv-nastopi-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .bv-nastopi-stat {
        min-height: 82px;
    }

    .bv-nastopi-stat:nth-child(odd) {
        border-right: 1px solid #3a3d40;
    }

    .bv-nastopi-stat:nth-child(even) {
        border-right: 0;
    }

    .bv-nastopi-stat:nth-child(-n+4) {
        border-bottom: 1px solid #3a3d40;
    }

    .bv-nastopi-stat .value {
        font-size: 25px;
    }

    .bv-nastopi-max {
        flex-wrap: wrap;
        padding: 14px;
        gap: 7px 12px;
    }

}

/* =========================================================
   TREND REZULTATOV
========================================================= */

.bv-nastopi-summary {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 300px;
}

.bv-nastopi-trend {
    min-height: 96px;
    padding: 8px 14px 5px;

    display: flex;
    flex-direction: column;

    justify-content: center;

    background:
        linear-gradient(
            180deg,
            #1c1f22 0%,
            #151719 100%
        );
}

.trend-title {
    margin-bottom: 1px;

    color: #eeeeee;

    font-size: 12px;
    font-weight: 800;

    text-align: center;
}

.trend-chart {
    width: 100%;
    height: 80px;

    overflow: visible;
}

.trend-grid {
    stroke: #41464a;
    stroke-width: 1;
}

.trend-line {
    fill: none;

    stroke: #31aef5;
    stroke-width: 2.5;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.trend-point {
    fill: #ffffff;

    stroke: #31aef5;
    stroke-width: 2.5;

    cursor: pointer;
}

.trend-axis-value {
    fill: #bfc3c6;

    font-size: 9px;
    font-weight: 600;
}

.trend-number {
    fill: #dddddd;

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   TREND - MANJŠI ZASLON
========================================================= */

@media (max-width: 1200px) {

    .bv-nastopi-summary {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .bv-nastopi-trend {
        grid-column: 1 / -1;

        border-top:
            1px solid #3a3d40;
    }

}