
/* =========================================
   PODSTAWOWE USTAWIENIA
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Varela Round', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #000;
    background: #fff;
    margin-top: 15px;
}



/* ===========================
   GLOWNA STRONA
=========================== */
.stronaglowna {
    text-align: left;
    font-size: 15px;
    font-weight: 900;
	padding-left: 10px;
	padding-top: 10px;
    color: black;
}

.stronaglowna a {
    font-size: 13px;
	padding-left: 0px;
	padding-top: 10px;
    color: black;
    font-weight: 900;
}


/* ===========================
   LINKI
=========================== */
a { text-decoration: none; font-weight: normal; }
a:link, a:visited, a:hover { text-decoration: none; }


/* =========================================
   FONT
========================================= */

@font-face {
    font-family: 'varela';
    src: url('varela.otf'),
         url('varela.eot') format('eot'),
         url('varela.woff') format('woff'),
         url('varela.ttf') format('truetype');
}


/* =========================================
   KONTENER STRONY
========================================= */

.kontener {
    width: 95%;
    max-width: 1250px;
    margin: 0 auto;
}


/* =========================================
   UKŁAD DWÓCH KOLUMN
========================================= */

.dwukolumny {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}


/* LEWA KOLUMNA */

.kolumna-lewa {
    flex: 0 0 30%;
    max-width: 30%;
    position: sticky;
    top: 15px;
    align-self: flex-start;
}


/* PRAWA KOLUMNA */

.kolumna-prawa {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
	padding-left: 10px;
}


/* =========================================
   BLOK NAZWA / OPIS
========================================= */

#nazwa {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef2f7 100%);
    color: #222;
    padding: 1px 8px 7px;
    border-radius: 7px;
    line-height: 1.7;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nazwa1 {
    font-size: 1.2em;
    font-weight: 600;
    color: #0077b6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

#nazwa span.nazwa-lokomotywy {
    display: block;
	padding-left: 10px;
    font-size: 17px;
    font-weight: 800;
    color: black;
    margin-bottom: 0px;
    line-height: 1.2;
}

.ccc {
    font-size: 0.8em;
    line-height: 1.4;
    color: red;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 10px;
    border-left: 4px solid #0096c7;
    border-radius: 6px;
    margin-bottom: 10px;
    font-weight: 700;
}

.ccc a {
    color: black;
}





.opisserii {
    background: #FCFCFC;
    padding: 12px;
    border: 1px solid #E5ECEA;
    border-radius: 10px;
    color: #354849;
    line-height: 1.5;
    font-size: 12px;
    font-family: 'Varela Round', sans-serif;
}

.sekcja-serii {
    padding: 0 0 10px 10px;
    margin-bottom: 1px;
    border-bottom: 1px solid #E3EBE9;
}

.sekcja-serii:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 5px;
}

