:root {
    --color-light: white;
    --color-dark: #212121;
    --color-button: var(var(--color-dark));

    --color-background: var(--color-light);
    --color-text: var(--color-dark);
    --color-accent: #FFB300;

    --size-bezel: .5rem;
    --size-radius: 4px;

    line-height: 1.4;

    font-family: 'Inter', sans-serif;
    font-size: calc(.6rem + .4vw);
    color: var(--color-text);
    background: var(--color-background);
    font-weight: 300;
}

* {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a,
a:active,
a:focus,
a:hover {
    outline: none;
    -webkit-transition: all .3s ease-out 0s;
    -moz-transition: all .3s ease-out 0s;
    -o-transition: all .3s ease-out 0s;
    -ms-transition: all .3s ease-out 0s;
    transition: all .3s ease-out 0s;
    text-decoration: none;
}

/** Framework like
----------------------------*/
.text-align-center {
    text-align: center;
}

.margin-top-25 {
    margin-top: 25px;
}

/** Form Areas
----------------------------*/
main {
    max-width: 1200px;
    margin-inline: auto;
    padding: 2rem;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-column {
    flex: 1;
}

.form-column .input:last-child {
    margin-bottom: 0;
}

/** Fancy Inputs
----------------------------*/
/* input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='25'><text x='0' y='15' font-family='Arial' font-size='15' fill='black'>KALENDER OPENEN</text></svg>");
    background-size: contain;
    background-position: right;
    width: 100px;
    height: 17px;
}
input[type="time"]::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='25'><text x='0' y='15' font-family='Arial' font-size='15' fill='black'>TIJDKIEZER</text></svg>");
    background-size: contain;
    background-position: right;
    width: 100px;
    height: 17px;
} */
input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: opacity(0.6);
}
input::-webkit-calendar-picker-indicator:hover {
    filter: opacity(1);
}

.input {
    position: relative;
    display: block;
    margin: 25px 0;
}

.input__label {
    position: absolute;
    left: 0;
    top: 0;
    padding: calc(var(--size-bezel) * 0.75) calc(var(--size-bezel) * 1.5);
    margin: calc(var(--size-bezel) * 0.75 + 3px) calc(var(--size-bezel) * .5);
    white-space: nowrap;
    transform: translate(0, 0);
    transform-origin: 0 0;
    background: var(--color-background);
    transition: transform 120ms ease-in;
    font-weight: bold;
    line-height: 1.2;
    opacity: 0.5;
    font-size: 13px;
}
.input-with-calendar input {
    padding-right: calc(var(--size-bezel) - 1.5px) !important;
}
.input__field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: 2px solid #00000026;
    padding: calc(var(--size-bezel) * 1.5) var(--size-bezel);
    color: currentColor;
    background: transparent;
    border-radius: var(--size-radius);
}

.input__field:not(:-moz-placeholder-shown)+.input__label {
    transform: translate(0.25rem, -65%) scale(0.8);
    color: var(--color-accent);
    opacity: 1;
    text-transform: uppercase;
    font-weight: 500;
}

.input__field:not(:-ms-input-placeholder)+.input__label {
    transform: translate(0.25rem, -65%) scale(0.8);
    color: var(--color-accent);
    opacity: 1;
    text-transform: uppercase;
    font-weight: 500;
}

.input__field:focus+.input__label,
.input__field:not(:placeholder-shown)+.input__label {
    transform: translate(0.25rem, -65%) scale(0.8);
    color: var(--color-accent);
    opacity: 1;
    text-transform: uppercase;
    font-weight: 500;
}
input:disabled {
    background: #f3f3f3;
    cursor: no-drop;
}

.button-group {
    margin-top: calc(var(--size-bezel) * 2.5);
}

button {
    padding: var(--size-bezel) calc(var(--size-bezel) * 2);
    background: var(--color-accent);
    border: none;
    border-radius: var(--size-radius);
    font-weight: 900;
    font-size: 14px;
    color: var(--color-button);
    padding: 14px 25px;
    transition: all .5s;
    text-transform: uppercase;
    position: relative;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
    border: none;
    z-index: 1;
    text-decoration: none;
}
button svg {
    padding-right: 5px;
}
button:hover {
    color: white;
}

button::before {
    content: "";
    height: 300px;
    width: 300px;
    background: var(--color-dark);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%) scale(0);
    transition: .5s cubic-bezier(.25, .46, .45, .94);
    z-index: -1;
}

button:hover::before {
    transform: translateY(-50%) translateX(-50%) scale(1);
}


/** Type of transport
----------------------------*/
#return-dates,
#arrival-dates,
#route-comment {
    display: none;
}
#return-dates.show,
#arrival-dates.show {
    display: flex;
}
#route-comment.show {
    display: block;
}

/** Address Search
----------------------------*/
.address-results {
    position: relative;
}
.search-results {
    display: none;
    background: white;
    position: absolute;
    z-index: 999;
    width: 100%;
    border: 2px solid #00000026;
    border-top: none;
}
.search-results > div {
    border-bottom: 2px solid #00000026;
    line-height: 1.2;
    padding: var(--size-bezel);
    font-size: 13px;
    cursor: pointer;
}
.search-results > div:last-child {
    border-bottom: none;
}
.search-results > div:hover {
    background: #ffb300;
    color: black;
}
.search-results.show {
    display: block;
}
.searched {
    border-radius: var(--size-radius) var(--size-radius) 0 0;
}
.searched:focus {
    outline: none;
}

/** Loading
----------------------------*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    background: white;
    z-index: 9999999999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
#loading.show {
    display: flex;
}
#loading svg {
    width: 100px;
    height: 100px;
}
#loading svg rect {
    fill: var(--color-accent);
}
#loading p {
    font-size: 17px;
    color: var(--color-dark);
    transition: all .5s;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .5px;
}

/** Message
----------------------------*/
#message {
    box-sizing: border-box;
    display: none;
    width: calc(100% - 10px);
    padding: calc(var(--size-bezel) * 1.5) var(--size-bezel);
    text-align: center;
    text-transform: uppercase;
    background: var(--color-accent);
    border: none;
    border-radius: var(--size-radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-dark);
    letter-spacing: .5px;
}
#message.show {
    display: block;
}

/** Select
----------------------------*/
select {
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
    /* for Other */
    appearance: none;
}

/* For IE10 */
select::-ms-expand {
    display: none;
}

/** Icons
----------------------------*/
.input .input__field {
    padding: calc(var(--size-bezel) * 1.5) calc(var(--size-bezel) * 3) calc(var(--size-bezel) * 1.5) var(--size-bezel);
}
.input svg {
    position: absolute;
    right: calc(var(--size-bezel) - 1px);
    top: calc(50% - 0.5em - 1px);
    opacity: 0.3;
    width: 20px;
    text-align: center;
}

/** Responsive Design
----------------------------*/
@media only screen and (max-width: 768px) {
    .form-row {
        display: block;
    }
}