/* Match Wining Helper - Frontend Styles */
.mwh-wrapper {
    max-width: 900px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.mwh-sport-section {
    margin-bottom: 30px;
}

.mwh-sport-heading {
    font-size: 20px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a1a1a;
}

.mwh-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.mwh-tab {
    background: none;
    border: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.mwh-tab.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.mwh-panel { display: none; }
.mwh-panel.active { display: block; }

.mwh-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 12px 16px;
    border-radius: 6px;
    color: #664d03;
}

.mwh-empty {
    text-align: center;
    color: #888;
    padding: 30px 0;
}

.mwh-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.mwh-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.mwh-live-badge {
    color: #d93025;
    font-weight: 700;
    animation: mwh-pulse 1.5s infinite;
}

@keyframes mwh-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mwh-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.mwh-team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.mwh-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mwh-team:last-child {
    justify-content: flex-end;
    text-align: right;
    flex-direction: row-reverse;
}

.mwh-score {
    font-size: 16px;
    font-weight: 700;
    padding: 0 12px;
    color: #1a1a1a;
    min-width: 70px;
    text-align: center;
}

.mwh-bar {
    display: flex;
    height: 26px;
    border-radius: 6px;
    overflow: hidden;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
}

.mwh-bar div {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.mwh-bar-home { background: #1a73e8; }
.mwh-bar-draw { background: #9aa0a6; }
.mwh-bar-away { background: #d93025; }

.mwh-advice {
    margin: 8px 0 2px;
    font-size: 13px;
    color: #333;
}

.mwh-source {
    margin: 0;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

/* Admin Styles */
.mwh-admin-wrap h1 small {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.mwh-admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.mwh-admin-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 20px;
}

.mwh-admin-card.mwh-full {
    grid-column: 1/-1;
}

.mwh-admin-card h3 {
    margin-top: 0;
}

.mwh-status-ok { color: #1e7e34; font-weight: 600; }
.mwh-status-bad { color: #c0392b; font-weight: 600; }

.mwh-admin-card code {
    display: inline-block;
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 4px 0;
}
