/* ===================================================================
 * CSS لعرض التشكيلة على هيئة قوائم بسيطة
 * ===================================================================
*/
.list-lineup-container {
    display: flex;
    gap: 2px; /* مسافة بين العمودين */
    padding: 2px;
    background-color: #f9f9f9;
}

.list-lineup-column {
    flex: 1; /* كل عمود يأخذ نصف المساحة */
    min-width: 0; 
    background-color: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 15px;
}

.list-team-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 15px;
}

.list-team-header img {
    width: 30px;
    height: 30px;
}

.list-team-header h4 {
    margin: 0 0 5px 0;
    font-size: 1.3em;
    color: #222;
}

.list-coach-info {
    font-size: 0.9em;
    color: #666;
}

.formation-chip {
    display: inline-block;
    background-color: #e7e7e7;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #555;
    margin-right: 5px;
    text-align: right;
}

.list-section-title {
    font-size: 1.1em;
    color: #000;
    background-color: #f5f5f5;
    padding: 8px 12px;
    margin: 20px 0 10px 0;
    border-radius: 4px;
    border-left: 4px solid #d60606;
}

.player-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.player-list li {
    display: flex;
    align-items: center;
    padding: 9px 5px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1em;
}

.player-list li:last-child {
    border-bottom: none;
}

.player-list-number {
    width: 40px; /* مساحة لرقم اللاعب */
    font-weight: bold;
    color: #888;
    text-align: center;
    font-size: 0.9em;
}

.player-list-name {
    color: #333;
}

/* --- التجاوب مع الشاشات الصغيرة --- */
@media (max-width: 768px) {
    .list-lineup-container {
        flex-direction: column; /* جعل العمودين فوق بعضهما */
        padding: 10px;
        gap: 15px;
    }
    .list-team-header h3 {
        font-size: 1.2em;
    }
}