* {
    margin: 0;
    padding: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

body {
    background-image: url('samolot-min.jpg');
    background-size: 2000px, auto;
    background-repeat: no-repeat;
    /* backdrop-filter: blur(3px); */
    background-attachment: fixed;
    background-position-x: -180px;
    background-position-y: -600px;
    height: 100vh;
    color: rgb(45, 45, 45);
}

.main {
    position: absolute;
    top: 2vh;
    left: 40vw;
    background-color: rgba(245, 245, 245, 0.661);
    border: 1px solid rgb(146, 146, 146);
    border-radius: 10px;
}

.form-wrapper,
.departure-wrapper {
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.insert-form-wrapper {
    display: flex;
    padding: 10px;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
}

.form-wrapper-1 {
    width: 100%;
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

form {
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    font-size: 1.1em;
    font-weight: bold;
}

.timezone-reminder {
    font-size: 1.3em; 
    color: white;
    background-color: red;
    padding: 3px;
    border-radius: 3px;
}

input,
select,
button {
    margin: 3px;
    /* padding: 5px; */
    width: 200px;
    height: 50px;
    font-size: 1.1em;
    border: 1px solid rgb(146, 146, 146);
}
input[type="file"] {
    width: auto;
    height: 50px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.back-button {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 10px;
}

.back-arrow-svg {
    height: inherit;
    margin-right: 10px;
}

.button {
    background-color: rgb(49, 100, 255);
    color: white;
    cursor: pointer;
}

a:link,
a:visited {
    text-decoration: none;
    color: black;
}

.button:hover {
    background-color: rgb(0, 0, 255);
}

.button-deny {
    background-color: rgb(255, 50, 50);
    color: white;
    padding: 7px;
    width: 200px;
    height: 50px;
    font-size: 1.1em;
    border: 1px solid rgb(146, 146, 146);
}

.button-deny:hover {
    background-color: rgb(188, 1, 1);
    color: white;
}

input[type="date"] {
    padding: 0;
}

.lotnisko-radio-wrapper, .lotnisko-radio-wrapper div  {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.lotnisko-radio-wrapper label {
    cursor: pointer;
}

.radio {
    width: 25px;
    cursor: pointer;
}

table {
    margin: 10px;
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 8px;
    border-bottom: 2px solid rgb(186, 186, 186);
}

tr:not(thead tr):hover {
    background-color: rgba(245, 245, 245, 0.784);
}

thead {
    background: linear-gradient(to right, #dadada, #ababab);
    color: black;
}

td {
    background-color: rgba(245, 245, 245, 0.487);
    text-align: center;
}

/* Mobile support */
@media screen and (max-width: 768px) {
    body {
        background-position-x: -300.4px;
        background-position-y: -450.0px;
    }

    .main {
        top: 5vh;
        left: 0;
        margin: 10px;
    }

    label {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
}

/* Dropdown Button */
.dropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover,
.dropbtn:focus {
    background-color: #3e8e41;
}

/* The search field */
#myInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
}

/* The search field when it gets focus/clicked on */
#myInput:focus {
    outline: 3px solid #ddd;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 200px;
    border: 1px solid #ddd;
    z-index: 1;
    overflow-y: scroll;
    height: min-content;
    max-height: 200px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-item {
    padding: 5px;
}

.dropdown-item:hover {
    background-color: #ddd;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f1f1f1
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}