@font-face {
    font-family: "GT-Pressura-Mono-Regular";
    src: url("/static/lam/font/GT-Pressura-Mono-Regular.2905af7f7af2.woff2") format("woff2"),
        url("/static/lam/font/GT-Pressura-Mono-Regular.7677b2b3a699.woff") format("woff"),
        url("/static/lam/font/GT-Pressura-Mono-Regular.8786ff9fb4de.ttf") format("truetype"),
        url("/static/lam/font/GT-Pressura-Mono-Regular.ff909444ec9b.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Archivo-Regular";
    src: url("/static/lam/font/Archivo-Regular.ee3dc5e9c797.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

:root {
    --brand-dark: #222222;
    --brand-orange: #F07630;
    --disabled: #B3B3B3;
    --grey: #EEEEEE;
    --primary-font: "GT-Pressura-Mono-Regular";
    --secondary-font: "Archivo-Regular";
}

* {
    /* font-family: "GT-Pressura-Mono-Regular"; */
    box-sizing: border-box;
}

body {
    margin: 16px 16px 16px 140px;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1rem;
    color: var(--brand-dark);
}

header,
.title_section {
    display: flex;
    width: 100%;
    align-items: baseline;
}

#reservation-time-info{
    display: flex;
    width: 100%;
    width: 1231;
    gap: 10px;
    border-radius: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: center;
    align-items: center;
    color: black;
    background-color: var(--grey);
}

.reservation_footer {
    display: flex;
    width: 100%;
    width: 1231;
    gap: 10px;
    border-radius: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: center;
    align-items: center;
    color: black;
    background-color: var(--grey);
    .asterisk {
      flex: none;
      padding-right: 6px;
    }

    .asterisk-text {
      flex: 1;
    }
}

header {
    flex-direction: column;
    border-bottom: 2px solid var(--brand-orange);

    a {
        width: 100%;
    }
}

#desktop_header,
.reason_image {
    display: none;
}

.title_section {
    flex-direction: row;
    border-bottom: 2px solid var(--grey);
    padding: 16px 0;
    gap: 10px;
}

header>div:nth-of-type(n-1) {
    border: none;
}

main {
    margin: 48px 0;
}

#locations {
    display: flex;
    flex-direction: column;
    gap: 72px;
}
#reasons {
    display: flex;
    flex-direction: column;
}

.location_card,
.reason_card {
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;

    img {
        height: 48px;
        width: 48px;
    }
}

.location_address,
.reason_name {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;

    span:first-of-type {
        text-transform: uppercase;
        font-size: 1.5rem;
        line-height: 120%;
        text-wrap-style: balance;
    }

    span:last-of-type {
        font-family: var(--secondary-font);
    }
}

.location_address span:last-of-type {
    text-decoration: underline;
}

.reason_card,
.location_card {
    padding: 16px 0;
    border-bottom: 2px solid var(--grey);

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        padding: 0;
        background-color: var(--brand-orange);
        border-radius: 50px;

        .reason_button_text,
        .location_button_text {
            display: none;
            width: min-content;
            color: #fff;
            font-size: 20px;
        }

        .reason_button_icon,
        .location_button_icon {
            background-image: url("/static/lam/img/arrow_forward.1f701e4d4fe0.png");
            background-size: 16px;
            background-repeat: no-repeat;
            background-position: center;
            width: 48px;
            height: 40px;
        }
    }

}

footer {
    color: var(--disabled);
}

.icon {
    width: 16px;
    height: 16px;
}

a {
    all: unset;
    cursor: pointer;
}

.dateHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 25px;
    line-height: 128%;
    margin-bottom: 48px;
}

.scroll-btn {
    display: flex;
    background: none;
    font-family: var(--secondary-font);
    border-radius: 7.5px;
    color: var(--disabled);
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;

    span {
        display: none;
    }
}

#left-btn.scroll-btn::before,
#right-btn.scroll-btn::after {
    content: "";
    display: block;
    width: 30px;
    height: 20px;
    background-size: contain;
}

#left-btn.scroll-btn::before {
    background: url("/static/lam/img/arrow_back_ios.12b4394089ab.png") no-repeat center center / contain;
}

