html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Wymusza 100% wysokości ekranu nawet na urządzeniach mobilnych */
}

.content-wrapper {
    flex: 1 0 auto; /* Ta linijka rozpycha środek strony i spycha stopkę na dół */
}

.table-striped tbody tr:nth-of-type(odd) td {
    background-color: #fefefe; /* Light gray */
}
.table-striped tbody tr:nth-of-type(even) td {
    background-color: #ffffff; /* White */
}

.table-striped tbody tr.highlight-red:nth-of-type(odd) td {
    background-color: #ffcccc; /* Light gray */
}
.table-striped tbody tr.highlight-red:nth-of-type(even) td {
    background-color: #ffdcdc; /* White */
}

.table-striped tbody tr.highlight-green:nth-of-type(odd) td {
    background-color: #ccffcc; /* Light gray */
}
.table-striped tbody tr.highlight-green:nth-of-type(even) td {
    background-color: #dcffdc; /* White */
}

.table-striped tbody tr.highlight-orange:nth-of-type(odd) td {
    background-color: #ffe6cc; /* Light gray */
}
.table-striped tbody tr.highlight-orange:nth-of-type(even) td {
    background-color: #ffeedc; /* White */
}

/* Stylizacja kontenera Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Skalowanie samego obrazka logo */
.navbar-logo img {
    height: 80px; /* Ustaw odpowiednią wysokość dla swojego logo */
    width: auto;  /* Proporcje zostaną zachowane automatycznie */
    margin-right: 10px; /* Odstęp między obrazkiem a tekstem */
}


.navbar-toggler {
    border-color: #198754 !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-toggler:hover {
    border-color: #146c43 !important; 
    background-color: rgba(25, 135, 84, 0.1);
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23198754' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    transition: background-image 0.2s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23146c43' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25) !important;
    outline: none;
}

/* Główny kontener stopki */
.main-footer {
    background-color: #111111; /* Nieco ciemniejszy odcień niż menu dla kontrastu */
    color: #888888;           /* Stonowany, szary kolor tekstu */
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid #222222; /* Delikatna linia odcinająca */
    margin-top: auto;          /* Pomaga utrzymać stopkę na dole strony */
}

/* Kontener wyrównujący zawartość do środka ekranu */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; /* Prawa autorskie po lewej, podpis po prawej */
    align-items: center;
    flex-wrap: wrap;                /* W razie małych ekranów (smartfony) elementy przejdą pod spód */
    gap: 10px;
}

/* Stylizacja linku FusionStream */
.footer-powered a {
    color: #2299EE;                /* Twój sportowy kolor akcentowy (np. pomarańczowy/czerwony) */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Efekt po najechaniu myszką na podpis */
.footer-powered a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgb(34, 153, 238);
}

/* RWD: Na telefonach wyśrodkuj tekst */
@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}