﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */


.main-grid {
    width: 100%;  
}

:root {
    --odds-grid: minmax(130px, 1.5fr) repeat(7, minmax(65px, 1fr)) minmax(90px, 1.2fr);
}

.header-row,
.match-row {
    display: grid;
    grid-template-columns: 220px 100px 260px 180px 180px 80px;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    justify-content: center;
}


#oddsModal .header,
#oddsModal .row,
#oddsModal .ai-row,
#oddsModal .value-row {
    display: grid;
    grid-template-columns: var(--odds-grid);
    align-items: center;
}

    #oddsModal .header div {
        text-align: center;
    }

        #oddsModal .header div:first-child {
            text-align: left;
        }

.match-row {
    display: grid;
    text-decoration: none;
    color: inherit;
}

.match-row {
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
}

.header-row,
.table-body {
    margin: 0;
    width: 100%;
}

.table-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.header-row > div,
.match-row > div {
    display: flex;
}

    /* default centar */
    .header-row > div:not(:first-child),
    .match-row > div:not(:first-child) {
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    /* prva kolona levo */
    .header-row > div:first-child,
    .match-row > div:first-child {
        justify-content: flex-start;
        text-align: left;
        align-items: flex-start;
        padding-left: 10px;
    }


    /* VALUE (desno) */
    .header-row > div:last-child,
    .match-row > div:last-child {
        justify-content: center;
        text-align: center;
        padding-right: 10px;
    }

.header-row .value {
    padding: 0;
}

.header-row {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0b0b0b; /* ista kao body */

    border-bottom: 1px solid #222;
    
    backdrop-filter: blur(6px);
}



.value {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    width: 80px;
    border-left: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    
    /*    padding-left: 12px;*/
}

.value-row {
    color: gold;
    font-weight: 500;
    /*    justify-content: flex-end;
    gap: 10px;*/
}

    .value.has-content::before {
        content: "";
        position: absolute;
        left: 0;
        top: 3px;
        bottom: 3px;
        width: 2px;
        background: gold;
     /*   margin-left: -10px;*/
        color: gold;
    }




#oddsTitle,
#oddsContent {
    width: 100%;
    max-width: 100%;
}

.odds-1x2 {
    display: grid;
    grid-template-columns: repeat(3, 60px);
    gap: 4px;
    justify-content: center;
}

.odds-goals,
.odds-gg {
    display: grid;
    grid-template-columns: repeat(2, 55px);
    gap: 6px;
    justify-content: center;
}

.empty-value {
    opacity: 0.2;
}


.group {
    position: relative;
    padding-left: 10px;
}


.match-row .group::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 10%;
    bottom: 5%;
    width: 2px;
    background: gold; /* linear-gradient(to bottom, transparent, gold, transparent);*/
}

.match-row .group {
    position: relative;
    padding-left: 10px;
}

    .match-row .group:not(.group-1x2)::before {
        content: "";
        position: absolute;
        left: -5px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: gold; /* linear-gradient(to bottom, transparent, gold, transparent);*/
    }


.arb-wrapper {
    display: block;
    justify-content: flex-end;
    max-width: 100%;
    position: relative;
    width: auto;
    min-width: 360px;
}



.arb-box {
    display: grid;
    grid-template-columns: 10px 80px 50px 50px 80px;
    column-gap: 10px;
    row-gap: 6px;
    background: rgba(0, 255, 150, 0.12);
    border: 1px solid rgba(0, 255, 150, 0.45);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    align-items: center;
    row-gap: 2px;
    margin-bottom: 20px;
    padding: 10px 12px;
}

    .arb-box div {
        white-space: nowrap;
        margin: 2px 0;
        font-size: 13px;
    }

.ai-title, .arb-title {
    margin-bottom: 6px;
}

/*
.arb-box {
    background: rgba(0, 255, 150, 0.12);
    border: 1px solid rgba(0, 255, 150, 0.45);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
}

.arb-box {
    display: grid;
    grid-template-columns: 30px 1fr 60px 70px 70px;
    row-gap: 6px;
    column-gap: 6px;
    align-items: center;
    font-size: 13px;
}
*/
/*.arb-box {
    display: grid;
    grid-template-columns: 30px 1fr 60px 70px 70px;
    row-gap: 4px;*/


   /* background: rgba(0, 255, 170, 0.08);
    border: 1px solid rgba(0, 255, 170, 0.25);
    border-radius: 10px;
    padding: 10px 12px;*/
