body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #000121;
}

.container {
    display: flex;
    height: 100vh;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    background: #fff;
    color: #fff;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.menu {
    width: 250px;
    background: #191a40;
    padding: 5px;
    box-sizing: border-box;
}

.menu.active {
    left: 0;
}

.content {
    flex-grow: 1;
    padding: 20px;
    background: #000121;
    color: #fff;
    box-sizing: border-box;
}

.menu ul {
    list-style-type: none;
    padding: 0;
}

.menu ul li {
    margin: 15px 0;
}

.menu ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.menu ul li a i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .menu {
        position: absolute;
        left: -250px;
        top: 0;
        height: 100%;
        transition: left 0.3s;
    }
    .menu-toggle {
        display: block;
    }
    .menu.active {
        left: 0;
    }
}
.custom-fieldset {
    border: 2px solid rgb(66, 66, 66);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 5px 8px 10px rgb(66, 66, 66);
    background-color: #f1f1f1;
}

legend {
    font-weight: bold;
    margin-left: 10px; /* Dostosuj marginesy według potrzeb */
    margin-bottom: 10px;
}

/* Styl dla kontenera tabeli */
.svxref-container {
    width: auto;
    background-image: linear-gradient(to bottom, #e9e9e9 50%, #bcbaba 100%); 
    border-radius: 10px;
    border: 1px solid LightGrey;
    margin: 4px 0;
    padding: 0 25px;
    line-height: 1.6;
    white-space: normal;
}

.station-info {
    display: inline-block;
    width: 150px;
    height: 60px;
    padding: 2px;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight: 600;
    font-size: 14pt; /* Ujednolicony rozmiar czcionki */
    font-family: arial, sans-serif;
    line-height: 1.2; /* Dodano line-height dla spójności */
}

.node {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 2px solid #fcfc03;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:1000;
    background: linear-gradient(to bottom, transparent 0%, #0033ff 0%), linear-gradient(#F7f7f7, #EEE);
}

.node1 {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 2px solid #fcfc03;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:1000;
    background: linear-gradient(to bottom, transparent 0%, #0033ff 0%), linear-gradient(#F7f7f7, #EEE);
}

.node2 {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 2px solid #0f0;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:1000;
    background: linear-gradient(to bottom, transparent 0%, #000000 0%), linear-gradient(#F7f7f7, #EEE);
}
.node3 {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 2px solid #fcfc03;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:1000;
    background: linear-gradient(to bottom, transparent 0%, #0033ff 0%), linear-gradient(#F7f7f7, #EEE);
}
.node4 {
    display: inline-block;
    width: 150px;
    height: 60px;
    padding: 2px;
    border: 2px solid #0f0;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:1000;
    background: linear-gradient(to bottom, transparent 0%, #021870 0%), linear-gradient(#F7f7f7, #EEE);
}
.node5 {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 1px solid #0f0;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    background: linear-gradient(to bottom, transparent 0%, #6e0110 0%), linear-gradient(#F7f7f7, #EEE);
}

.node6 {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    background: linear-gradient(to bottom, transparent 0%, #8c1b81 0%), linear-gradient(#F7f7f7, #EEE);
}
.node7 {
    display: inline-block;
    width: 150px;
    height:30px;
    padding: 2px;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    background: linear-gradient(to bottom, transparent 0%, #4f4e4f 0%), linear-gradient(#F7f7f7, #EEE);
}
.node10 {
    display: inline-block;
    width: 160px;
    height:30px;
    padding: 2px;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    background: linear-gradient(to bottom, transparent 0%, #20a103 0%), linear-gradient(#F7f7f7, #EEE);
}
.node-talk {
    display: inline-block;
    width: 150px;
    height:60px;
    padding: 2px;
    border: 2px solid #0f0;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    background: linear-gradient(to bottom, transparent 0%,  #f51105 0%), linear-gradient(#F7f7f7, #EEE);
}
.node10-talk {
    display: inline-block;
    width: 160px;
    height:30px;
    padding: 2px;
    border: 1px solid #fcfc03;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    background: linear-gradient(to bottom, transparent 0%,  #FF5733 0%), linear-gradient(#F7f7f7, #EEE);
}

.node-talk1 {
    display: inline-block;
    width: 140px;
    height: 100px;
    padding: 2px;
    border: 2px solid #0f0;
    border-radius: 5px;
    margin: 3px 5px;
    text-align: center;
    font-weight:600;
    // font-family: "Lucidia Console",Monaco,monospace;
    background: linear-gradient(to bottom, transparent 0%,  #FF5733 0%), linear-gradient(#F7f7f7, #EEE);
}

/* Styl dla tooltipu */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Pozycja tooltipu */
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 5px;
    font: 10pt arial, sans-serif;
    background-color: #333;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    background-color: #333;
}

th {
    background-color: #262626;
}

.theme_color {
    background-color: #e0e0e0;
}

.info-row {
    background-color: #fff;
}

.info-row:nth-child(even) {
    background-color: #f7f7f7;
}
