:root {
    --main-color-paid: #0f68bb;
    --main-color-unpaid: #d4192c;
    --main-color-partially-paid: #ffc107;
    --main-color-free: #00ab12;
    --main-color-parking-area: #0f68bb;
}

* {
    margin: 0 0;
    padding: 0 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

img[usemap] {
    border: 0;
    height: auto;
    max-width: 100%;
    width: auto;
}

.datepicker-input {
    max-width: 200px;
    /* Dostosowanie szerokości do formatu YYYY-mm-dd */
}

.centered-form {
    display: flex;
    justify-content: center;
    /*align-items: center;
    height: 100vh;*/
    margin-top: 5px;
    margin-bottom: 20px;
}

.svg-parcel-item, .svg-other-item, .svg-parking-item, .svg-parking-item-text {
    cursor: pointer;
}

.parcel-status {
    opacity: 0.4;
    border: 1px solid purple;
}

.book_free_area {
    fill: var(--main-color-free);
    /* Przykładowy styl dla dostępnych pól */
    background-color: var(--main-color-free);
}

.book_unpaid_area {
    fill: var(--main-color-unpaid);
    /* Przykładowy styl dla niedostępnych pól */
    background-color: var(--main-color-unpaid);
}

.book_paid_area {
    fill: var(--main-color-paid);
    /* Przykładowy styl dla niedostępnych pól */
    background-color: var(--main-color-paid);
}

.book_partially_paid_area {
    fill: var(--main-color-partially-paid);
    /* Przykładowy styl dla niedostępnych pól */
    background-color: var(--main-color-partially-paid);
}

.area_parking {
    fill: var(--main-color-parking-area);
    /* Przykładowy styl dla niedostępnych pól */
    background-color: var(--main-color-parking-area);
    stroke-width: 0;
}

.svg-parking-item-text {
    font-weight: bold;
    fill: white;
    font-size: 2.5rem;
}

.book_free_text {
    color: var(--main-color-free);
}

.book_unpaid_text {
    color: var(--main-color-unpaid);
}

.book_paid_text {
    color: var(--main-color-paid);
}

.book_partially_paid_text {
    color: var(--main-color-partially-paid);
}

.area_parking_text {
    color: var(--main-color-parking-area);
}

.custom-margin-top {
    margin-top: 70px; /* Domyślna wartość dla małych ekranów */
}

.license-plate {
    display: inline-block;
    width: 100px;
    height: 30px;
    background-image: url('/img/number-plate.png');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Arial', sans-serif;
    font-size: 16px; /* Stała wielkość tekstu */
    text-align: justify;
    padding: 0 0 0 19px; /* Padding: góra, dół, lewo, prawo */
    color: black;
    border-radius: 5px;
    line-height: 30px; /* Vertically centers the text */
    letter-spacing: 0; /* Spacing between letters  */
}
.license-plate::after {
    content: "";
    display: inline-block;
    width: 100%;
}
.big-license-plate {
    display: block;
    width: 240px;
    height: 72px;
    margin: 0 auto;
    background-image: url('/img/big-number-plate.png');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Arial', sans-serif;
    font-size: 38px; /* Stała wielkość tekstu */
    text-align: justify;
    padding: 0 0 0 40px; /* Padding: góra, dół, lewo, prawo */
    color: black;
    border-radius: 5px;
    line-height: 72px; /* Vertically centers the text */
    letter-spacing: 0; /* Spacing between letters  */
}
.big-license-plate:hover {
    cursor: pointer;
}
.big-license-plate::after {
    content: "";
    display: block;
    width: 100%;
}


@media (min-width: 576px) {
    .custom-margin-top {
        margin-top: 80px; /* Dostosuj wartość dla ekranów >= 576px */
    }
}

@media (min-width: 768px) {
    .custom-margin-top {
        margin-top: 90px; /* Dostosuj wartość dla ekranów >= 768px */
    }
}

@media (min-width: 992px) {
    .custom-margin-top {
        margin-top: 100px; /* Dostosuj wartość dla ekranów >= 992px */
    }
}

@media (min-width: 1200px) {
    .custom-margin-top {
        margin-top: 110px; /* Dostosuj wartość dla ekranów >= 1200px */
    }
}
.cursor-pointer {
    cursor: pointer;
}

.fixed-legend {
    position: fixed;
    bottom: 50px;
    left: 0;
    width: 230px;
    border: 1px solid #dedede;
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    z-index: 1;
}
.fixed-legend .header-legend {
    margin-bottom: 15px;
    display: none;
}
.fixed-legend p {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 0;
    line-height: 30px;
}
.fixed-legend span {
    width: 24px;
    height: 24px;
    border: 0;
    margin-right: 30px;
    border-radius: 12px;
}
.fixed-legend span.free {
    background-color: var(--main-color-free);
}
.fixed-legend span.paid {
    background-color: var(--main-color-paid);
}
.fixed-legend span.partially-paid {
    background-color: var(--main-color-partially-paid);
}
.fixed-legend span.unpaid {
    background-color: var(--main-color-unpaid);
}
/* Stylizacja przycisku */
.show-legend-btn {
    display: none;
    /* position: fixed;
    top: 258px;
    left: 12px; */
    z-index: 1000;
}
.hide-legend-btn {
    display: none;
    /* position: fixed;
    top: 258px;
    left: 12px; */
    z-index: 1000;
}
.sticky {
    /* position: fixed;
    top: 60px; */
}
.icon-language img {
    border: 2px solid #cecece; /* Kolor obramowania dla wybranego języka */
    margin: 0 0;
    border-radius: 4px; /* Zaokrąglenie rogów */
    width: 36px;
    height: 24px;
}
.selected-icon-language img {
    border: 2px solid #007bff; /* Kolor obramowania dla wybranego języka */
}
.form-group-custom {
    display: block;
}

.form-group-custom label {
    display: block;
    margin-bottom: 0.5rem; /* Odstęp między etykietą a polem tekstowym */
}

.navbar-nav .nav-link {
    padding: 0 10px; /* Większe przyciski */
    margin: 0 5px; /* Odstępy między przyciskami */
    font-size: 1.1em; /* Większy rozmiar czcionki */
}

@media (max-width: 768px) {
    .fixed-legend {
        display: none;
    }
    .show-legend-btn {
        display: block;
    }
    .btn-res-summary i {
        font-size: 1.5rem;
        display: flex;
        flex-direction: column;
        margin-bottom: 5px;
    }
    .btn-res-summary span {
        font-size: 1rem;
    }
    #search-dasboard .form-group,
    #search-dasboard .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    #search-dasboard .btn span {
        display: none;
    }
    #search-dashboard input.form-control {
        font-size: 1.5rem;
    }
    #search-dashboard a {
        display: flex;
        align-items: center;
    }
    #search-dashboard i {
        font-size: 1.5rem;
    }
    .navbar-nav .nav-link {
        padding: 12px 15px; /* Większe przyciski na mobile */
        font-size: 1.4em; /* Jeszcze większy rozmiar czcionki na mobile */
    }
}