/* تنسيقات المكونات المشتركة */

/* القوائم الجانبية (الأخبار، البطولات) */
.sidebar-box {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 20px;
}

.sidebar-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

/* قائمة البطولات (العمود الأيمن) */
.leagues-list {
    display: flex;
    flex-direction: column;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-primary);
    transition: background-color 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.league-item:last-child {
    border-bottom: none;
}

.league-item:hover {
    background-color: var(--bg-hover);
}

.league-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* كروت الأخبار (العمود الأيسر) */
.news-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.news-card:hover {
    background-color: var(--bg-hover);
}

.news-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.news-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-source {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* صندوق الترويج الخاص بتشكيلة الفريق (كما في الصورة) */
.promo-box {
    background: linear-gradient(135deg, #00985f 0%, #00b270 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.promo-box h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.promo-box p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.promo-btn {
    background-color: white;
    color: var(--color-primary);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.promo-btn:hover {
    background-color: #f0f0f0;
}