/*}*/

.arb-title {
    grid-column: 1 / -1;
    text-align: right; /* 👈 ovo rešava “lebdenje” */
    font-weight: 700;
    color: #00ffcc;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0,255,150,0.2);
    margin-bottom: 4px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.arb-head {
    font-weight: 600;
    opacity: 0.8;
}

/*.arb-box {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto auto auto;
    gap: 6px 10px;
    align-items: center;
    width: auto;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.2;
}


.arb-title {
    font-size: 14px;
    font-weight: 600;
    color: #00ffc3;
    margin-bottom: 4px;
}*/


    .arb-box > div:nth-child(-n+5) {
        font-size: 12px;
        font-weight: 600;
        opacity: 0.8;
        letter-spacing: 0.5px;
    }

.arb-box a {
    color: #00d4ff;
    text-decoration: none;
    white-space: nowrap;
}

        .arb-box a:hover {
            color: #80c0ff;
            text-decoration: underline;
        }

.ai-box > div {
    margin: 4px 0;
}

    .ai-box div:last-child {
        margin-bottom: 0;
    }

.ai-best {
    color: #00ffcc;
    font-size: 12px;
    margin-left: 6px;
}


.ai-best {
    margin-left: 6px;
    font-size: 12px;
}

    .ai-best.strong {
        color: #00ffcc;
    }

    .ai-best.weak {
        color: #888;
    }






.arb-box div:nth-child(5n + 3),
.arb-box div:nth-child(5n + 4),
.arb-box div:nth-child(5n + 5) {
    text-align: right;
}

.arb-box > div:nth-child(-n+5) {
    opacity: 0.7;
    font-size: 11px;
}

    .arb-box > div:nth-child(2) {
        text-align: left;
    }

    .arb-box > div:nth-child(1) {
        text-align: center;
    }

.modal-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    isolation: isolate;
}



.odds-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.odds-top {
    display: grid;
    grid-template-columns: 1fr 220px 320px;
    gap: 16px;
    align-items: start;
}

.odds-info {
    min-width: 0; /* VAŽNO - sprečava lom */
}

.odds-ai {
    width: 220px;
}

.odds-arb {
    width: 320px;
}

.odds-table-wrapper {
    width: 100%;
    overflow-x: auto; /* ako zatreba */
}

.odds-ai,
.odds-arb {
    height: fit-content;
    height: 100%;
}

.odds-top {
    display: grid;
    grid-template-columns: 1fr 220px 320px;
    gap: 16px;
    align-items: stretch; /* 👈 ključ */
}

.odds-ai > div,
.odds-arb > div {
    height: 100%;
}

.ai-highlight {
    color: #00ffcc;
    font-weight: 600;
}


.match-info {
    max-width: 260px;
    min-width: 220px;
}

.match-title {
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
    max-width: 240px;
}


.modal-top {
    display: grid;
    grid-template-columns: 260px 1fr 1fr;
    gap: 20px;
    align-items: start;
}


.teammodal {
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    justify-content: flex-start;
    text-align: left;
}

.teammodal {
    font-weight: 600;
    font-size: large;
}

    .team.away {
        opacity: 0.85;
        margin-top: 2px;
    }


.ai-fair-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    row-gap: 4px;
    column-gap: 10px;
    align-items: center;
 
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.05);
}



.ai-fair-grid div:nth-child(3n+1) {
    /* Home / Draw / Away */
    color: #aaa;
}

.ai-fair-grid div:nth-child(3n+2) {
    /* procenti */
    text-align: center;
    font-weight: 600;
}

.ai-fair-grid div:nth-child(3n+3) {
    /* kvote */
    text-align: right;
    opacity: 0.85;
}
/*
.ai-fair-grid {
    display: grid;
    grid-template-columns: 20px 1fr 60px;
    row-gap: 6px;
    column-gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    width: 100%;
    row-gap: 3px;
    margin-top: 6px;
}

    .ai-fair-grid div {
        white-space: nowrap;
    }

        .ai-fair-grid div:nth-child(3n) {
            text-align: right;
            opacity: 0.8;
        }*/


