/* BİREYSEL MAÇ SATIRI (FİKSTÜR) */
.mac-satiri {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-body);
    padding: 12px 18px;
    margin-bottom: 12px;
    border-radius: 6px;
    border-left: 5px solid var(--accent-blue);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mac-satiri.oynandi {
    border-left-color: var(--success-green); 
    background-color: var(--bg-container);
}

.mac-satiri.kilitli { 
    opacity: 0.5; 
    border-left-color: var(--text-muted); 
    box-shadow: none; 
}

.mac-detay { display: flex; align-items: center; flex: 1; font-size: 1.2rem; }
.takim-sol { flex: 1; text-align: right; }
.takim-sag { flex: 1; text-align: left; }

/* SKOR KUTUSU */
.skor-kutusu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;  
    flex-shrink: 0;    
    padding: 0 10px;
}

.skor-ana {
    font-weight: bold;
    color: var(--accent-red);
    white-space: nowrap;
}

.skor-ekstra {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: bold;
    margin-top: 2px;
    white-space: nowrap;
}

.mac-aksiyon { margin-left: 15px; min-width: 80px; text-align: center; }
.kilit-ikon { font-size: 1.4rem; color: var(--text-muted); cursor: not-allowed; }

/* KUTU ALANLARI VE LOADER (YÜKLEME ANİMASYONU) */
.sonuclar-alani, .istatistikler-alani {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    min-height: 200px;
}

/* Tam ekranda sonuç alanının tüm boşluğu doldurmasını sağla */
.container.genis-ekran .sonuclar-alani {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
.container.genis-ekran #mac-icerik-alani {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#loading-ekrani {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0, 0.7);
    border-radius: 12px; z-index: 10;
}

.spinner {
    width: 50px; height: 50px; border-radius: 50%; margin-bottom: 15px;
    border: 5px solid var(--bg-body);
    border-top: 5px solid var(--accent-red); 
    animation: spin 1s linear infinite; 
}

#loading-metni {
    color: #fff; font-size: 1.2rem; font-weight: bold;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }