/* =============================================
   FIFA World Cup 2026 – Schedule Plugin Styles
   ============================================= */

.wc2026-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 780px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
}

/* ── Header ─────────────────────────────── */
.wc2026-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: #fff;
    flex-wrap: wrap;
    gap: 12px;
}

.wc2026-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc2026-ball {
    font-size: 32px;
    line-height: 1;
}

.wc2026-header-left h2 {
    margin: 0 0 3px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border: none;
    padding: 0;
}

.wc2026-header-left p {
    margin: 0;
    font-size: 12px;
    opacity: 0.85;
}

.wc2026-header-right {
    text-align: right;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.6;
}

.wc2026-live-dot {
    color: #ff4e4e;
    font-weight: bold;
    font-size: 11px;
    animation: wc2026-blink 1.4s ease-in-out infinite;
}

@keyframes wc2026-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}

/* ── Filter Tabs ─────────────────────────── */
.wc2026-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f5f7fa;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.wc2026-tab {
    background: #fff;
    color: #444;
    border: 1px solid #d0d0d0;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.wc2026-tab:hover {
    border-color: #1a1a2e;
    color: #1a1a2e;
}

.wc2026-tab.active {
    background: #1a1a2e;
    color: #fff;
    border-color: #1a1a2e;
}

.wc2026-refreshed {
    margin-left: auto;
    font-size: 11px;
    color: #999;
    white-space: nowrap;
}

/* ── Match List ─────────────────────────── */
.wc2026-list {
    overflow-y: auto;
    background: #fff;
}

/* ── Round Header ────────────────────────── */
.wc2026-round {
    background: #1a1a2e;
    color: #fff;
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* ── Match Row ───────────────────────────── */
.wc2026-match {
    display: grid;
    grid-template-columns: 72px 1fr 110px 1fr 140px;
    align-items: center;
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    gap: 8px;
}

.wc2026-match:last-child {
    border-bottom: none;
}

.wc2026-match:hover {
    background: #f9fbff;
}

.wc2026-match-time {
    font-size: 11px;
    color: #777;
    line-height: 1.5;
    text-align: center;
}

.wc2026-match-time .wc2026-match-date {
    font-size: 10px;
    color: #aaa;
}

.wc2026-team-home {
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    color: #1a1a2e;
}

.wc2026-team-away {
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    color: #1a1a2e;
}

/* ── Score Box ───────────────────────────── */
.wc2026-score {
    text-align: center;
    line-height: 1.3;
}

.wc2026-score-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 1px;
}

.wc2026-vs {
    font-size: 16px;
    color: #bbb;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ── Status Badges ───────────────────────── */
.wc2026-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 3px;
}

.wc2026-badge-live {
    background: #e74c3c;
    color: #fff;
    animation: wc2026-blink 1s ease-in-out infinite;
}

.wc2026-badge-ft {
    background: #27ae60;
    color: #fff;
}

.wc2026-badge-ht {
    background: #f39c12;
    color: #fff;
}

.wc2026-badge-ns {
    background: #ecf0f1;
    color: #555;
}

.wc2026-badge-et {
    background: #9b59b6;
    color: #fff;
}

.wc2026-badge-pen {
    background: #e67e22;
    color: #fff;
}

/* ── Venue ───────────────────────────────── */
.wc2026-venue {
    font-size: 10px;
    color: #aaa;
    text-align: right;
    line-height: 1.4;
}

/* ── Empty / Loading ─────────────────────── */
.wc2026-loading,
.wc2026-empty {
    padding: 40px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

/* ── Footer ──────────────────────────────── */
.wc2026-footer {
    background: #f5f7fa;
    text-align: center;
    font-size: 11px;
    color: #bbb;
    padding: 8px;
    border-top: 1px solid #e8e8e8;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 600px) {
    .wc2026-match {
        grid-template-columns: 58px 1fr 90px 1fr;
    }
    .wc2026-venue {
        display: none;
    }
    .wc2026-header-right {
        display: none;
    }
    .wc2026-team-home,
    .wc2026-team-away {
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .wc2026-match {
        grid-template-columns: 52px 1fr 86px 1fr;
        padding: 10px 10px;
        gap: 4px;
    }
    .wc2026-team-home,
    .wc2026-team-away {
        font-size: 12px;
    }
    .wc2026-score-value {
        font-size: 16px;
    }
}