/*.ai-probs {
    display: flex;
    gap: 12px;
    white-space: nowrap;
}*/

.ai-probs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.ai-box {
    padding: 10px 12px;
}

.ai-row {
    margin: 4px 0;
    font-size: 13px;
}






.team {
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    justify-content: flex-start;
    text-align: left;
}

/*.team {
    font-weight: 600;
    font-size: larger;
}
*/


.odds-header {
    display: grid;
    grid-template-columns: 200px 80px 80px 80px 80px 80px 80px 80px 100px;
    margin-bottom: 16px; /* probaj 12–20px */
}


.odds-layout {
    display: grid;
    grid-template-columns: 1fr 220px 320px;
    column-gap: 20px;
    align-items: start;
}

.odds-left {
    min-width: 0;
}

.odds-middle {
    width: 200px;
}

.odds-right {
    width: 300px;
    justify-self: end;
    position: relative; /* 👈 ključno */
    z-index: 1;
    margin-left: 10px;
}



.odds-middle,
.odds-right {
    margin-top: 26px; /* fino poravnanje sa header redom */
}


/*.odds-left {
    flex: 1;
    min-width: 0;*/ /* 🔥 bitno za overflow */
/*}

.odds-right {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    flex-shrink: 0;*/ /* 🔥 KLJUČ */
    /*max-width: 260px;*/ /* ili 240px po ukusu */
    /* grid-column: 7 / 10;*/
/*}*/






/*.odds-left {
    min-width: 0;*/ /* 🔑 VAŽNO - sprečava overflow */
/*}*/



.live-refresh {
    display: inline-flex;
    align-items: center;
}
    .live-refresh input {
        margin: 0;
        transform: translateY(1px); /* mikro tweak */
    }




.modal-value-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.modal-value-item {
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    font-size: 13px;
}

.modal-value-pos {
    color: #00ff9c;
}

.modal-value-neg {
    color: #ff5c5c;
}

#oddsModal .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#oddsModal .full-table {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#oddsModal .ai-row,
#oddsModal .value-row {
    display: grid;
    grid-template-columns: minmax(130px, 1.5fr) repeat(7, minmax(65px, 1fr)) minmax(90px, 1.2fr);
    align-items: center;
}

#oddsModal .container,
#oddsModal .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

#oddsModal .full-table {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#oddsModal .full-table,
#oddsModal .row,
#oddsModal .header,
#oddsModal .value-row {
    transform: none;
    left: 0;
}






/* 🔥 JEDINA MODAL DEFINICIJA */

.bl-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    row-gap: 1px;
}

    .bl-modal.show {
        display: flex;
    }

.bl-modal-content {
    position: relative;
    isolation: isolate; /* 🔑 KLJUČNO */

    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    /*bootst*/

    width: 85vw;
    max-width: 950px;

    row-gap: 1px;

    margin: 40px auto;
}




.ai-title {
    font-weight: 600;
}

.ai-confidence {
    font-size: 11px;
    opacity: 0.7;
}

.ai-recommended {
    outline: 2px solid #00ffc3;
    box-shadow: 0 0 6px rgba(0,255,200,0.4);
}


.ai-box {
    background: rgba(0, 180, 255, 0.08);
    border: 1px solid rgba(0, 180, 255, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
}

/*.ai-box {
    min-width: 140px;
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient( 135deg, rgba(0,255,200,0.12), rgba(0,255,200,0.05) );
    border: 1px solid rgba(0,255,200,0.25);
    font-size: 12px;
    line-height: 1.4;
}*/

/*.ai-box {
    min-width: 120px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0, 255, 200, 0.08);
    border: 1px solid rgba(0,255,200,0.2);
    font-size: 12px;
}*/

.ai-title {
    color: #00ffc3;
    font-weight: 600;
    margin-bottom: 4px;
}

.ai-row {
    opacity: 0.85;
}



.arb-wrapper,
.ai-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}