.opis {
    font-size: 11px;
    color: black;
    padding-top: 5px;
    padding-bottom: 2px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ilostan {
    font-size: 14px;
    color: #263D40;
    padding-top: 5px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.ilostan1 {
    font-size: 12px;
    color: #465657;
    padding-top: 3px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 600;
    line-height: 1.6;
}

.ilostan2 {
    font-size: 12px;
    color: #263D40;
    padding-top: 6px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    line-height: 1.6;
}

.lokomotywa {
    display: inline;
    font-family: 'Varela Round', sans-serif;
    color: purple;
    font-size: 11px;
    font-weight: 900;
    margin-left: 4px;
}

.liczba-egz {
    color: navy;
    font-size: 11px;
    font-weight: 900;
    margin-left: 3px;
}

.opis1 {
    font-size: 10px;
    color: purple;
    padding-top: 9px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 900;
    line-height: 1.6;
}

.lacznie {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #668B8B;
    padding: 10px 10px 3px;
    margin-top: 8px;
    border-top: 1px solid #DCE7E4;
    font-family: 'Varela Round', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.suma {
    color: #263D40;
    font-size: 27px;
    font-weight: 700;
    margin-left: 5px;
}




.opisserii a {
    color: black;
    font-size: 14px;
}


/* =========================================
   PRZYCISKI WSTECZ / STRONA GŁÓWNA
========================================= */

.wstecziglowna {
    text-align: left;
    margin: 5px 0 0 20px;
}

.icon-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    border: 1px solid #3b4b5c;
    background: rgba(20, 30, 50, 0.35);
    color: white;
    margin: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.icon-button:hover {
    border-color: #8fb9ff;
    color: #cfe6ff;
    background: rgba(40, 60, 90, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(120, 170, 255, 0.4);
}

.icon-button svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}


/* =========================================
   TABELE - SZEROKOŚCI KOLUMN
========================================= */

.kol-lp {
    width: 45px;
}

.kol-fabryczny {
    width: 140px;
}

.kol-rok {
    width: 55px;
}

.kol-producent {
    width: 140px;
}

.kol-uwagi {
    width: 100px;
}

.kol-oznaczenie {
    width: 180px;
}

.kol-foto {
    width: 80px;
}


/* =========================================
   TABELE - GŁÓWNY WYGLĄD
========================================= */

.kolumna-prawa table {
    border-collapse: collapse;
    table-layout: fixed;
    width: auto;
    margin: 0 0 0 0;
}

/* Każda następna tabela pod poprzednią */

.kolumna-prawa table + table {
    margin-top: 25px;
}


/* =========================================
   PODPIS TABELI
========================================= */

caption {
    caption-side: top;
    text-align: center;
    padding: 0 0 2px 0;
}

.typ-symbol {
    font-family: 'Varela Round', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #cc0000;
}

.typ-opis {
    font-family: 'Varela Round', sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #555;
}


/* =========================================
   NAGŁÓWEK TABELI
========================================= */

thead th {
    background: #e5e5e5;
    color: #222;
    text-align: center;
    padding: 7px;
    border: 1px solid #bbb;
    font-family: 'Varela Round', sans-serif;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    text-transform: none;
    letter-spacing: 0;
}


/* =========================================
   WIERSZE I KOMÓRKI
========================================= */

tbody tr {
    height: 37px;
    background: #fff;
    transition: background 0.15s ease;
}

tbody td {
    height: 37px;
    box-sizing: border-box;
    padding: 0 7px;
    vertical-align: middle;
    border: 1px solid #ddd;
}

tbody tr.grupa-hover {
    background: #f9f9f9;
}




.indywidualny-odstep .ilostan:nth-of-type(2) {
    margin-top: 30px;
}


/* =========================================
   DYSPONENT
========================================= */

.dysponent {
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 10px;
    white-space: nowrap;
}

.dysponent .skrot {
    font-size: 11px;
    min-height: 11px;
}

.dysponent .pelna-nazwa {
    font-size: 8px;
    color: #777;
    line-height: 9px;
	padding-top: 3px;
    min-height: 9px;
}


/* =========================================
   KOLUMNA L.P.
========================================= */

.lp {
    font-family: 'Varela Round', sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: #777;
    text-align: center;
}


/* =========================================
   NUMER FABRYCZNY
========================================= */

.kol-fabryczny-tekst {
    font-family: 'Varela Round', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #222;
    text-align: center;
}


/* =========================================
   ROK
========================================= */

.kol-rok-tekst {
    font-family: 'Varela Round', sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #555;
    text-align: center;
}


/* =========================================
   PRODUCENT
========================================= */

.kol-producent-tekst {
    font-family: 'Varela Round', sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #222;
    text-align: center;
}


/* =========================================
   UWAGI
========================================= */

.kol-uwagi-tekst {
    font-family: 'Varela Round', sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: red;
    text-align: center;
}

.dodatek1 {
    font-family: 'Varela Round', sans-serif;
    font-size: 9px;
    font-weight: normal;
    color: #222;
    text-align: center;
}


/* =========================================
   OZNACZENIE NA KOLEI
========================================= */

.kol-oznaczenie-tekst {
    font-family: 'Varela Round', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #222;
    text-align: center;
}


/* =========================================
   FOTO
========================================= */

.kol-foto-tekst {
    font-family: 'Varela Round', sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #174d79;
    text-align: center;
}


/* =========================================
   RESPONSYWNOŚĆ
========================================= */

@media (max-width: 1100px) {

    .kolumna-lewa {
        position: static;
        top: auto;
    }

}

@media (max-width: 850px) {

    .dwukolumny {
        flex-wrap: wrap;
    }

    .kolumna-lewa {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .kolumna-prawa {
        flex: 0 0 100%;
        max-width: 100%;
        overflow-x: auto;
    }

}
