﻿/****************************/
/*          VARIABLES          */
/****************************/

:root {
    --color-background: #f5f5f5;
    --color-content-background: #f5f5f5;
    --color-topbar: #ffffff;
    --color-topbar-background: #555555;
    --color-primary: #ffffff;
    --color-primary-background: #477db2;
    --color-primary-btn-border: #0d69aa;
    --color-primary-btn-hover: #4691ab;
    --color-secondary: #111111;
    --color-secondary-btn: #cfba89;
    --color-secondary-btn-border: #cfba89;
    --color-secondary-btn-hover: #a58b5e;
    --color-icon: #888888;
    --color-background: #f5f5f5;
    --color-secondary-background: #ffffff;
    --color-booking-card-background: #f2f2f2;
    --color-table-header-background: #dddddd;
    --color-table-body-background: #f2f2f2;
    --color-border-muted: #d1d1d1;
    --color-input-placeholder: #7d7d7d; /* input placeholders and field icons: lighter than text, darker than the back buttons */
    --bs-border-radius: var(--global-border-radius);
    font-size: 16px;
    --global-border-radius: 0.5rem;
    --footer-width: 25rem; /* StepFooter and Cancel share this width, so the back buttons line up */
    --input-height: 2rem; /* InputTextbox / SelectInput / input-action-button */
}

@media (min-height: 800px) and (max-width: 900px) {
    :root {
        font-size: 22px;
        /*font-size: clamp(16px, 6.59px + 2.35vw, 22px);*/
    }
}

/****************************/
/*          GLOBAL          */
/****************************/

.page {
    height: 100vh;
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
}

.press:active {
    transform: scale(0.95);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-primary {
    color: var(--color-primary) !important;
    background-color: var(--color-primary-background) !important;
    border-color: var(--color-primary-btn-border) !important;
    box-shadow: none !important;
}

.btn.btn-primary:hover {
    background-color: var(--color-primary-btn-hover) !important;
    border-color: var(--color-primary-btn-border) !important;
}

.btn-secondary {
    color: var(--color-secondary) !important;
    background-color: var(--color-secondary-btn) !important;
    border-color: var(--color-secondary-btn) !important;
    min-height: 44px;
    box-shadow: none !important;
    font-size: 16px !important;
}

.btn.btn-secondary:hover {
    background-color: var(--color-secondary-btn-hover) !important;
}

/* All checkboxes and radio buttons use the primary (next button) color instead of the browser / Bootstrap blue */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--color-primary-background);
}

.form-check-input:checked {
    background-color: var(--color-primary-background);
    border-color: var(--color-primary-background);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.modal-header {
    background-color: var(--color-primary-background);
    color: var(--color-primary);
}

.bordered-card {
    border-radius: var(--global-border-radius);
    border: solid 0.3rem var(--color-primary-background);
}

.bordered-card-muted {
    border-radius: var(--global-border-radius);
    border: solid 0.1rem var(--color-border-muted);
}

.selector-card-icon-slot {
    width: 2.5rem;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .selector-card-icon-slot i {
        font-size: 2.5rem;
        color: var(--color-primary-background)
    }

.selector-card {
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 25rem;
}



.header-text {
    font-size: 3rem;
}

.content-wrapper {
    background-color: var(--color-content-background);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.drop-shadow {
    box-shadow: 3px 3px 10px 0px rgba(150, 150, 150, 0.4);
}

.pointer {
    cursor: pointer;
}

.btn.btn-add {
    aspect-ratio: 1/1;
    height: 1.8rem;
    width: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    padding-bottom: 0.3rem;
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1;
}

/* Disabled plus/minus and send buttons: same light grey as the back button
   (!important to win over the global .btn-primary rule, opacity 1 so the grey is not faded) */
.btn.btn-add:disabled,
.btn.input-action-button:disabled {
    background-color: var(--color-border-muted) !important;
    border-color: var(--color-border-muted) !important;
    color: white !important;
    opacity: 1;
}

.quantity {
    border: none;
    width: 2rem;
    background-color: var(--color-content-background);
}

    .quantity::-webkit-inner-spin-button,
    .quantity::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.quantity {
    -moz-appearance: textfield;
}

/*REMOVE SCROLBAR*/
.addons-container,
.products-container {
    scrollbar-width: none; /* Firefox */
}

    .addons-container::-webkit-scrollbar,
    .products-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge */
    }

/****************************/
/*          Topbar          */
/****************************/

.top-bar {
    width: 100%;
    min-height: 40px;
    background-color: var(--color-topbar-background);
    color: var(--color-topbar);
}


    .top-bar .container {
        max-width: 900px;
        margin: 0 auto;
    }

    .top-bar .cart-icon {
        font-size: 1.5rem;
    }



.custom-dropdown-container {
    position: relative;
    z-index: 1000;
}

    .custom-dropdown-container .display-item {
        white-space: nowrap;
        display: block;
    }

    .custom-dropdown-container ul.custom-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        padding-left: 0px;
        z-index: 1001;
        box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.6);
        background-color: white;
    }

    .custom-dropdown-container .custom-dropdown .custom-dropdown-item {
        white-space: nowrap;
    }

    .custom-dropdown-container .custom-dropdown .custom-dropdown-item {
        list-style-type: none;
        cursor: pointer;
    }

    .custom-dropdown-container:hover .custom-dropdown {
        display: block;
    }

        .custom-dropdown-container:hover .custom-dropdown .custom-dropdown-item a {
            display: block;
        }