.best-odd {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

    .best-odd::after {
        content: "BEST";
        font-size: 9px;
        position: absolute;
        top: -6px;
        right: -6px;
        background: #00ffcc;
        color: black;
        padding: 2px 4px;
        border-radius: 4px;
    }





















/* VRATI GRID ZA ODDS */
.match-row > div.odds-1x2,
.match-row > div.odds-goals,
.match-row > div.odds-gg {
    display: grid !important;
}

/* BOOTSTRAP RESET */
.row {
    padding: 4px 0; /* ili čak 3px */
    line-height: 1.2;
}
[class*="col-"] {
    padding: 0 !important;
}



/* ALIGN */
/*.header-row > div,
.match-row > div {
    display: flex;
    align-items: center;
    justify-content: center;
}*/

    /* FIRST COLUMN LEFT */
    /*.header-row > div:first-child,
    .match-row > div:first-child {
        justify-content: flex-start;
        text-align: left;
        padding-left: 10px;
    }



.header-row,
.table-body {
    margin: 0;
    width: 100%;
}*/



/*
.main-grid {
    display: grid;
    grid-template-columns: 220px 100px 260px 180px 180px 120px;
    align-items: center;
    gap: 10px;
    width: 100%;
}



.header-row {
    display: grid;
    grid-template-columns: 220px 100px 260px 180px 180px 120px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #111;
    color: #aaa;
    font-weight: bold;
}

.match-row {
    display: grid;
    grid-template-columns: 220px 100px 260px 180px 180px 120px;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    min-height: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.match-row,
.header-row {
    box-sizing: border-box;
}*/

.ai-row {
    display: grid;
    grid-template-columns: 160px repeat(3, 80px);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #00e5ff;

}

#oddsModal .ai-row {
    font-weight: 500;
    color: #00e5ff;
}

#oddsModal .ai-row,
#oddsModal .value-row {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.ai-label {
    color: #00e6ff;

}

.value-label {
    color: #00e6c3;
    font-weight: 600;
}


.value-pos {
    color: #00ff9c;
    font-weight: bold;
}

.value-neg {
    color: #ff5c5c;
}

.value-strong {
    color: #00ff9c;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(0,255,156,0.6);
}



.odd {
    min-width: 55px;
    text-align: center;
    color: whitesmoke;
}



.odd-row {
    display: flex;
    align-items: center;
    padding: 4px 0;
}


/* kvota */
.odd-value {
    width: 60px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* freshness */
.freshness {
    width: 50px;
    text-align: right;
    font-size: 12px;
}




.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff3b3b;
    border-radius: 50%;
    margin-right: 6px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}





.filters {
    margin-bottom: 15px;
    margin: 0 auto;
    width: fit-content;
    padding-bottom: 10px;
}

.filter {
    padding: 6px 12px;
    margin-right: 8px;
    background: #222;
    color: #ccc;
    border-radius: 6px;
    text-decoration: none;
}

    .filter:hover {
        background: #333;
        color: yellow;
    }

    .filter.active {
        background: #00c853;
        color: #000;
        font-weight: bold;
    }


.odds-row {
    display: grid;
    grid-template-columns: 1fr 80px 100px;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bookmaker {
    text-align: left;
}


.time {
    text-align: right;
    font-size: 12px;
    color: #888;
}
    .time.fresh {
        color: #00e676;
    }
    /* zeleno */
    .time.mid {
        color: #ffc107;
    }
    /* žuto */
    .time.old {
        color: #888;
    }
    /* sivo */






.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}


.mini-label {
    font-size: 10px;
    color: #888;
    text-align: center;
    line-height: 1;
    margin-bottom: 2px;
}


.mini {
    font-size: 11px;
    color: #888;
    text-align: center;
}

.odds-1x2 {
    display: grid;
    grid-template-columns: repeat(3, 60px);
    grid-template-rows: auto auto;
    justify-content: center;
    align-content:center;
    gap: 2px 8px;
}

    .odds-1x2 .mini {
        font-size: 10px;
        color: #888;
        text-align: center;
    }

    .odds-1x2 .odd {
        text-align: center;
    }


.odds-goals,
.odds-gg {
    display: grid;
    grid-template-columns: repeat(2, 55px);
    justify-content: center;
    align-content: center;
    gap: 6px;
    align-items: center;
}

    .odds-goals .mini-labels,
    .odds-gg .mini-labels {
        display: contents;
    }





.odds-values {
    display: flex;
    gap: 6px;
}

