/* =========================================================================
   مباريات الدوري — تصميم جديد بالكامل (ثابت، بدون حركة، متجاوب 100%)
   ========================================================================= */

.fixtures-pro {
    display: block;
    width: 100%;
}

.fixtures-pro .fixtures-day {
    margin-bottom: 30px;
}

.fixtures-pro .fixtures-day-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.fixtures-pro .fixtures-day-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .fixtures-pro .fixtures-day-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------------
   البطاقة (Fixture Card)
   ----------------------------------------------------------- */
.fixtures-pro .fixture {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
}

/* إزالة التأثيرات الحركية تماماً */
.fixtures-pro .fixture, 
.fixtures-pro .fixture * {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

.fixtures-pro a.fixture:hover {
    border-color: #16a34a;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.1);
}

.fixtures-pro .fixture.is-live {
    border-color: #fca5a5;
    background: #fef2f2;
}
.fixtures-pro .fixture.is-pre {
    border-color: #fcd34d;
    background: #fffbeb;
}
.fixtures-pro .fixture.is-finished {
    background: #f8fafc;
}

/* -----------------------------------------------------------
   الصف الداخلي (Row) — فليكس مرن ومحمي
   ----------------------------------------------------------- */
.fixtures-pro .fixture-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    gap: 10px;
}

/* -----------------------------------------------------------
   الأعمدة (الفرق)
   ----------------------------------------------------------- */
.fixtures-pro .fx-team-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
}

.fixtures-pro .fx-logo-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    padding: 10px;
}
.fixtures-pro .fixture.is-live .fx-logo-wrap {
    background: #fff;
    border-color: #fecaca;
}
.fixtures-pro .fx-logo-wrap img,
.fixtures-pro .fx-logo-wrap .team-logo-fallback {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fixtures-pro .fx-team-col .name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    line-height: 1.4;
    word-break: break-word;
    /* منع خروج النص الطويل */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* -----------------------------------------------------------
   الوسط (النتيجة والوقت)
   ----------------------------------------------------------- */
.fixtures-pro .fx-center {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}
.fixtures-pro .fixture.is-live .fx-center {
    background: #fee2e2;
    border-color: #fca5a5;
}

.fixtures-pro .fx-score {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    direction: ltr;
}
.fixtures-pro .fixture.is-live .fx-score {
    color: #dc2626;
}

.fixtures-pro .fx-kickoff-time {
    font-size: 20px;
    font-weight: 900;
    color: #16a34a;
}
.fixtures-pro .fx-kickoff-date {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-top: 4px;
}

.fixtures-pro .fx-status-pill {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.fixtures-pro .fx-status-pill.live {
    background: #fee2e2;
    color: #dc2626;
}
.fixtures-pro .fx-status-pill.live.pre {
    background: #fef3c7;
    color: #b45309;
}
.fixtures-pro .fx-status-pill.upcoming {
    background: #dcfce7;
    color: #166534;
}
.fixtures-pro .fx-status-pill.finished {
    background: #e2e8f0;
    color: #475569;
}
/* نقطة الحالة الثابتة (بدون حركة) */
.fixtures-pro .fx-status-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* -----------------------------------------------------------
   تذييل البطاقة (المعلومات الإضافية)
   ----------------------------------------------------------- */
.fixtures-pro .fx-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}
.fixtures-pro .fixture.is-live .fx-meta {
    background: #fff5f5;
    border-color: #fee2e2;
}

.fixtures-pro .fx-events-link,
.fixtures-pro .fx-events-btn {
    color: #dc2626;
    font-weight: 800;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #fee2e2;
    border-radius: 6px;
}

/* -----------------------------------------------------------
   التبويبات العلوية (الكل / اليوم / إلخ)
   ----------------------------------------------------------- */
.lf-board {
    margin-top: 16px;
}
.lf-board-head {
    margin-bottom: 24px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.lf-board-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.lf-board-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}
.lf-board-total {
    font-size: 13px;
    font-weight: 800;
    color: #16a34a;
    background: #dcfce7;
    padding: 4px 10px;
    border-radius: 6px;
}
.lf-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lf-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
}
.lf-tab.is-active {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}
.lf-tab-count {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #475569;
}
.lf-tab.is-active .lf-tab-count {
    background: #ffffff;
    color: #16a34a;
}
.lf-panel {
    display: none;
}
.lf-panel.is-active {
    display: block;
}
.lf-panel-empty {
    text-align: center;
    padding: 30px;
    font-weight: 700;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

/* -----------------------------------------------------------
   شاشات الجوال والتجاوب
   ----------------------------------------------------------- */
@media (max-width: 640px) {
    .fixtures-pro .fixture-row {
        padding: 16px 12px;
        gap: 6px;
    }
    
    .fixtures-pro .fx-logo-wrap {
        width: 50px;
        height: 50px;
        padding: 6px;
    }
    
    .fixtures-pro .fx-team-col .name {
        font-size: 13px;
    }
    
    .fixtures-pro .fx-center {
        min-width: 80px;
        padding: 8px;
    }
    
    .fixtures-pro .fx-score {
        font-size: 26px;
    }
    
    .fixtures-pro .fx-kickoff-time {
        font-size: 16px;
    }
}