.language-selector-flag {
    max-width: 2rem;
    margin: 8px;
    height: 1.5rem;
    border-radius: 15%;
    cursor: pointer;
}

/****************************/
/*          StepFooter      */
/****************************/

.step-footer {
    width: 100%;
    max-width: var(--footer-width);
    margin: 0 auto;
    margin-bottom: 10px;
    margin-top: 10px;
    gap: 0.3rem;
}

.btn-next {
    width: 100%;
    font-weight: bold;
}

.btn-back,
.btn-back:focus,
.btn-back:active,
.btn-back.active,
.btn-back:hover,
.btn-back:not(:disabled):not(.disabled):active {
    background-color: var(--color-border-muted) !important;
    border-color: var(--color-border-muted) !important;
    box-shadow: none !important;
}

    .btn-back i {
        color: white;
        font-weight: bolder;
        font-size: 1.2rem;
    }


/****************************/
/*          Cancel          */
/****************************/

/* Back button on the left edge (as in StepFooter), "Annullér" centred: 1fr auto 1fr keeps the middle column centred */
.cancel-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 40px;
    width: 100%;
    max-width: var(--footer-width);
    margin: 0 auto;
}

    .cancel-back-slot {
        justify-self: start;
    }

.cancel-text {
    color: #aaaaaa;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}


/****************************/
/*          Home            */
/****************************/

.home-container {
    gap: 4rem;
}

.language-select-row {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-left: 2rem;
    padding-right: 2rem;
}

.welcome-language-flag {
    /*width: 100px;*/
    /*height: 75px;*/
    width: 6rem;
    height: 4.8rem;
    object-fit: cover;
    border-radius: var(--global-border-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

    .welcome-language-flag:active {
        transform: scale(0.95);
    }



/****************************/
/*      SELECT OPTIONS      */
/****************************/
.option-card:active {
    transform: scale(0.95);
}

.option-card-list {
    gap: 1.2rem;
    width: 80%;
    max-width: 30rem;
    margin: 0 auto;
}

.card-text {
    font-weight: bold;
}

.option-card-icon {
    font-size: 3rem;
    padding: 0.5rem;
    color: var(--color-primary-background);
}

.option-card-text {
    text-align: left;
}

.option-card-title {
    font-weight: bold;
    font-size: 1.4rem;
}

.option-card-subtitle {
    font-size: 0.8rem;
}

/* Optional amount at the right of an option card (as .product-price on the product cards) */
.option-card-price {
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    padding-right: 1rem;
}

.resource-type-card {
    width: 9rem;
    height: 7rem;
}

    .resource-type-card i {
        font-size: 3.5rem;
        color: var(--color-primary-background);
    }

    .resource-type-card:active {
        transform: scale(0.95)
    }

/****************************/
/*       BookingSummary     */
/****************************/

.booking-summary-card {
    display: flex;
    justify-content: start;
    width: 100%;
    max-width: 25rem;
    background-color: var(--color-table-header-background);
    margin: 0 auto;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    /*font-weight: bold;*/
    font-size: 0.9rem;
}

    .booking-summary-card .col-12 {
        padding: 0 0 0 0;
    }

    .booking-summary-card i {
        font-size: 1rem;
        width: 1.5rem;
    }

        .booking-summary-card i.inline {
            font-size: 0.9rem;
            color: #111111;
            margin-right: 0;
        }

    .booking-summary-card .row {
        padding: 0px 1rem 0px 1rem;
    }

    .booking-summary-card.bordered-card-muted {
        border-radius: var(--global-border-radius);
    }

    .booking-summary-card i {
        color: var(--color-primary-background);
        margin-right: 0.5rem;
    }

/****************************/
/*         Step 2           */
/****************************/

.selector-card .dates-text-row {
    text-align: start;
}

    .selector-card .dates-text-row .dates {
        font-weight: bold;
        font-size: 1rem;
    }

    .selector-card .dates-text-row .day-count {
        font-size: 1rem;
    }

/****************************/
/*         Step 3           */
/****************************/

.persontypes-container {
    gap: 1.2rem !important;
}

.selector-card .pt-text-row {
    text-align: start;
}

.selector-card .pt-name {
    font-size: 1rem;
    font-weight: bold;
}

/****************************/
/*         Step 4           */
/****************************/

.products-container {
    gap: 0.5rem !important;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    justify-content: center;
    justify-content: safe center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.product-card {
    width: 100%;
    max-width: 25rem;
    min-height: 6.5rem;
    overflow: hidden;
}

.product-card-image-slot {
    width: 8rem;
    flex-shrink: 0;
    align-self: stretch;
    position: relative;
}

    .product-card-image-slot img,
    .product-card-image-slot .image-placeholder-icon {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-right: thin solid var(--color-border-muted);
    }

        .product-card-image-slot .image-placeholder-icon i {
            font-size: 2.5rem;
        }

.product-card-content {
    min-width: 0;
}

    .product-card-content .product-name,
    .product-card-content .product-description {
        padding-left: 0.5rem;
    }

    .product-card-content .product-price {
        padding-right: 1rem;
    }

        .product-card-content .product-price .from {
            font-size: 0.7rem;
        }

.product-card .product-text-row {
    text-align: start;
}

.product-card .product-name {
    font-size: 0.7rem;
    font-weight: bold;
}

.product-card .product-description {
    font-size: 0.6rem;
    color: var(--color-icon);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-price {
    white-space: nowrap;
}

.image-placeholder-icon {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-background);
}

    .image-placeholder-icon i {
        font-size: 1.8rem;
        color: var(--color-icon);
    }

.image-component-wrapper {
    position: relative;
}

.product-card-image-slot .image-component-wrapper {
    position: absolute;
    inset: 0;
}

.image-multi-badge {
    position: absolute;
    right: 0%;
    bottom: 0%;
    width: 1.6rem;
    height: 1.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-top-left-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .image-multi-badge i {
        font-size: 0.9rem;
        color: white;
    }

/****************************/
/*         Step 5           */
/****************************/

/*.resource-selection-card {
    padding: 1rem 1.5rem;
    width: 100%;
    max-width: 25rem;
    min-height: 6.5rem;
    overflow: hidden;
}*/

.selector-card .resource-selection-text-row {
    text-align: start
}

.selector-card .resource-selection-price {
    white-space: nowrap;
    text-align: end;
}
/****************************/
/*         Step 6           */
/****************************/
.map-container {
    width: 100%;
    max-width: 25rem;
    max-height: 30rem;
    margin: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.map-resource-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    padding-bottom: 0.5rem;
}

.map-resource-tag {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--global-border-radius);
    border: solid 0.1rem var(--color-border-muted);
    font-size: 0.75rem;
    cursor: pointer;
}

    .map-resource-tag input {
        margin: 0;
    }

    .map-resource-tag.selected {
        border-color: var(--color-primary-background);
        background-color: var(--color-primary-background);
        color: var(--color-primary);
    }

/****************************/
/*         Step 7           */
/****************************/

.addons-container {
    gap: 1rem !important;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    justify-content: center;
    justify-content: safe center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.addon-card {
    min-height: 3rem;
    overflow: hidden;
    padding: 0.1rem 0.7rem 0.1rem 0.7rem;
}

.addon-card-title-row {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.addon-name {
    font-size: 0.8rem;
    font-weight: bold;
}

.addon-price {
    font-size: 0.6rem;
}

.addon-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    max-width: 25rem;
}

.addon-group-items {
}

.addon-group .bordered-card-muted {
    border-radius: var(--global-border-radius);
}

.addon-radio,
.addon-checkbox {
    width: 1.5rem;
    height: 1.5rem;
}

.addon-group-items {
    display: flex;
    flex-direction: column;
}

.addon-group-title {
    display: flex;
    align-items: start;
    flex-direction: column;
}

    .addon-group-title p {
        margin-bottom: 0;
    }

/****************************/
/*         Step 8           */
/****************************/

/* Gift card / credit code / rebate code row: one line, input (placeholder "Tilgodebevis · gavekort · rabat") + apply button */
.credit-voucher-code {
    width: 100%;
    max-width: 25rem; /* same width as the stay cards */    
}

/* The input fills the row (flex: 1 from .input-action-row), the button keeps its own width */
.credit-voucher-code .credit-voucher-code-input {
    width: 100%;
    margin-bottom: 0;
}

/* Applied code: one line replacing the input, styled like the total rows, with a trash can on the right */
.credit-voucher-applied {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: var(--input-height);
    font-weight: bold;
}

    /* Text with the trash can right after it; takes the free space so the amount stays on the right */
    .credit-voucher-applied .credit-voucher-applied-text {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.9rem;
        text-align: left;
        overflow-wrap: anywhere; /* long codes */
    }

    .credit-voucher-applied .credit-voucher-applied-amount {
        color: var(--color-primary-background);
        white-space: nowrap;
    }

    .credit-voucher-applied .credit-voucher-remove {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 1.75rem;
        height: 1.75rem;
        padding: 0;
        border: none;
        background: none;
        color: var(--bs-secondary-color);
        font-size: 1rem;
    }

        .credit-voucher-applied .credit-voucher-remove:hover {
            color: var(--bs-danger);
        }

/* Applied rebate code does not cover this stay */
.stay-rebate-error {
    padding: 0 1rem 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--bs-danger);
    text-align: left;
}

.basket-container {
    gap: 0.5rem !important;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    justify-content: center;
    justify-content: safe center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

    .basket-container h3 {
        margin-bottom: 0;
    }

.stay-card {
    width: 100%;
    max-width: 25rem;
}

    .stay-card.expanded .stay-card-header {
        border-bottom: solid 0.1rem var(--color-border-muted);
    }

.stay-card-header {
    display: flex;
    padding: 0.4rem 0.6rem 0.5rem 0.8rem;
}

    .stay-card-header .stay-card-title {
        display: flex;
        flex-direction: column;
        align-items: start;
        flex: 1 1 auto;
    }

.stay-card-title .stay-name {
    text-align: start;
    font-weight: bold;
    font-size: 0.9rem;
}

.stay-card-title .stay-subline {
    font-size: 0.6rem;
}

.stay-card-header .stay-price {
    display: flex;
    flex-direction: column; /* price, with "Heraf depositum ..." underneath when the stay has a deposit */
    justify-content: center;
    align-items: end;
    min-width: 6.5rem;
    color: var(--color-primary-background);
    font-weight: bold;
}

    .stay-card-header .stay-price .stay-price-deposit {
        font-size: 0.7rem;
        font-weight: normal;
        color: var(--bs-secondary-color);
        white-space: nowrap;
    }

.stay-card-header .stay-card-chev {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    padding-left: 0.2rem;
}

.stay-lines {
    padding: 0.3rem 0.8rem 0 0.8rem;
    display: flex;
    flex-direction: column;
}

.stay-lines-header {
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
}

.stay-lines-content {
    font-size: 0.7rem;
    padding-bottom: 0.3rem;
    display: flex;
}

.stay-lines-name {
    text-align: start;
    width: 45%;
}

.stay-lines-pcs {
    width: 10%;
}

.stay-lines-amount {
    text-align: end;
    width: 20%;
}

.stay-lines-price {
    text-align: end;
    width: 25%;
}

.add-stay {
    width: 100%;
    max-width: 25rem;
    padding: 0.5rem;
    font-weight: 500;
    font-size: 0.8rem;
}

.booking-total {
    display: flex;
    width: 100%;
    max-width: 25rem;
    justify-content: space-between; 
    font-weight: bold;
}

.booking-total-text {
    font-size: 0.9rem;
   
}

.booking-total-price {
    
    color: var(--color-primary-background);
}


/****************************/
/*       InputTextbox       */
/****************************/

.dp-input-group {
    width: 100%;
    margin-bottom: 0.75rem;
    text-align: left;
}

.dp-input-label {
    display: block;
    margin-bottom: 0.25rem;
    text-align: left;
}

.dp-input {
    position: relative;
}

    .dp-input .form-control,
    .dp-input .form-select {
        min-height: var(--input-height);
        border-color: var(--color-border-muted);
        border-radius: var(--global-border-radius);
    }

    /* Fixed height without vertical padding, otherwise Bootstrap's padding makes them ~2.4rem (textarea excluded) */
    .dp-input input.form-control,
    .dp-input .form-select {
        height: var(--input-height);
        padding-top: 0;
        padding-bottom: 0;
    }

    /* No blue focus ring/border while typing (overrides Bootstrap and the global .form-control:focus rule) */
    .dp-input .form-control:focus,
    .dp-input .form-select:focus {
        outline: none;
        box-shadow: none;
        border-color: var(--color-border-muted);
    }

    /* Browser autofill (e.g. a suggested email): keep the normal white field instead of Chrome's light blue.
       Browsers ignore background-color here, so an inset shadow covers it. Kept as separate rules:
       an unknown pseudo-class in a selector list would drop the whole rule. */
    .dp-input .form-control:-webkit-autofill,
    .dp-input .form-control:-webkit-autofill:hover,
    .dp-input .form-control:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 1000px var(--bs-body-bg) inset;
        box-shadow: 0 0 0 1000px var(--bs-body-bg) inset;
        -webkit-text-fill-color: var(--bs-body-color);
        caret-color: var(--bs-body-color);
        transition: background-color 9999s ease-out 0s;
    }

    .dp-input .form-control:autofill {
        box-shadow: 0 0 0 1000px var(--bs-body-bg) inset;
        filter: none;
    }

    .dp-input.has-icon .form-control,
    .dp-input.has-icon .form-select {
        padding-left: 2.25rem;
    }

    .dp-input .dp-input-icon {
        position: absolute;
        left: 0.75rem;
        top: calc(var(--input-height) / 2); /* centered on the input, also when a textarea grows */
        transform: translateY(-50%);
        width: 1.1rem;
        max-height: 1.1rem;
        object-fit: contain;
        text-align: center;
        color: var(--color-input-placeholder); /* same grey as the placeholders */
        font-size: 0.95rem;
        pointer-events: none;
        z-index: 1;
    }

    .dp-input.is-invalid .form-control,
    .dp-input.is-invalid .form-select {
        border-color: var(--bs-danger);
    }

    .dp-input.disabled .form-control,
    .dp-input.disabled .form-select {
        background-color: var(--color-booking-card-background);
        color: var(--color-icon);
    }

    /* Placeholders (also used for the field icons) */
    .dp-input .form-control::placeholder {
        color: var(--color-input-placeholder);
        opacity: 1; /* Firefox fades placeholders by default */
    }

    /* Nothing selected: the placeholder option gets the same grey as input placeholders; the open list keeps normal text */
    .dp-input .form-select.is-placeholder {
        color: var(--color-input-placeholder);
    }

        .dp-input .form-select.is-placeholder option {
            color: var(--bs-body-color);
        }

    .dp-input textarea.form-control {
        min-height: 60px;
        max-height: 120px;
    }

/* An input with a button next to it, e.g. email + "Send". The button is not part of InputTextbox. */
.input-action-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

    .input-action-row > .dp-input-group {
        flex: 1;
        min-width: 0;
        margin-bottom: 0;
    }

.input-action-button {
    min-width: 4.5rem;
    height: var(--input-height);
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.dp-input-error {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--bs-danger);
}

/****************************/
/*         Step 9           */
/****************************/

.guest-container {
    /*justify-content: flex-start;*/
    padding: 2rem 1rem 0 1rem;
}

    .guest-container > div {
        width: 100%;
        max-width: 25rem;
    }

.guest-title {  
    margin-bottom: 1.5rem;
}

.guest-error {
    text-align: center;
}

.guest-info {
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--global-border-radius);
    background-color: var(--color-booking-card-background);
    text-align: left;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

    .divider-text::before,
    .divider-text::after {
        content: "";
        flex: 1;
        border-top: solid 1px var(--color-border-muted);
    }


.acsi-help-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-primary-background);
    text-align: left;
}

.acsi-help-close {
    margin-left: 0.25rem;
    text-decoration: underline;
}

.acsi-help-images {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .acsi-help-images img {
        width: 50%;
        border-radius: var(--global-border-radius);
    }

.guest-verify-text {
    margin-bottom: 1rem;
}

.otp-resend {
    margin-top: 3rem;
}

.otp-resend-options {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 0.5rem;
}

.otp-resend-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    border: none;
    background: none;
    padding: 0;
}

    .otp-resend-option:disabled {
        opacity: 0.5;
    }

.otp-resend-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-primary-background);
    color: var(--color-primary);
    font-size: 1.3rem;
}