/*.levirazdelnik {
    border-left: 3px solid gold;
}*/


/*.value {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 12px;
    padding-left: 12px;
    font-size: small;   
}


    .value span {
        color: gold;
        margin-right: 5px;
        font-size: smaller;
        font-weight: 400;
    }

    .value:empty {
        border-left: none;
    }
*/



.btn-outline-light {
    border-color: rgba(255,255,255,0.2);
    color: #ccc;
}

    .btn-outline-light:hover {
        background: rgba(255,255,255,0.1);
    }




.empty {
    background: #3a3a3a;
    color: #777;
}



.divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 10px;
}


.match {
    text-align: left;
}

    .match strong {
        display: block;
    }


.teams {
    display: flex;
    flex-direction: column;
    color: whitesmoke;
    cursor: pointer;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 20px;
    font-weight: 600;
}

    .teams > div {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }



.time1 {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
    color: #aaa;
    text-align: left;
}

.status {
    text-align: center;
}

    .status .live {
    color: red;
    font-weight: bold;
    font-size:smaller;
}

    .status .soon {
        color: orange;
        font-size: smaller;
    }


    .status finished {
        color: #888;
        font-weight: normal;
        font-size: smaller;
    }




@keyframes glow {
    0% {background: rgba(0,229,255,0.1);}
    50% {background: rgba(0,229,255,0.25);}
    100% {background: rgba(0,229,255,0.1);}
}



body {
    font-size: 14px;
}

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }
}


#oddsModal .match-row,
#oddsModal .header-row,
#oddsModal .value-row {
    grid-template-columns: minmax(140px, 1.5fr) repeat(7, minmax(60px, 1fr)) minmax(80px, 1.2fr);
}

#oddsModal .full-table {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
}

.modal-table .match-row,
.modal-table .header-row,
.modal-table .value-row {
    grid-template-columns: 180px 70px 70px 70px 70px 70px 70px 70px 100px;
}

.modal-table .header,
.modal-table .row,
.modal-table .value-row {
    grid-template-columns: 130px repeat(7, 70px) 90px;
}


/*.match-row,
.header-row,
.value-row {
    grid-template-columns: minmax(140px, 1.5fr) repeat(7, minmax(60px, 1fr)) minmax(80px, 1.2fr);
}*/

.full-table {
    display: grid;
    /*   gap: 6px;*/
    row-gap: 4px; /* ili čak 2px */
    width: 100%;
    overflow-x: auto;
    row-gap: 1px;



    position: relative;
    z-index: 0;
}




    /* IDENTIČAN GRID ZA HEADER I ROW */
    .full-table .header,
    .full-table .row {
        display: grid;
        grid-template-columns: 160px repeat(7, 80px) 110px;
        align-items: center;
        row-gap: 2px;
    }

    /* HEADER */
    .full-table .header {
        font-weight: 600;
        color: #aaa;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 6px;
    }

        /* 🔥 CENTRALNO PORAVNANJE */
        .full-table .header div,
        .full-table .row div {
            display: flex;
            align-items: center;
            justify-content: center;
            row-gap: 2px;
        }

            /* BOOKMAKER LEFT */
            .full-table .header div:first-child,
            .full-table .row div:first-child {
                justify-content: flex-start;
                padding-left: 8px;
            }

            /* TIME COLUMN */
            .full-table .header div:last-child,
            .full-table .row div:last-child {
                justify-content: flex-end;
                padding-right: 8px;
                font-size: 12px;
                color: #888;
            }

    /* ROW STYLE */
    .full-table .row {
        padding: 4px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        column-gap: 6px;
        row-gap: 0;
    }

        .full-table .row:hover {
            background: rgba(255,255,255,0.03);
        }

        .full-table .row div:hover {
            background: rgba(255,255,255,0.05);
            transition: 0.15s;
        }

        .full-table .row div:nth-child(5),
        .full-table .row div:nth-child(7) {
            position: relative;
        }

            .full-table .row div:nth-child(5)::before,
            .full-table .row div:nth-child(7)::before {
                content: "";
                position: absolute;
                left: -4px;
                top: 20%;
                bottom: 20%;
                width: 2px;
                background: rgba(255,215,0,0.6);
            }


    .full-table .header {
        letter-spacing: 0.5px;
    }




