:root {
    --app-bg: #eef2f7;
    --app-surface: #ffffff;
    --app-text: #13233a;
    --app-muted: #708197;
    --app-primary: #2563eb;
    --app-dark: #111827;
    --app-border: rgba(19, 35, 58, 0.08);
    --app-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body {
    background: linear-gradient(180deg, #f5f7fb 0%, var(--app-bg) 100%);
    color: var(--app-text);
}

.app-nav {
    background: linear-gradient(135deg, #101827 0%, #1d4ed8 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.navbar .nav-link.active,
.navbar .dropdown-item.active {
    font-weight: 600;
}

.hero-card {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #60a5fa 100%);
    color: #fff;
    box-shadow: var(--app-shadow);
    border-radius: 1rem;
}

.stat-card,
.card {
    border-radius: 1rem;
    box-shadow: var(--app-shadow);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-title h1,
.section-title h2,
.section-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.match-card {
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.match-card:hover {
    transform: translateY(-2px);
}

.match-teams {
    border-top: 1px solid var(--app-border);
    border-bottom: 1px solid var(--app-border);
}

.tip-grid {
    display: grid;
    grid-template-columns: 74px 20px 74px;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.tip-separator {
    text-align: center;
    font-weight: 700;
}

.result-pill {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
}

.tip-card-perfect {
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25), var(--app-shadow);
}

.tip-card-good {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.22), var(--app-shadow);
}

.tip-card-bad {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18), var(--app-shadow);
}

.table > :not(caption) > * > * {
    border-bottom-color: rgba(19, 35, 58, 0.08);
}

.form-control,
.form-select,
.btn {
    border-radius: 0.8rem;
}

.login-card {
    max-width: 520px;
    margin: 0 auto;
}

.small-muted {
    color: var(--app-muted);
}


.group-filter-info {
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    background: rgba(31, 111, 235, 0.06);
    border: 1px solid rgba(31, 111, 235, 0.12);
}

.standings-table th,
.standings-table td {
    white-space: nowrap;
}

.standings-table tbody tr.table-success {
    --bs-table-bg: rgba(25, 135, 84, 0.10);
}

.standings-table tbody td:nth-child(2) {
    min-width: 160px;
}