.guest-required-note {
    font-size: 0.8rem;
    text-align: left;
    margin-bottom: 0.5rem;
}

.guest-form-row {
    display: flex;
    gap: 0.75rem;
}

    .guest-form-row > .dp-input-group {
        flex: 1;
        min-width: 0;
    }

    .guest-form-row > .guest-phone-prefix {
        flex: 0 0 7rem;
    }

.guest-checks {
    margin-top: 1rem;
    text-align: left;
}

.guest-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

    .guest-check .form-check-input {
        width: 1.4rem;
        height: 1.4rem;
        margin-top: 0;
        flex-shrink: 0;
    }

    .guest-check.is-invalid .form-check-input {
        border-color: var(--bs-danger);
    }

.guest-read-more {
    color: var(--color-primary-background);
    font-weight: bold;
}

.guest-modal-text {
    white-space: pre-wrap;
}


/****************************/
/*       Step 10 / 11       */
/****************************/

/* Spinner / status / error in the middle of step 10 */
.step10-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Option cards as wide as on the other steps (.option-card-list), not the 25rem of the guest forms */
.guest-container > .payment-amount-choice,
.guest-container > .payment-method-choice {
    max-width: none;
}

.payment-amount-choice {
    width: 100%;
}

/* Terminal payment (10-3) */
.terminal-payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 25rem;
}