/* BEST ODDS */
.best {
    padding: 2px 6px;
    border-radius: 4px;
    background: #2ecc71;
    color: #000;
  /*  font-weight: 600;*/
    margin: 0 2px;

    /*---*/
    color: black;
    font-weight: bold;
    position: relative;
}

/* LINKS */
.bookmaker-link {
    color: #ddd;
    text-decoration: none;
}

    .bookmaker-link:hover {
        color: #00e6ff;
    }








.bl-modal-toolbar {
    margin-bottom: 10px;
    font-size: 14px;
    color: #aaa;
}

    .bl-modal-toolbar input {
        margin-right: 6px;
    }

.loading {
    color: #aaa;
    text-align: center;
    padding: 10px;
}

.empty {
    color: #888;
    text-align: center;
}

.error {
    color: red;
    text-align: center;
}




.arb-table {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    align-items: center;
}

    .arb-table div {
        padding: 6px;
    }

        .arb-table div:nth-child(-n+5) {
            font-weight: bold;
            color: #aaa;
        }


arb-total {
    text-align: right;
    font-weight: bold;
    color: #00e5ff;
    margin-top: 10px;
}












.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}


.odds-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.odds-group {
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}






.odd.clickable {
    cursor: pointer;
}

.arb-stakes.clickable {
    cursor: pointer;
    padding-bottom: 3px;
}



.fresh {
    color: #2ecc71; /* zeleno */
}

.mid {
    color: #f1c40f; /* žuto */
}

.stale {
    color: #e74c3c; /* crveno */
}






.odds-group,
.odds-values,
.odd {
    opacity: 1 !important;
}



.sortable {
    cursor: pointer;
}

    .sortable:hover {
        color: gold; /* #00ff99;*/
    }




.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}





/* MODAL BOX */
.bookmaker-modal {
    background: #1b1b1b;
    color: #ddd;
    width: 320px;
    margin: 8% auto;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* HEADER */
.bl-modal-header {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

    .bl-modal-header .close {
        cursor: pointer;
        color: #aaa;
    }

        .bl-modal-header .close:hover {
            color: white;
        }

.bookmaker-link {
    color: #ddd;
    text-decoration: none;
}

    .bookmaker-link:hover {
        color: #00e6ff;
    }










/* BODY */
.bl-modal-body {
    max-height: 300px;
    overflow-y: auto;
}

/* ACTION BUTTONS */
.bookmaker-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .bookmaker-actions button {
        background: #2a2a2a;
        border: none;
        color: #ccc;
        padding: 5px 10px;
        border-radius: 6px;
        cursor: pointer;
    }

        .bookmaker-actions button:hover {
            background: #3a3a3a;
        }

/* LIST */
.bookmaker-list label {
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
}

    .bookmaker-list label:hover {
        background: #252525;
    }

.bookmaker-list input {
    margin-right: 8px;
}

/* FOOTER */
.bl-modal-footer {
    margin-top: 12px;
    text-align: right;
}

.apply-btn {
    background: #00c853;
    color: black;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

    .apply-btn:hover {
        background: #00e676;
    }



.freshness-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
    color: #ccc;
}

    .freshness-filter input[type="number"] {
        width: 60px;
        padding: 4px;
        background: #111;
        border: 1px solid #333;
        color: #fff;
    }





.odd-up {
    animation: flashGreen 0.6s ease;
}

.odd-down {
    animation: flashRed 0.6s ease;
}


.body {
    background: #121212 !important;
    color: whitesmoke;
}

@keyframes flashGreen {
    0% {
        background: rgba(46,204,113,0.8);
    }

    100% {
        background: transparent;
    }
}

@keyframes flashRed {
    0% {
        background: rgba(231,76,60,0.8);
    }

    100% {
        background: transparent;
    }
}




.match-time {
    font-size: 13px;
    color: #aaa;
}

.league {
    font-size: 12px;
    color: #888;
}

.live-refresh {
    margin-top: 6px;
    font-size: 13px;
}

































a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}



.bodyLiveOdds {
    margin-bottom: 60px;
    /*color: #eaeaea;*/
    color: whitesmoke;
    background: #121212;

}


.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


.html {
   /* background-color: red;
    background: red;*/
    /*#121212 ;*/
}
