/* ======= Hlavička ======= */
.bg-primary-red {
    background-color: #ffffff;
    color: #0e2e6a;
}

.bg-primary-red .navbar-brand,
.bg-primary-red .nav-link {
    color: #0e2e6a !important;
}

.bg-primary-red .nav-link:hover {
    border-bottom: 2px solid #e3033b;
    color: #e3033b !important;
}

/* ======= Linka pod hlavičkou ======= */
.header-separator {
    height: 2px;
    background: linear-gradient(to right, #e3033b 0%, #e3033b 100%);
}

/* ======= Pozadí stránky ======= */
body {
    background-color: #e8effa;
}

/* ======= Nadpisy ======= */
h1, .text-2xl {
    color: #0e2e6a;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
}

/* ======= Ostatní ======= */
.login-circle {
    color: #0e2e6a;
    border-color: #e3033b;
}

.login-circle:hover {
    background: #e3033b;
    color: white !important;
}

.main-footer {
    background: #ffffff;
    border-top: 2px solid #e3033b;
    color: #0e2e6a;
}

.main-footer .text-muted {
    color: #0e2e6a !important;
}
/* ======= Tabulka statistik ======= */

.match-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.match-table thead th {
    background-color: #0e2e6a; /* tmavě modrá */
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.75rem;
    border-bottom: 2px solid #e3033b;
}

.match-table tbody td {
    padding: 0.6rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #d0d7e2;
}

.match-table tbody tr:hover {
    background-color: #f1f6fd;
}

.match-table td a {
    color: #0e2e6a;
    text-decoration: none;
    font-weight: 500;
}

.match-table td a:hover {
    color: #e3033b;
    text-decoration: underline;
}

.match-table .text-end {
    text-align: right;
}

/* Zvýraznění plus/mínus hodnot */
.match-table td:last-child {
    font-weight: bold;
}

.match-table td:last-child::before {
    content: attr(data-symbol);
    margin-right: 0.2rem;
}

/* Kladné hodnoty */
.match-table td.positive {
    color: #198754; /* Bootstrap zelená */
}

/* Záporné hodnoty */
.match-table td.negative {
    color: #dc3545; /* Bootstrap červená */
}

/* ======= Styl tabulky pro statistiku - detail osoby ======= */
.table.statistics-detail {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.table.statistics-detail th {
    background-color: #e8effa;
    color: #0e2e6a;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.table.statistics-detail td {
    background-color: #ffffff;
    color: #0e2e6a;
    vertical-align: middle;
}

.table.statistics-detail a {
    color: #0e2e6a;
    text-decoration: underline;
}

.table.statistics-detail a:hover {
    color: #e3033b;
    text-decoration: none;
}
