/* WC26 - Dark Theme */
body {
    background-color: #121212;
    min-height: 100vh;
}

/* ===== Match Cards ===== */
.match-card, .knockout-card {
    transition: border-color 0.3s, background-color 0.3s;
    border-width: 2px;
}

.match-card:hover, .knockout-card:hover {
    background-color: rgba(255,255,255,0.03) !important;
}

/* Team names */
.team-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f0f0f0;
    line-height: 1.2;
}

.team-code {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
}

/* Score inputs */
.score-input {
    width: 48px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 8px !important;
    padding: 0 !important;
}

.score-input:focus {
    border-color: #4caf50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3) !important;
    background-color: #1a2e1a !important;
}

/* Score separator */
.score-separator {
    font-size: 1.3rem;
    font-weight: 700;
    color: #666;
    padding: 0 6px;
}

/* ===== Nav link hover ===== */
.offcanvas .nav-link:hover {
    background-color: rgba(255,255,255,0.08);
}

/* ===== Number input spinners hide ===== */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* ===== Winner button ===== */
.winner-btn {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
}

.winner-btn.btn-success {
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

/* ===== Leaderboard ===== */
.table-active {
    background-color: rgba(76, 175, 80, 0.12) !important;
}

/* ===== Flash effect ===== */
.flash-success {
    animation: flashGreen 0.6s ease;
}

@keyframes flashGreen {
    0% { background-color: rgba(76, 175, 80, 0.2); }
    100% { background-color: transparent; }
}

/* ===== Stat card ===== */
.stat-card {
    background: linear-gradient(135deg, #1e3a2f, #1a2e25);
    border: 1px solid #2e7d32;
    border-radius: 12px;
}

/* ===== Group badge ===== */
.group-badge {
    min-width: 36px;
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .team-name {
        font-size: 0.85rem;
    }
    .score-input {
        width: 42px !important;
        height: 36px !important;
        font-size: 1.1rem !important;
    }
}