/**
 * تصاميم عرض المباريات المتعددة
 * AlbaSportTheme - Match Templates Styles
 */

/* المتغيرات العامة */
.alba-matches-container {
    width: 100%;
    margin: 20px 0;
}

/* التصميم 1: الكلاسيكي */
.alba-matches-container.style1 .alba-match-item {
    background: var(--alba-card-bg, #ffffff);
    border-radius: var(--alba-radius, 15px);
    padding: 20px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.alba-matches-container.style1 .alba-match-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.alba-matches-container.style1 .alba-match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alba-matches-container.style1 .alba-team {
    flex: 1;
    text-align: center;
}

.alba-matches-container.style1 .alba-team-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
}

.alba-matches-container.style1 .alba-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alba-matches-container.style1 .alba-team-name {
    font-weight: bold;
    font-size: 16px;
    color: var(--alba-card-text, #333);
}

.alba-matches-container.style1 .alba-match-vs {
    font-weight: bold;
    font-size: 20px;
    color: var(--alba-accent, #667eea);
    margin: 0 20px;
}

.alba-matches-container.style1 .alba-match-time {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    color: var(--alba-accent, #667eea);
    font-weight: bold;
}

/* التصميم 2: العصري */
.alba-matches-container.style2 .alba-match-item {
    background: linear-gradient(135deg, var(--alba-accent, #667eea) 0%, var(--alba-hover, #764ba2) 100%);
    border-radius: var(--alba-radius, 15px);
    padding: 25px;
    margin-bottom: 8px;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.alba-matches-container.style2 .alba-match-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.alba-matches-container.style2 .alba-match-header {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.alba-matches-container.style2 .alba-match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alba-matches-container.style2 .alba-team {
    flex: 1;
    text-align: center;
}

.alba-matches-container.style2 .alba-team-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    overflow: hidden;
}

.alba-matches-container.style2 .alba-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alba-matches-container.style2 .alba-team-name {
    font-weight: bold;
    font-size: 16px;
}

.alba-matches-container.style2 .alba-match-score {
    font-size: 32px;
    font-weight: bold;
    margin: 0 20px;
}

/* التصميم 3: البطاقات */
.alba-matches-container.style3 .alba-match-item {
    background: var(--alba-card-bg, #ffffff);
    border-radius: var(--alba-radius, 15px);
    padding: 20px;
    margin-bottom: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.alba-matches-container.style3 .alba-match-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.alba-matches-container.style3 .alba-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.alba-matches-container.style3 .alba-live-badge {
    background: #ff4444;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.alba-matches-container.style3 .alba-match-time-badge {
    background: var(--alba-accent, #667eea);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.alba-matches-container.style3 .alba-teams-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alba-matches-container.style3 .alba-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.alba-matches-container.style3 .alba-team-row:hover {
    background: #e8e8e8;
    transform: translateX(-5px);
}

.alba-matches-container.style3 .alba-team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alba-matches-container.style3 .alba-team-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.alba-matches-container.style3 .alba-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alba-matches-container.style3 .alba-team-name {
    font-weight: bold;
    color: var(--alba-card-text, #333);
}

.alba-matches-container.style3 .alba-team-score {
    font-size: 24px;
    font-weight: bold;
    color: var(--alba-accent, #667eea);
}

/* التصميم 4: الاحترافي */
.alba-matches-container.style4 .alba-match-item {
    background: var(--alba-card-bg, #ffffff);
    border-radius: var(--alba-radius, 15px);
    padding: 25px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 5px solid var(--alba-accent, #667eea);
    transition: all 0.3s ease;
}

.alba-matches-container.style4 .alba-match-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.alba-matches-container.style4 .alba-match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.alba-matches-container.style4 .alba-league-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: var(--alba-accent, #667eea);
}

.alba-matches-container.style4 .alba-match-date {
    color: #666;
    font-size: 14px;
}

.alba-matches-container.style4 .alba-match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alba-matches-container.style4 .alba-team {
    flex: 1;
    text-align: center;
}

.alba-matches-container.style4 .alba-team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.alba-matches-container.style4 .alba-team-logo:hover {
    border-color: var(--alba-accent, #667eea);
    transform: scale(1.1);
}

.alba-matches-container.style4 .alba-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alba-matches-container.style4 .alba-team-name {
    font-weight: bold;
    font-size: 18px;
    color: var(--alba-card-text, #333);
}

.alba-matches-container.style4 .alba-match-vs {
    font-weight: bold;
    font-size: 24px;
    color: var(--alba-accent, #667eea);
    margin: 0 20px;
}

/* التصميم 5: المينيمال */
.alba-matches-container.style5 .alba-match-item {
    background: var(--alba-card-bg, #ffffff);
    border-radius: var(--alba-radius, 8px);
    padding: 15px 20px;
    margin-bottom: 6px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.alba-matches-container.style5 .alba-match-item:hover {
    border-color: var(--alba-accent, #667eea);
    background: #f9f9f9;
}

.alba-matches-container.style5 .alba-match-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alba-matches-container.style5 .alba-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alba-matches-container.style5 .alba-team-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
}

.alba-matches-container.style5 .alba-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alba-matches-container.style5 .alba-team-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--alba-card-text, #333);
}

.alba-matches-container.style5 .alba-match-time {
    font-weight: bold;
    color: var(--alba-accent, #667eea);
    padding: 0 15px;
    font-size: 16px;
}

/* التصميم 6: المتدرج */
.alba-matches-container.style6 .alba-match-item {
    background: linear-gradient(135deg, var(--alba-accent, #667eea) 0%, var(--alba-hover, #764ba2) 100%);
    border-radius: var(--alba-radius, 15px);
    padding: 25px;
    margin-bottom: 8px;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.alba-matches-container.style6 .alba-match-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alba-matches-container.style6 .alba-match-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.alba-matches-container.style6 .alba-match-header {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.alba-matches-container.style6 .alba-match-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 1;
}

.alba-matches-container.style6 .alba-team {
    text-align: center;
}

.alba-matches-container.style6 .alba-team-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.alba-matches-container.style6 .alba-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alba-matches-container.style6 .alba-team-name {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
}

.alba-matches-container.style6 .alba-team-score {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
}

.alba-matches-container.style6 .alba-match-vs {
    font-size: 28px;
    font-weight: bold;
    margin: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .alba-matches-container.style1 .alba-match-content,
    .alba-matches-container.style2 .alba-match-content,
    .alba-matches-container.style4 .alba-match-content,
    .alba-matches-container.style6 .alba-match-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .alba-matches-container.style1 .alba-match-vs,
    .alba-matches-container.style2 .alba-match-score,
    .alba-matches-container.style4 .alba-match-vs,
    .alba-matches-container.style6 .alba-match-vs {
        margin: 10px 0;
    }
    
    .alba-matches-container.style5 .alba-match-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .alba-matches-container.style5 .alba-team {
        width: 100%;
        justify-content: center;
    }
}
