/* =========================================
   MATCH BAR - MODERN & CLEAN STYLE
   ========================================= */

/* Dış Kapsayıcı - card-body içini tam doldurur */
.m-bar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    /* card-body yüksekliğine göre ayarlı */
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: transparent;
}

/* Kartın Ana Gövdesi */
.m-bar-card {
    width: 100%;
    max-width: 800px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

/* Durum Rozeti (Canlı / Maça Az Kaldı / Tur Bilgisi) */
.m-bar-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Canlı Mod Renkleri */
.is-live {
    background: var(--backround-1);
    color: var(--backround-1);
}

/* Yaklaşan Maç Renkleri */
.is-upcoming {
    background: #f0fdf4;
    color: #22c55e;
}

/* Canlı Nokta Animasyonu */
.m-bar-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: m-blink 1.2s infinite;
}

@keyframes m-blink {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Takımlar ve Skor Alanı */
.m-bar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.m-bar-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.m-bar-team img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    /* Logoların arkasına hafif derinlik */
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.m-bar-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Skor ve Orta Kısım */
.m-bar-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.m-bar-score {
    font-size: 36px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -1px;
    line-height: 1;
}

.m-bar-time {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
    color: #ef4444;
    /* Dakika kırmızı */
}

/* Alt Bilgi (Stad ve Round/Tur) */
.m-bar-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-footer-item {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.m-round-info {
    color: #64748b;
    font-weight: 700;
    font-size: 12px;
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    .m-bar-card {
        padding: 20px 15px;
    }

    .m-bar-score {
        font-size: 28px;
    }

    .m-bar-team img {
        width: 50px;
        height: 50px;
    }

    .m-bar-name {
        font-size: 12px;
    }
}