body {
    /* background-color: #f3f3f3; */
    background-color: #aaa;
    border: 2px solid #ccc;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    margin: 15px;
    padding: 5px;
}

#main-header {
    margin: 0;
    padding: 0 !important;
    background-color: #555;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 12px 27px rgba(0, 0, 0, 0.28), 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 10;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#main-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32), 0 4px 8px rgba(0, 0, 0, 0.24), inset 0 -1px 0 rgba(255, 255, 255, 0.14);
}

#main-header .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.header-actions {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.is-hidden {
    display: none;
}

#date-pannel {
    margin: 0.75rem 0 1rem;
    padding: 0.85rem 1rem 0.5rem;
    background-color: rgba(170, 170, 170, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 3px 8px rgba(0, 0, 0, 0.12);
}

.history-date-group {
    display: inline-flex;
    width: auto;
    max-width: 100%;
}

.history-date-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.history-date-field label {
    display: block;
}

.history-date-input {
    width: 11.5rem;
    min-width: 0;
}

@media (max-width: 576px) {
    #date-pannel {
        padding: 0.75rem 0.75rem 0.4rem;
    }

    .history-date-group {
        display: flex;
        width: 100%;
    }

    .history-date-input {
        width: 1%;
        flex: 1 1 auto;
    }
}

.table {
    table-layout: fixed;
    row-gap: 0px;
    padding: 0px;
    margin: 0px;
}

.table-container {
    max-height: 165px;
    /* Ustaw maksymalną wysokość tabeli */
    overflow-y: auto;
    /* Włącz pasek przewijania pionowego */
}

.table-container .table-responsive .table {
    margin-bottom: 0;
    /* Usuń margines dolny */
    /* Zmniejsz odstępy między wierszami */
    font-size: 12px;
}

.table-responsive .table tbody tr {
    height: 0px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 12px;
    border: none;
    background-color: #aaa;
    z-index: 1;
    opacity: 0.97;
    /* Ustaw odpowiednią wysokość wierszy */
}

.table-responsive .table tbody tr:hover {
    background-color: #777;
    /* Dodaj odpowiedni kolor tła */
}

.table-container .header-container {
    margin: 0;
    padding: 0;
}

.header-container .table thead th {
    /* position: sticky; */
    top: 0;
    height: 0px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #f5f5f5;
    /* Dodaj odpowiedni kolor tła */
    z-index: 1;
    font-size: 12px;
    line-height: 14px;
}

.table-container .table tbody tr.selected {
    /* background-color: #f5f5f5; */
    background-color: beige;
    /* Dostosuj kolor wyróżnienia */
}

.table-container .table tbody tr.selected:hover {
    /* background-color: #f5f5f5; */
    background-color: rgb(198, 198, 179);
    /* Dostosuj kolor wyróżnienia */
}

/* #commentsModal .modal-dialog .modal-content .modal-body .table-container .table thead th{ */
.modal-content .modal-header th {
    background-color: #aaa;
    color: red;
}

.modal-body table thead th {
    background-color: #ddd;
    /* color: red; */
}

.toast {
    background-color: #666;
    color: #fff;
    position: fixed;
    /* top: 0; */
    /* right: 0; */
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Dostosuj rozmiar okna modalnego */
/* .modal {
    max-width: 80%;
    width: auto;
    margin: 0 auto;
}

.modal-dialog {
    max-width: 80%;
    width: 100%;
    height: 80%;
    margin: 10% auto;
} */

.modal.fade .modal-dialog {
    transform: translate(0, -25%);
    transition: transform 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
    transform: translate(0, 0);
}

.modal.fade.hide .modal-dialog {
    transform: translate(0, 0);
}

/* Animacja znikania */
.modal.fade.show .modal-dialog {
    transform: translate(0, 0);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Dostosuj rozmiar okna modalnego */
.modal {
    /* min-height: 80%; */
    height: 100vh;
    /* width: auto; */
    /* margin: 0 auto; */
}

/* .modal-dialog {
    max-width: 80%;
    width: 100%;
    height: 80%;
    margin: 10% auto;
} */

/* .dynamic-width-column {
      white-space: nowrap;
  }
 */
/* .dynamic-width-column * {
      display: inline-block;
  } */

/* .dynamic-width-column span {
      white-space: nowrap;
    } */

.tick {
    color: red;
    font-weight: 900;
    /* Ustaw kolor na czerwony dla ptaszka (tick) */
}

.cross {
    color: blue;
    font-weight: 900;
    /* Ustaw kolor na czarny dla X (krzyżyka) */
}

.nsewdrag.drag.cursor-pointer {
    cursor: crosshair;
    /* Kursor północ-południe i wschód-zachód */
}

.hover-line {
    position: fixed;
    margin: 0;
    padding: 0;
    width: 2.5px;
    /* height: 100%; */
    background: repeating-linear-gradient(to bottom, black 0px, black 2px, transparent 2px, transparent 4px);
    ;
    opacity: 0.5;
    /* border-bottom: 200px dotted black; */
    /* Styl kropkowany */
}

.line-container {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 30px;
    /* margin-top: 10px; */
}

#slider {
    flex-grow: 1;
    margin: 0;
    width: 50%;
}

#numberInput {
    margin-left: 15px;
    margin-right: 15px;
    width: 80px;
    /* margin-top: 10px; */
}