#right-btn.scroll-btn::after {
    background: url("/static/lam/img/arrow_back_ios.12b4394089ab.png") no-repeat center center / contain;
    transform: rotate(180deg);
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scrollWrapper {
    width: 1231px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px;
    justify-content: space-between;
}

.separator {
    flex: none;
    width: 1.25px;
    height: inherit;
    background-color: var(--grey);
}

.dayColumn {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    font-size: 20px;

    span {
        width: 100%;
        text-align: center;
    }

    span:first-of-type {
        font-family: var(--secondary-font);
        font-size: 15px;
        font-weight: 600;
        color: var(--disabled);
    }

    span:last-of-type {
        font-size: 20px;
        line-height: 128%;
    }

    .timeColumn {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 200px;
        height: 315px;
        align-content: center;
        font-family: var(--secondary-font);
        font-size: 15px;
        line-height: 128%;
        gap: 10px;

        p {
            margin: 6px auto;
        }

        .time {
            width: min-content;
            background-color: var(--grey);
            padding: 5px 10px;
            border-radius: 7.5px;
        }

        .time:hover {
            background-color: var(--brand-orange);
        }
    }
}

form {
    display: flex;
    flex-direction: column;
    font-family: var(--secondary-font);
    line-height: 140%;
    gap: 32px;

    .form-content-fields {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .form-content-2 {
        display: flex;
        flex-direction: column;
        gap: 56px;
    }

    #form-buttons{
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 56px;
        border-radius: 6px;
        border: 2px solid #B3B3B3;
    }

    .form-item {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    input:not([type="checkbox"]),
    select,
    textarea {
        all: unset;
        padding: 8px 16px;
        border: 1px solid var(--disabled);
        border-radius: 6px;
    }

    .confirm-data {
        display: flex;
        gap: 10px;

        input {
            all: unset;
            flex: none;
            margin: 0;
            width: 16px;
            height: 16px;
            border: 1px solid var(--grey);
            border-radius: 2px;
            display: inline-block;
            position: relative;
            cursor: pointer;
        }

        input:checked::before {
            background-color: #4CAF50;
            border-color: #4CAF50;
        }

        input:checked::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: var(--brand-orange);
        }

        input:hover::before {
            background-color: var(--disabled);
        }

        input:focus::before {
            background-color: var(--grey);
        }

        label {
            font-size: 12px;
            line-height: 140%;
        }
    }

    .dob-selects {
        display: flex;
        gap: 15px;
    }

    .form_button {
        all: unset;
        display: flex;
        gap: 10px;
        padding: 16px 40px;
        font-family: var(--primary-font);
        justify-content: center;
        align-items: center;
        color: #fff;
        background-color: var(--brand-orange);
        border-radius: 6px;
        cursor: pointer;
    }
}

#response p {
    color: var(--brand-orange);
}

.info {
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 120%;

    span {
        text-transform: uppercase;
    }

    ul {
        margin: 24px 0 0 0;
    }
}

.overview,
.dateLocation {
    display: flex;
    flex-direction: column;
    gap: 21px;

    #title_data {
        font-family: var(--primary-font);
        font-size: 24px;
        line-height: 130%;
    }

    div {
        display: flex;
        gap: 24px;

        span {
            font-family: var(--secondary-font);
            min-width: 79px;
            font-size: 20px;
            line-height: 125%;
        }
    }
}

#confirmation {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--grey);
    border-radius: 6px;
    padding: 24px 15px 56px 15px;
    gap: 56px;

    .title {
        display: flex;
        gap: 20px;
        font-size: 16px;
        line-height: 120%;
        text-transform: uppercase;
        color: var(--brand-orange);
    }

    img {
        width: 24px;
        height: 24px;
    }
}

#final {
    margin-bottom: 10px;
}

.backStart {
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    padding: 10px;

    img {
        width: 20px;
        height: 20px;
    }
}