.terminal-payment-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary-background);
}

.terminal-payment-status {
    color: var(--bs-secondary-color);
}

.terminal-payment-spinner {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary-background);
}

.terminal-payment-countdown {
    font-size: 0.9rem;
    color: var(--bs-secondary-color);
}

.terminal-payment-cancel {
    width: 100%;
    margin-top: 1rem;
    color: white;
}

.terminal-payment-icon {
    font-size: 3.5rem;
}

    .terminal-payment-icon.failed {
        color: var(--bs-danger);
    }

/* Failed: back + retry, like the step footer */
.terminal-payment-actions {
    display: flex;
    gap: 0.3rem;
    width: 100%;
    margin-top: 1rem;
}

    .terminal-payment-actions .btn-primary {
        flex: 1;
    }

.finish-container {
    gap: 0.75rem;
    padding: 0 1rem;
}

.finish-icon {
    font-size: 4rem;
    color: var(--color-primary-background);
}

.finish-booking-number {
    font-size: 1.1rem;
}

.finish-text {
    max-width: 25rem;
    white-space: pre-line; /* the webshop's payment link text can have line breaks */
}

/* Payment method choice without a terminal (10-3) */
.payment-method-choice {
    width: 100%;
}

.payment-method-description {
    margin-bottom: 1rem;
    white-space: pre-line;
}