.min-max-labels {
    /* display: flex; */
    /* justify-content: space-between; */
    width: auto;
    /* margin-right: 10px; */
}


legend {
    font-weight: bold;
    color: inherit;
    font-size: 16px;
}

/* Styl dla fieldset */
fieldset {
    border: 1px solid black;
    border-radius: 8px;
    /* margin: 20px; */
    padding: 0;
    /* Usunięcie domyślnego paddingu */
    /* width: calc(100% - 40px); */
    width: 100%;
    flex-grow: 1;
    /* Wypełnienie całej dostępnej przestrzeni z marginesem 20px z każdej strony */
}

/* Styl dla kontenera wewnątrz fieldset */
.fieldset-container {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* padding: 20px; */
    /* Dodanie wewnętrznego paddingu */
}

/* Styl dla elementów wewnątrz kontenera */
.fieldset-content {
    padding: 0px;
    /* margin: 0px; */
    display: flex;
    /* flex-wrap: wrap; */
    /* gap: 20px; */
    justify-content: center;
    width: 100%;
}
.custom-control-label {
    white-space: nowrap;
    /* Unikaj zawijania tekstu */
    /* overflow: hidden; */
    /* Ukryj tekst, który wychodzi poza granice kontenera */
    /* text-overflow: ellipsis; */
    /* Dodaj elipsy, jeśli tekst się nie mieści */
    flex-grow: 1;
    /* Wypełnij dostępną przestrzeń */
}
#min-Apply {
    margin-left: 15px;
    margin-right: 15px;
    /* width: 80px; */
    /* margin-top: 10px; */
}

.wrapper {
    position: relative;
    /* width: 95vmin; */
    width: 100%;
    /* background-color: #ffffff; */
    /* padding: 5px 4px 2px 0px; */
    border-radius: 10px;
    margin: 0;
}

.container-d {
    position: relative;
    width: 100%;
    /* height: 100px; */
    margin-top: 30px;
}

#slider-1[type="range"],
#slider-2[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
}

.slider-track-d {
    width: 100%;
    height: 5px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    background-color: #ccc;
}

#slider-1[type="range"]::-webkit-slider-runnable-track,
#slider-2[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 5px;
}

#slider-1[type="range"]::-moz-range-track,
#slider-2[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 5px;
}

#slider-1[type="range"]::-ms-track,
#slider-2[type="range"]::-ms-track {
    appearance: none;
    height: 5px;
}

#slider-1[type="range"]::-webkit-slider-thumb,
#slider-2[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.2em;
    width: 1.2em;
    background-color: #3264fe;
    cursor: pointer;
    margin-top: -9px;
    pointer-events: auto;
    border-radius: 50%;
}

#slider-1[type="range"]::-moz-range-thumb,
#slider-2[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #3264fe;
    pointer-events: auto;
}

#slider-1[type="range"]::-ms-thumb,
#slider-2[type="range"]::-ms-thumb {
    appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: #3264fe;
    pointer-events: auto;
}

#slider-1[type="range"]:active::-webkit-slider-thumb,
#slider-2[type="range"]:active::-webkit-slider-thumb {
    background-color: #ffffff;
    border: 3px solid #3264fe;
}

.values {
    background-color: #3264fe;
    width: 52%;
    position: relative;
    margin: auto;
    /* padding: 10px 0; */
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}

/* .values:before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    border-top: 15px solid #3264fe;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    margin: auto;
    bottom: -14px;
    left: 0;
    right: 0;
} */