@media screen and (min-width: 1000px) {
    body {
        max-width: 1242px;
    }

    header {
        border: none;

        a {
            width: auto;
        }

    }

    #desktop_header {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 16px;

        .header_arrow {
            display: block;
            width: 24px;
            height: 24px;
        }
    }

    .desktop_title_section {
        width: 266px;
        padding: 16px 40px;
        border-bottom: 2px solid var(--grey);
        gap: 10px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        &.selected {
            color: black;
            border-bottom: 2px solid var(--brand-orange);
        }
        &.not_selected_gray {
            color: var(--grey);
        }
         .icon {
             display: inline-block;
             vertical-align: bottom;
             margin-bottom: 2px;
         }
    }

    .title_section {
        display: none;
    }

    #locations,
    #reasons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    #locations {
        justify-content: center;
    }
    #reasons{
       gap: 14px;
    }
    .location_address,
    .reason_name {
        text-align: center;
    }

    .reason_name {
        width: 182px;
    }

    .location_address {
        width: max-content;
    }
    .reason_url{
        margin-bottom: 80px;
    }

    .reason_card,
    .location_card {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 300px;
        height: 100%;
        border: none;
    }

    .reason_card_top_container {
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .reason_image {
        display: block;
        height: 100px !important;
        width: 182px !important;
        object-fit: contain;
    }

    .button {
        display: flex;
        /* padding: 12px 35px; */
        justify-content: center;
        align-items: center;
        width: 182px !important;
        border-radius: 6px !important;
        background-color: var(--brand-orange);

        .reason_button_text,
        .location_button_text {
            display: block !important;
            width: min-content;
            color: #fff;
            font-size: 20px;
        }

        .reason_button_icon,
        .location_button_icon {
            background-image: url("/static/lam/img/arrow_forward.1f701e4d4fe0.png");
            background-size: 16px;
            background-repeat: no-repeat;
            background-position: center;
            width: 48px;
            height: 40px;
        }
    }
    .button:hover {
      background-color: #DF621B;
    }

    .scroll-btn span {
        display: block;
    }
    form {
        display: flex;
        flex-direction: row;
        font-family: var(--secondary-font);
        line-height: 140%;
        gap: 20px;

        .form-content-fields {
            display: flex;
            flex-direction: column;
            gap: 32px;
            margin-right: 42px;
        }
        .form-content-2 {
            display: flex;
            flex-direction: column;
            gap: 56px;
        }

        #form-buttons{
            display: flex;
            flex-direction: column;
            gap: 32px;
            padding: 56px;
            border-radius: 6px;
            border: 2px solid #B3B3B3;
        }

        .form-item {
            display: flex;
            flex-direction: row;
            gap: 32px;

            label{
                width:135px;
                margin-bottom: 18px;
            }
        }

        input:not([type="checkbox"]),
        select,
        textarea {
            all: unset;
            padding: 8px 16px;
            border: 1px solid var(--disabled);
            border-radius: 6px;
        }

        .confirm-data {
            display: flex;
            gap: 10px;

            input {
                all: unset;
                flex: none;
                margin: 0;
                width: 16px;
                height: 16px;
                border: 1px solid var(--grey);
                border-radius: 2px;
                display: inline-block;
                position: relative;
                cursor: pointer;
            }

            input:checked::before {
                background-color: #4CAF50;
                border-color: #4CAF50;
            }

            input:checked::after {
                content: "";
                position: absolute;
                width: 100%;
                height: 100%;
                background-color: var(--brand-orange);
            }

            input:hover::before {
                background-color: var(--disabled);
            }

            input:focus::before {
                background-color: var(--grey);
            }

            label {
                font-size: 12px;
                line-height: 140%;
            }
        }

        .dob-selects {
            width: 395px;
            display: flex;
            gap: 14px;
        }

        .form_button {
            all: unset;
            display: flex;
            gap: 10px;
            padding: 16px 40px;
            font-family: var(--primary-font);
            justify-content: center;
            align-items: center;
            color: #fff;
            background-color: var(--grey);
            border-radius: 6px;
            cursor: pointer;
        }
        #form_button.enabled {
          background-color: var(--brand-orange);
        }
        #form-button:hover {
          background-color: #DF621B;
        }
    }
}

@media (max-width: 1000px) {
  #id_info_desktop {
    display: none;
  }
}

@media (min-width: 1000px) {
  #id_info_mobile {
    display: none;
  }
}