.finish-button {
    max-width: var(--footer-width);
    margin-top: 1.5rem;
}


/****************************/
/*          MAP             */
/****************************/


@media (max-width: 800px) {
    #mapModal .modal-dialog.modal-xl {
        max-width: 90% !important;
    }
}

.resource-map {
    width: 100%;
    height: 100%;
    border-radius: var(--global-border-radius);
}

    .resource-map .text-marker {
        color: #4b99d0;
        width: 24px;
        height: 40px;
        position: absolute;
        bottom: 0px;
        left: -6px;
    }

        .resource-map .text-marker.not-available {
            filter: hue-rotate(140deg);
        }

.select-resource-popup {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.25rem;
}

    .select-resource-popup .resource-description-content {
        font-size: 0.7rem;
    }

    .select-resource-popup .select-resource-button {
        width: 100%;
    }

    .select-resource-popup .select-resource-name {
        font-size: 1rem;
    }

    .select-resource-popup .select-resource-price {
        font-size: 0.6rem;
    }

.resource-map .text-marker .resource-identifier {
    display: none;
}

.resource-map.zoom-1 .text-marker {
}

.resource-map.zoom-2 .text-marker {
}

.resource-map.zoom-3 .text-marker {
    width: 24px;
    height: 40px;
    left: -6px;
}

.resource-map.zoom-4 .text-marker {
    width: 30px;
    height: 50px;
    left: -9px;
}

.resource-map.zoom-5 .text-marker {
    width: 36px;
    height: 60px;
    left: -12px;
}
