.betbanca-compare-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px;
    background: #101010;
    border-radius: 3px;
    width: 100%;
}

.betbanca-score-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 20px;
    height: 16px;
    color: #cdcdcd;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 2px;
    padding: 0 4px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}

.betbanca-score-separator {
    color: #454545;
    font-weight: bold;
    margin: 0 4px;
    font-size: 11px;
}

/* Hover durumunda stil */
tr:hover .betbanca-compare-info {
    background: #1a1a1a;
}

tr:hover .betbanca-score-box {
    background: #222;
    border-color: #444;
}

tr:hover .betbanca-score-separator {
    color: #555;
}

.betbanca-compare-info.final-score {
    opacity: 0.7;
}

.betbanca-compare-info.recent-update {
    animation: recentScoreUpdate 480s linear forwards;
}

@keyframes recentScoreUpdate {
    0% { color: #ff4444; }
    100% { color: #cdcdcd; }
}

.betbanca-compare-info.recent-update .betbanca-score-box {
    color: #ff4444 !important;
    animation: recentScoreUpdate 480s linear forwards !important;
}

body {
    margin: 0;
    padding: 0;
    width: auto;
    height: 100vh;
    overflow-y: auto;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    display: block;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 12px;
}

table {
    margin: 0;
    padding: 0;
    position: relative;
    /*background-color: black;*/
    border: 1px solid #151718;
    border-radius: 0;
    box-shadow: 0 0 3px #a5a5a5;
    table-layout: fixed;
    width: 100%;
    /*max-width: 1200px;*/
    font-size: 12px;
}

th {
    border: 1px solid #333;
    padding: 4px 8px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    border-radius: 3px;
    background: #1a1a1a;
    color: #cdcdcd;
    font-weight: bold;
    font-size: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.1);
}

th:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

th:hover {
    background: #222;
    transition: background 0.2s ease;
}

td {
    border: 1px solid #232222;
    padding: 4px 8px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

tr:hover {
    background-color: #333333;
}

.home-team-red { 
    color: red;
    font-weight: bold;
}

.away-team-green { 
    color: red;
    font-weight: bold;
}

.source-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    height: 18px;
    color: #cdcdcd;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 2px;
    padding: 2px 4px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.source-betbanca { 
    background: #1a1a1a;
    border-color: #b10e0e;
}

.source-futbol24 { 
    background: #1a1a1a;
    border-color: #7b1fa2;
}

.source-fonbet { 
    background: #1a1a1a;
    border-color: #2e7d32;
}

/* Yeni hover stilleri */
tr:hover .source-betbanca {
    background: #222;
    border-color: #b10e0e;
}

tr:hover .source-futbol24 {
    background: #222;
    border-color: #7b1fa2;
}

tr:hover .source-fonbet {
    background: #222;
    border-color: #2e7d32;
}

.flash-row {
    animation: flash 15s ease-in-out;
}

@keyframes flash {
    0%, 50% {background-color: transparent; border-color: transparent;}
    51%, 100% {color: red; border-color: black; border: 2px solid #ff0000;}
}

.score-info {
    font-size: 11px;
    color: #49c000;
    margin-left: 5px;
}

[data-theme="dark"] .score-info {
    color: #aaa;
}

.recently-updated {
    color: red !important;
    transition: color 0.5s ease-in-out;
    font-weight: bold;
}

@keyframes fadeRed {
    from { color: red; }
    to { color: black; }
}

.fade-red {
    animation: fadeRed 10s linear forwards;
}

.goal-image {
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-right: 5px;
}

.score-correction-info {
    font-size: 10px;
    color: #49c000;
    margin-left: 5px;
    font-weight: 500;
}



@keyframes recentScoreUpdate {
    0% { color: #ff4444; }
    100% { color: #cdcdcd; }
}

/* VAR göstergesi için yeni stiller */
.var-indicator {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
    background-color: #ff4444;
    color: white;
}

@keyframes varPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.team-name-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive tasarım için medya sorguları */
/*@media screen and (max-width: 1200px) {*/
/*    #matchTable {*/
/*        max-width: 95%;*/
/*    }*/
/*}*/

@media screen and (max-width: 768px) {
    #matchTable {
        max-width: 100%;
        padding: 0 5px;
    }

    td, th {
        padding: 2px 4px;
    }

    .source-badge {
        padding: 1px 2px;
        font-size: 9px;
    }
}

.score-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 2px;
    background: #101010;
    border-radius: 3px;
    width: 100%;
}

.score-box {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 15px;
    height: 16px;
    color: #cdcdcd;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 2px;
    padding: 0 4px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.score-separator {
    color: #454545;
    font-weight: bold;
    margin: 0 4px;
    font-size: 11px;
}

.score-correction-info {
    margin-left: 8px;
    font-size: 10px;
    color: #49c000;
    white-space: nowrap;
}

.var-bubble-container {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 200px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
    display: none;
}

.var-bubble-title {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    padding-bottom: 3px;
    border-bottom: 1px solid #ff4444;
}

.var-event {
    background: rgba(255, 68, 68, 0.2);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
}

.var-event-teams {
    color: #fff;
    font-size: 11px;
    margin-bottom: 3px;
}

.var-event-status {
    color: #ff4444;
    font-size: 10px;
    font-weight: bold;
}

@keyframes varBubblePulse {
    0% { background: rgba(255, 68, 68, 0.2); }
    100% { background: rgba(255, 68, 68, 0.2); }
}

/* Hover durumunda stil */
tr:hover .score-container {
    background: #1a1a1a;
}

tr:hover .score-box {
    background: #222;
    border-color: #444;
}

tr:hover .score-separator {
    color: #555;
}

.column-match-id {
    width: 80px;
    text-align: center;
}

.column-team {
    width: 130px;
    text-align: left;
}

.column-score {
    width: 60px;
    text-align: center;
}

.column-source {
    width: 80px;
    text-align: center;
}

.column-time {
    width: 75px;
    text-align: center;
}

.column-betbanca {
    width: 70px;
    text-align: center;
}

.match-id-cell {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 24px;
color: #fff !important;
background: #1a1a1a;
border: 1px solid #333;
border-radius: 5px;
padding: 2px 1px;
font-size: 11px;
font-weight: bold;
text-align: center;
cursor: pointer;
user-select: none;
/* opacity: 0.8; */
box-sizing: border-box;
margin: 0 auto;
max-width: 82px;
}
.match-id-cell:hover {
    opacity: 0.8;
}

/* Kopyalama bildirimi stili */
.copy-tooltip {
    position: absolute;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    transform: translateX(-50%);
    animation: tooltipFade 1s ease-in-out;
    z-index: 1000;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes tooltipFade {
    0% { opacity: 0; transform: translate(-50%, 5px); }
    20% { opacity: 1; transform: translate(-50%, 0); }
    80% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 5px); }
}
#matchTable {
    width: 100%;
    /*max-width: 871px;*/
    margin: 0;
    padding: 0;
}





/* Match ID hücresi için normal stil */
.var-row td:first-child {
    background: #1a1a1a !important;
    color: #cdcdcd !important;
    border-left: 3px solid #ff4444 !important;
    border-right: 1px solid #ff4444 !important;
}

/* VAR satırları için Match ID hücresi */
.var-row .match-id-cell {
    border-color: #ff4444 !important;
}

/* Saat hücresi için normal stil */
.var-row td:last-child {
    color: #cdcdcd !important;
}




/* VAR satırlarındaki source badge için özel stil */
.var-row .source-badge {
    background: rgba(255, 68, 68, 0.1) !important;
    border-color: #ff4444 !important;
    color: #cdcdcd !important; /* Normal metin rengi */
}

/* VAR etiket stili */
.source-badge.source-var {
    background-color: #d32f2f !important;
    color: white !important;
    font-weight: bold;
    border: 1px solid #d32f2f !important;
    min-width: 50px;
}

@keyframes varRowPulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}
.source-betbanca {color: white !important;}

.match-time {
    background-color: transparent;
    color: #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.match-time:hover {
    background-color: rgba(40, 40, 40, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .match-time {
    background-color: rgba(30, 30, 30, 0.9);
    color: #e0e0e0;
}

[data-theme="dark"] .match-time:hover {
    background-color: rgba(50, 50, 50, 0.9);
}

/* VAR satırları için saat hücresini normal görünüme getir */
.var-row .match-time {
    background-color: rgba(20, 20, 20, 0.8);
}

.var-row .match-time:hover {
    background-color: rgba(40, 40, 40, 0.9);
}

 Eski sınıfları koruyoruz 
.new-record {
    color: red !important;
    transition: color 0.3s ease;
}