@font-face {
    font-family: 'EurostileExt';
    src: url('/wp-content/plugins/daypass/assets/fonts/EurostileExt-Bla.otf');
}

@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/plugins/daypass/assets/fonts/Montserrat.ttf');
}

* {
    box-sizing: border-box;
}

.daypass-container {
    margin: auto;
    background: black;
    padding: 20px;
    color: white;
    font-family: 'Montserrat';
}

.daypass-container h1 {
    color: white;
    font-family: 'eurostile-extended';
    text-transform: uppercase;
    font-size: 1.5em;
}

span.pink {
    color: #E6007E
}

.location-holder {
    display: flex;
    justify-content: center;
}

#location-select {
    display: none;
}

#location-select-container {
    display: flex;
    justify-content: center;
    margin: 10px 0px;
}

#pay-btn {
    font-weight: 600;
    font-family: 'eurostile-extended';
    font-size: 1.2em !important;
}

.custom-dropdown {
    position: relative;
    width: 100%;
    max-width: calc(33% - 20px);
    font-family: "Montserrat", sans-serif;
}

.custom-dropdown__menu {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    border: 2px solid #424242;
    border-radius: 0px 10px;
    background: black;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.custom-dropdown__option {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 16px;
    background-color: #000000;
}

.custom-dropdown__option:hover {
    background-color: #460727 !important;
}
.custom-dropdown__option.is-selected {
    background-color: #E6007E !important;
    font-weight: 600;
}


div.custom-dropdown .custom-dropdown__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 2px solid #424242;
    border-radius: 0px 10px;
    color: white;
    background: #000000;
    cursor: pointer;
    font-size: 1em;
}

div.custom-dropdown .custom-dropdown__menu {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;
    border: 2px solid #424242;
    border-radius: 0px 10px;
    background: black;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

span.required {
    color: #E6007E
}

.aanhef-keuze {
    display: flex;
    flex-flow: row wrap;
    margin: 0;
}

.aanhef-keuze div {
    display: flex;
    margin: 10px 40px 20px 0;
    align-items: center;
}

.daypass-container input {
    width: 100%;
    border-radius: 0 10px 0 10px !important;
    margin: 5px 0 10px 0 !important;
    font-size: 1rem !important;
    height: 48px;
}

input:focus-visible,
input:focus {
    outline: none;
}

input[type=radio] {
    width: 18px;
    height: 18px;
    margin: 0px;
    margin-bottom: 5px;
    margin-right: 5px;
    accent-color: #E6007E;
    cursor: pointer;
}

input[type=radio],
input[type=checkbox]:checked {
    accent-color: #E6007E;
}

input[type=checkbox] {
    position: relative;
    opacity: 0;
    display: none !important;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    z-index: 2;
    cursor: pointer;
}

.custom-checkbox-btn {
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 0 5px;
    background: white;
    vertical-align: middle;
    position: relative;
    margin-right: 8px;
}

.custom-checkbox-btn .inner::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

input[type=checkbox]:checked+.custom-checkbox-btn .inner::after {
    opacity: 1;
}

input[type=checkbox]:checked+.custom-checkbox-btn {
    border-color: #E6007E;
    background-color: #E6007E;
}

input[type=checkbox]:checked+.custom-checkbox-btn .inner {
    background: #E6007E;
}

.custom-checkbox-btn.absolute {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 20px;
    display: block; 
}

label.gender-label {
    cursor: pointer;
}

.daypass-container label {
    display: flex;
    gap: 3px;
}

#house-nr {
    width: 70px;
}

.info-block {
    width: 100%;
    margin: 5px 0 10px 0;
}

#housing-info {
    display: flex;
    justify-content: space-between;
    width: 35%;
    gap: 16px;
}

.receipt {
    width: 100%;
    min-height: 300px;
    background-color: #1B1B1B;
    border-radius: 0 20px 0 20px;
    margin: 20px 0px;
    padding: 40px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.receipt h2 {
    font-size: 1.2em;
    font-family: 'eurostile-extended';
}

.receipt-item {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    border-top: 1px solid white;
    border-top-style: dashed;
    padding: 25px 0px;
    font-family: "eurostile-extended";
    font-size: 1.7em;
}

.total {
    display: flex;
    width: 100%;
    justify-content: space-between;
    border-top: 1px solid white;
    font-size: 2em;
    font-family: "eurostile-extended";
    text-transform: uppercase;
    padding: 10px 0px;
    padding-top: 25px;
}

.prev-next-nav {
    width: 100%;
    display: flex;
    justify-content: end;
    margin: 30px 0 20px 0;
}

.btn-act {
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    overflow: hidden;
    border: 2px solid #E6007E;
    width: 30% !important;
    font-size: 0.7rem !important;
    letter-spacing: -0.02rem !important;
    padding: 14px 0 !important;
    text-transform: uppercase !important;
    color: #ffffff;
    font-family: "eurostile-extended", Arial, sans-serif;
    font-weight: 400;
    border-radius: 0 10px 0 10px;
    text-align: center;
    cursor: pointer;
}

.btn-act:hover {
    background-color: #E6007E;
}

.picker.picker-open.picker-opened {
    border-radius: 0 10px 0 10px;
}

#picker-inline {
    margin: 5px 0px 10px 0px;
}

.picker-item.picker-picked {
    color: #E6007E;
}


.error {
    border: 2px solid #E6007E !important;
}

input.error-empty,
.error-empty {
    outline: 2px solid #E6007E;
    background-color: #460727;
    color: white;
    border: 0px !important;
}

input.error-empty::placeholder,
.error-empty::placeholder {
    color: white;
}

input.error-empty.checkbox-holder,
.error-empty.checkbox-holder {
    outline: 0px;
    background-color: transparent;
    color: #E6007E;
}

input.error-empty.checkbox-holder .custom-checkbox-btn,
.error-empty.checkbox-holder .custom-checkbox-btn {
    background-color: #460727;
    border-color: #E6007E;
}

input.error-empty.no-date-selected,
.error-empty.no-date-selected {
    outline: 0px;
    background-color: transparent;
    color: #E6007E;
}

input.error-empty,
.error-empty {
    display: block !important;
}

#no-location {
    color: #E6007E;
    outline: 0px !important;
    background-color: transparent !important;
    padding: 0;
    margin: 10px 0px;
}

#no-location.error-empty {
    display: flex !important;
    justify-content: center;
}

#no-location span {
    padding: 0px;
    width: calc(33% - 20px);
    display: block;
    text-align: start;
}

.loader {
    border: 4px solid #460727;
    border-top: 4px solid #E6007E;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

.desc {
    font-weight: 600;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    } 
}

@media (max-width: 576px) {
    .custom-dropdown {
        max-width: 100%;
    }
    div#no-location span {
        width: 100%;
    }
    .daypass-container {
        width: 100%;
    }
    #pay-btn {
        font-size: 0.7em !important;
    }
}