html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

h1 {
    text-align: center;
}
.center {
    text-align: center;
}

.organizacja {
    display: flex;
    align-items: center;
    gap: 10px; /* Odstępy między elementami */
    padding: 10px 0;
    margin: 0 auto;
    max-width: 700px; /* Ograniczenie szerokości */
}

/* Specyficzne ustawienie dla "Odpowiedzialny za obszar" */
    .organizacja.first-line {
        justify-content: flex-start; /* Etykieta i pola w jednej linii */
        flex-wrap: nowrap; /* Zapobiega łamaniu wiersza */
    }

.organizacja label {
    font-weight: bold;
    margin-right: 10px;
    width: 220px; /* Stała szerokość etykiety */
    text-align: right;
}

.organizacja input {
    flex: 1; /* Pola zajmują dostępne miejsce */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    max-width: 300px; /* Ograniczenie szerokości pola */
}

/* Przesunięcie dla pozostałych wierszy */
.organizacja.second-line {
    padding-left: 50px; /* Wcięcie dla sekcji */
}

.organizacja.second-line label {
    width: 150px; /* Dopasowana szerokość etykiet */
}

.info p {
    font-style: italic;
    color: #555;
    text-align: center;
}


.btnStart, .btnDalej, .btnGeneratePDF {
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#btnStart, #btnDalej, #idGeneratePDF {
    background-color: #C7E3D8;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 15px; /* Większe marginesy wewnętrzne */
}

    #btnStart:hover, #btnDalej:hover, #btnGeneratePDF:hover {
        background-color: #A3C9BB; /* Zmiana koloru przy najechaniu */
    }

.questions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.nieobowiazkowe {
    color: dimgrey;
    opacity: 0.5;
    display: flex;
    flex-wrap: wrap;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
}

.container-fluid {
    font-size: small;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.wynik {
    margin-top: 30px;
    text-align: center;
}

.PositionName {
    margin: 15px;
    margin-bottom: 45px;
}

.question {
    margin: 60px;
    text-align: left;
}

.answers {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
}

    .answers > div {
        display: flex; 
        align-items: center; 
        margin: 5px; 
    }

    .answers input[type="radio"] {
        margin-right: 5px; 
    }

    .answers label {
        margin-right: 0; 
    }

.positions {
    display: flex;
    align-items: center;
    gap: 30px;
}



.hidden {
    display: none;
}

/* Ukrycie wykresu na stronie */
#RadarChart {
    display: block; /* Zostanie wyświetlony w normalnym widoku */
}

/* Kiedy generujesz PDF, ukryj wykres */
.hideInPDF {
    display: none;
}


.tabela-container {
    width: 100%;
    overflow-x: auto;
    margin: 0 auto;
}

#dynamicTable {
    width: 100%;
    table-layout: auto; 
    border-collapse: collapse;
    border: 1px solid black;
}

    #dynamicTable th,
    #dynamicTable td {
        border: 1px solid black;
        padding: 8px;
        text-align: center;
        vertical-align: top; 
        word-wrap: break-word; 
    }

        #dynamicTable th:nth-child(1),
        #dynamicTable td:nth-child(1) {
            width: 50px; 
        }

    #dynamicTable th {
        background-color: #f2f2f2;
    }

textarea {
    width: 100%;
    height: auto;
    min-height: 40px; 
    border: none;
    padding: 4px;
    box-sizing: border-box;
    resize: vertical; 
}

td {
    word-wrap: break-word; 
}

#dynamicTable th:nth-child(n+2),
#dynamicTable td:nth-child(n+2) {
    width: 120px;
