/* ================================================
   ProLider - style własne (nadpisania Bootstrap)
   ================================================ */

/* Kolor wiodący - niebieski ProLider */
:root {
    --prolider-blue: #1a5f9e;
    --prolider-blue-dark: #134b7e;
    --prolider-blue-light: #e8f1fb;
}

/* NAWIGACJA */
.navbar {
    background-color: var(--prolider-blue) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-right: 1rem !important;
    padding-right: 0 !important;
}

.navbar-brand img {
    height: 48px;
    flex-shrink: 0;
}

.navbar-tagline {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.03em;
    line-height: 1.25;
}

.nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem !important;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--prolider-blue-dark);
    border-radius: 4px;
}

/* NAGŁÓWEK STRONY - pasek z logo tekstowym */
#page-header {
    background-color: var(--prolider-blue-light);
    border-bottom: 2px solid var(--prolider-blue);
    padding: 8px 0;
    font-size: 0.85rem;
    color: #555;
}

/* KAFELKI na stronie głównej */
.tile-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.2s;
}

.tile-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tile-card img {
    border: 2px solid #c0d8ef;
    border-radius: 4px;
    width: 100%;
    max-width: 200px;
    height: 148px;
    object-fit: cover;
}

/* IKONA kafelka (zamiennik obrazka) */
.tile-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    height: 148px;
    background-color: var(--prolider-blue);
    border: 2px solid var(--prolider-blue-dark);
    border-radius: 4px;
}

/* BIEŻĄCE KOMUNIKATY */
.komunikat {
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.komunikat:last-child {
    border-bottom: none;
}

.komunikat-data {
    font-weight: bold;
    text-decoration: underline;
    color: #555;
    font-size: 0.9rem;
}

/* KOLUMNA BOCZNA */
.sidebar {
    background-color: var(--prolider-blue-light);
    border: 1px solid #c0d8ef;
    border-radius: 8px;
    padding: 15px;
}

.sidebar h5 {
    color: var(--prolider-blue);
    border-bottom: 1px solid #c0d8ef;
    padding-bottom: 5px;
    margin-top: 15px;
}

.sidebar h5:first-child {
    margin-top: 0;
}

.sidebar ul {
    padding-left: 18px;
    margin-bottom: 8px;
}

.sidebar ul li {
    margin-bottom: 4px;
}

.sidebar a {
    color: var(--prolider-blue);
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

/* WERSJE PROGRAMÓW - wyróżnienie */
.wersja-link a {
    font-weight: bold;
    color: var(--prolider-blue) !important;
}

/* STOPKA */
footer {
    background-color: var(--prolider-blue) !important;
    margin-top: 30px;
}

footer a {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

footer a:hover {
    color: #fff;
}

/* TYTUŁ STRONY (podstrony) */
.page-title {
    background-color: var(--prolider-blue-light);
    border-left: 4px solid var(--prolider-blue);
    padding: 8px 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--prolider-blue-dark);
}

/* KOLORY TEKSTU - zachowanie semantyki aktualnej strony */
.text-navy    { color: var(--prolider-blue-dark) !important; }
.text-brazowy { color: #8B4513 !important; }

/* TABELE CENNIKA */
.table-cennik th {
    background-color: var(--prolider-blue);
    color: #fff;
}

/* OGÓLNE */
body {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.65;
}

a {
    color: var(--prolider-blue);
}

a:hover {
    color: var(--prolider-blue-dark);
}

.main-content {
    min-height: 500px;
}
