/* WC2026 Live Blog - Frontend Styles */

:root {
    --wc2026-primary:    #1a4c96;
    --wc2026-accent:     #e63946;
    --wc2026-green:      #2dc653;
    --wc2026-bg:         #f8f9fa;
    --wc2026-border:     #dee2e6;
    --wc2026-text:       #212529;
    --wc2026-muted:      #6c757d;
    --wc2026-card-bg:    #ffffff;
    --wc2026-radius:     8px;
}

/* ---- Live dot animation ---- */
.wc2026-live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--wc2026-accent);
    border-radius: 50%;
    animation: wc2026-pulse 1.2s infinite;
    margin-right: 5px;
}
@keyframes wc2026-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.8); }
}

/* ---- Widget ---- */
.wc2026-widget {
    background: var(--wc2026-card-bg);
    border: 1px solid var(--wc2026-border);
    border-radius: var(--wc2026-radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.wc2026-widget-header {
    background: var(--wc2026-primary);
    color: #fff;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}
.wc2026-no-matches, .wc2026-no-events, .wc2026-error {
    padding: 20px;
    text-align: center;
    color: var(--wc2026-muted);
    font-style: italic;
}

/* ---- Live Score Row ---- */
.wc2026-score-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wc2026-border);
    text-decoration: none;
    color: var(--wc2026-text);
    transition: background 0.15s;
}
.wc2026-score-row:hover { background: var(--wc2026-bg); }
.wc2026-score-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    font-weight: 600;
}
.wc2026-score-team--away { justify-content: flex-end; }
.wc2026-score-team img { width: 28px; height: 28px; object-fit: contain; }
.wc2026-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}
.wc2026-score-goals {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--wc2026-primary);
}
.wc2026-score-time {
    font-size: 0.75rem;
    color: var(--wc2026-accent);
    font-weight: 700;
}

/* ---- Fixtures List ---- */
.wc2026-fixtures { display: flex; flex-direction: column; gap: 4px; }
.wc2026-fixture-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--wc2026-card-bg);
    border: 1px solid var(--wc2026-border);
    border-radius: var(--wc2026-radius);
    text-decoration: none;
    color: var(--wc2026-text);
    transition: box-shadow 0.15s;
}
.wc2026-fixture-row:hover { box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.wc2026-fixture-home { font-weight: 600; }
.wc2026-fixture-away { font-weight: 600; text-align: right; }
.wc2026-fixture-score {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--wc2026-primary);
    text-align: center;
    min-width: 60px;
}
.wc2026-fixture-date { font-size: 0.8rem; color: var(--wc2026-muted); text-align: right; }
.wc2026-fixture-round { grid-column: 1 / -1; font-size: 0.75rem; color: var(--wc2026-muted); text-transform: uppercase; }

/* ---- Match Page ---- */
.wc2026-match-page { max-width: 900px; margin: 0 auto; padding: 20px; }
.wc2026-match-header {
    background: linear-gradient(135deg, var(--wc2026-primary) 0%, #0d2b5e 100%);
    color: #fff;
    border-radius: var(--wc2026-radius);
    padding: 30px 20px 20px;
    margin-bottom: 24px;
    text-align: center;
}
.wc2026-match-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    justify-content: center;
}
.wc2026-scoreboard {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}
.wc2026-team { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.wc2026-team img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.wc2026-team h2 { margin: 0; font-size: 1.1rem; font-weight: 700; color: #fff; text-align: center; }
.wc2026-score-display { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.wc2026-score-numbers { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.wc2026-score-sep { margin: 0 8px; opacity: 0.7; }
.wc2026-match-clock {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 5px;
}
.wc2026-match-clock.wc2026-live { color: #ff9a00; }
.wc2026-kickoff-time { display: flex; flex-direction: column; align-items: center; color: #fff; }
.wc2026-kickoff-time span { font-size: 2rem; font-weight: 800; }
.wc2026-kickoff-time small { font-size: 0.8rem; opacity: 0.8; }

/* ---- Tabs ---- */
.wc2026-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--wc2026-border);
}
.wc2026-tab {
    background: none;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--wc2026-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.wc2026-tab:hover { color: var(--wc2026-primary); }
.wc2026-tab.active { color: var(--wc2026-primary); border-bottom-color: var(--wc2026-primary); }

/* ---- Events ---- */
.wc2026-events-list { display: flex; flex-direction: column; gap: 2px; }
.wc2026-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wc2026-border);
}
.wc2026-event-time { font-weight: 700; color: var(--wc2026-accent); min-width: 36px; }
.wc2026-event-icon { font-size: 1.2rem; min-width: 28px; }
.wc2026-event-detail { display: flex; flex-direction: column; }
.wc2026-event-player { font-weight: 600; }
.wc2026-event-team, .wc2026-event-assist { font-size: 0.8rem; color: var(--wc2026-muted); }

/* ---- Standings Table ---- */
.wc2026-standings-group { margin-bottom: 32px; }
.wc2026-group-title { color: var(--wc2026-primary); border-bottom: 2px solid var(--wc2026-primary); padding-bottom: 8px; }
.wc2026-standings-table { width: 100%; border-collapse: collapse; }
.wc2026-standings-table th,
.wc2026-standings-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--wc2026-border); }
.wc2026-standings-table th { background: var(--wc2026-primary); color: #fff; font-size: 0.85rem; }
.wc2026-team-name { text-align: left !important; display: flex; align-items: center; gap: 8px; }
.wc2026-team-name img { width: 22px; object-fit: contain; }
.wc2026-points { font-weight: 800; color: var(--wc2026-primary); }

/* ---- Stats Table ---- */
.wc2026-stats-table { width: 100%; border-collapse: collapse; }
.wc2026-stats-table th { background: var(--wc2026-bg); padding: 10px 12px; }
.wc2026-stats-table td { padding: 10px 12px; border-bottom: 1px solid var(--wc2026-border); text-align: center; }
.wc2026-stat-label { color: var(--wc2026-muted); font-size: 0.85rem; }
.wc2026-stat-val { font-weight: 700; }

/* ---- Odds ---- */
.wc2026-odds-row { display: flex; gap: 16px; list-style: none; padding: 12px 0; }
.wc2026-odds-row li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 20px; background: var(--wc2026-bg); border-radius: var(--wc2026-radius); }
.wc2026-odds-row li strong { font-size: 1.3rem; color: var(--wc2026-accent); }

/* ---- Team Page ---- */
.wc2026-team-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.wc2026-team-logo { width: 80px; height: 80px; object-fit: contain; }
.wc2026-team-country { color: var(--wc2026-muted); margin: 4px 0 0; }

/* ---- Lineup ---- */
.wc2026-lineup { margin-bottom: 24px; }
.wc2026-lineup-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wc2026-lineup-list li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--wc2026-bg); border-radius: 4px; }
.wc2026-shirt-number { font-weight: 800; color: var(--wc2026-primary); min-width: 28px; }
.wc2026-player-pos { margin-left: auto; font-size: 0.75rem; color: var(--wc2026-muted); background: var(--wc2026-border); padding: 2px 6px; border-radius: 4px; }

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .wc2026-score-numbers { font-size: 2rem; }
    .wc2026-team img { width: 50px; height: 50px; }
    .wc2026-team h2 { font-size: 0.9rem; }
    .wc2026-fixture-row { grid-template-columns: 1fr auto 1fr; }
    .wc2026-fixture-date { display: none; }
}
