@font-face {
    font-family: 'JetBrainsMono';
    src: url('JetBrainsMono-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

body {
    font-family: 'JetBrainsMono', sans-serif;
    font-size: 10px;
    margin: 0; 
    padding: 0;
    background-color: #080808;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    height: 100vh; 
    background: url('bg1.jpg') no-repeat center center fixed;
    background-size: cover;
}
h1{
    color: #ffffff;
    text-align: center;
}
h2{
    color: #b6b6b6;
    text-align: center;
}
.space{
    
    height: 10px;
    color: #00000000;
    margin-top:120px;
}

#mainContainer {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: rgba(51, 51, 51, 0.686); 
    border-radius: 10px; 
    box-shadow: 0px 0px 10px rgba(228, 227, 233, 0.792); 
}

thead th {
    font-size: 20px;
    background-color: #5a5a5a;
    text-align: center;
    color: white; /* Biały tekst dla lepszej czytelności */
}

td, th {
    border: 1px solid rgb(86, 86, 86);
    padding: 8px;
    text-align: left;
    font-size: 14px;
}

button{
    background-color: #4CAF50;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 230px;
}
button:hover {
    opacity: 0.8;
    background-color: #ff0000;  
}
a{
    text-decoration: none;
    color: white;
}
a:hover{
    color: #4CAF50;
}


.is {
    border-collapse: collapse; /* Zapewnia poprawne łączenie krawędzi */
    border-left: 5px solid #00ff00; /* Lewa krawędź tabeli */
}

.ins {
    border-collapse: collapse; /* Zapewnia poprawne łączenie krawędzi */
    border-left: 5px solid #0000ff; /* Lewa krawędź tabeli */
}
.mns {
    border-collapse: collapse; /* Zapewnia poprawne łączenie krawędzi */
    border-left: 5px solid #ff0000; /* Lewa krawędź tabeli */
}


table td:nth-child(1),
table th:nth-child(1) {
    width: 100px; /* Lp. */
}

table td:nth-child(2),
table th:nth-child(2) {
    width: 110px; /* Data */
}

table td:nth-child(3),
table th:nth-child(3) {
    width: 800px; /* Temat */
}

/* POPRAWIONO - Poprawne selektory dla 4 i 5 kolumny */
table td:nth-child(4),
table th:nth-child(4) {
    width: 150px; /* Lab */
}
table td:nth-child(5),
table th:nth-child(5) {
    width: 150px; /* Materiały */
}




/* Daty przeszłe - Ciemne, słabo widoczne tło */
.bylo {
    
    color: #444 !important; /* Bardzo ciemny/wyblakły tekst */
    font-style: italic;
}

/* Najbliższa data - Wyróżniony, widoczny ciemny kolor */
.next {
  
    color: #ffffff !important; /* Jasny tekst */
    font-weight: bold;
    border-left: 5px solid #ff0000 !important; /* Wyróżniająca linia */
}

/* Kolejne daty w przyszłości (po najbliższej) */
._next {
   
    color: #c3e0ff !important; /* Jasny tekst */
}

/* Daty nieustalone (??.??.????) */
.node {
    background-color: #333 !important; /* Lekko ciemniejsze tło */
    font-style: italic;
    color: #999 !important;
}