@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body{
    background-color: black;
}

*{
margin: 0;
font-family: "Montserrat", sans-serif;
font-weight: 500;
box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding-top: 15px;
}

.transparent {
    background-color: transparent;
    color: transparent;
}

.choicerPlayers > h1 {
    margin-inline: 18px;
}
.choicerPlayers > button {
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 50%;
    width: 38px;
    cursor: pointer;
    border: 2px solid #3046d0;
    color: white;
    text-align: center;
    background: transparent;
    transition: all .3s;
}
.choicerPlayers > button:hover {
    background: #3046d0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

header > h1, header > h2 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.reservation_settings {
    margin-top: 90px;
    color: #fff;
    text-align: center;
}
.reservation_settings > h1 {
    font-size: 36px;
    font-weight: 700;
}

.select_date {
    display: flex;
    flex-direction: row-reverse;
}

.reservation_settings > .settingsList {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.input_setting {
    width: 100%;
    position: relative;
    max-width: 850px;
    margin-bottom: 30px;
    height: 60px;
}

.input_setting > svg {
    position: absolute;
    top: 50%;
    width: 21px;
    left: 25px;
    transform: translateY(-50%);
}

.input_setting > input {
    width: 100%;
    height: 100%;
    border: 1px solid #3046d0;
    background-color: transparent;
    border-radius: 10px;
    color: #fff;
    padding-left: 70px;
    padding-right: 14px;
    padding-block: 20px;
    font-weight: 600;
    font-size: 24px;
    outline: none;
}

.select_setting {
    width: 100%;
    max-width: 850px;
    min-height: 60px;
    height: auto;
    display: flex;
    margin-bottom: 30px;
    border: 1px solid #3046d0;
    border-radius: 10px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

.select_setting > .option {
    display: flex;
    align-items: flex-start;
    height: 100%;
}

.option > svg {
    height: 30px !important;
}

.selecter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 20px;
    width: 80%;
}

.selecter > details > summary {
    font-size: 24px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
    margin-right: 20px;
    position: relative;
    transition: all .3s;
    text-align: right;
}

.selecter > details {
    width: 100%;
}

.ui-datepicker-inline, .ui-datepicker {
    width: 100% !important;
}

.selecter > details > summary::before {
    content: url('../svgs/arrow.svg');
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-65%);
    transition: all .3s;
}
#datepicker {
    margin-top: 10px;
}
.ui-datepicker table {
    height: 280px;
}
.select_city {
    margin-top: 10px;
    background-color: #343e83;
    padding-block: 2px;
    border-radius: 4px;
}

.wfull {
    width: 100%;
}

.select_time {
    margin-top: 10px;
    background-color: #343e83;
    padding-block: 2px;
    border-radius: 4px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

.select_city > .lookup {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.select_tariff {
    margin-top: 4px;
    background-color: #343e83;
    padding-block: 2px;
    border-radius: 4px;
}

.lookup > input {
    padding: 8px;
    width: 100%;
    background-color: transparent;
    border: none;
    padding-inline: 35px;
    text-align: center;
    color: black;
    font-size: 16px;
}

.lookup > input::placeholder {
    color: gray;
}

.lookup > img {
    position: absolute;
    left: 10px;
}

.select_city button {
    background-color: transparent;
    width: 100%;
    padding-block: 15px;
    outline: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all .3s;
}

.select_time button {
    background-color: transparent;
    width: 100%;
    padding-block: 15px;
    outline: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    transition: all .3s;
    color: #fff;
}

.ui-datepicker-prev {
    right: 10px;
    left: unset !important;
    content: url('../svgs/datePicker_arrow.svg');
    transform: translateX(20px);
    rotate: 180deg;
    scale: 0.5;
    cursor: pointer;
    top: unset !important;
}

.ui-datepicker-title {
    margin: 0 .5em !important;
    text-align: left !important;
    text-transform: uppercase;
    color: white !important;
}

.ui-datepicker-month, .ui-datepicker-year {
    font-weight: 700 !important;
}

.ui-widget-content {
    background-color: #343e83 !important;
    border-color: unset !important;
    
}

.ui-datepicker-calendar {
    color: #fff !important;
}

.ui-state-default {
    border: unset !important;
    background: unset !important;
    text-align: center !important;
    transition: all .3s !important;
    color: white !important;
}

.ui-state-active {
    position: relative !important;
}

.ui-state-active::before {
    content: "";
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 24px;
    height: 24px;
    border: 1.5px solid #C20000 !important;
    border-radius: 50%;
}

.ui-datepicker {
    padding: unset !important;
    color: #fff;
}

.ui-datepicker-next {
    content: url('../svgs/datePicker_arrow.svg');
    scale: 0.5;
    cursor: pointer;
    top: unset !important;
}

.ui-datepicker-header {
    padding: .4em 0 !important;
    background-color: #7382d2 !important;
    border-color: #626fb6 !important;
    color: #fff;
}

#datepicker {
    width: 100%;
}

.select_city button:hover {
    background-color: #7382d2;
}

.select_time button:hover {
    background-color: #7382d2;
}

.select_time button:disabled {
    background-color: #3d446c;
    cursor: not-allowed;
}

.selecter > details[open] > summary::before {
    transform: rotateX(180deg) translateY(25%);
}

.option > h1 {
    margin-left: 17px;
}

.input_setting > input::placeholder {
    color: #A7A7A7;
}

.bonuses {
    color: white;
    margin-top: 40px;
    text-align: center;
}

.bonuses > h1 > span {
    font-size: 36px;
    font-weight: 700;
    color: #E2CA98;
}

.bonuses > h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 35px;
}

.bonusBlock {
    margin-bottom: 20px;
}

.bonusBlock > .filler {
    height: 32px;
    width: 100%;
    background-color: #3046d0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.bonusBlock > .content {
    background-color: #fff;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px;
    padding-inline: 40px !important;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.describe > img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 30px;
}

.describe {
    display: flex;
    text-align: left;
    align-items: center;
    width: 100%;
}

.info > .price {
    font-size: 24px;
    font-weight: 600;
    margin-top: 10px;
}

.info > h3 {
    font-size: 28px;
    font-weight: 400;
}

.addBtn {
    background-color: #000000;
    border-radius: 100px;
    max-width: 257px;
    width: 100%;
    border: none;
    font-size: 24px;
    color: white;
    padding-block: 13px;
    padding-inline: 40px;
    cursor: pointer;

    transition: all .3s;
    box-shadow: 0px 4px 10px 0px #00000040;
}

.addBtn:hover {
    background-color: #3046d0;
    color: black;
}

.last-step {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.last-step > h1 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;

}

.last-step > h1 > span {
    font-size: 40px;
    font-weight: 700;
}

.center-objects {
    display: flex;
    align-items: center;
    justify-content: center;
}

.addPadding {
    padding-top: 20px;
}

.disable_maxwidth {
    max-width: unset !important;
}

.pay_btn {
    background-color: #fff;
    border-radius: 100px;
    max-width: 257px;
    width: 100%;
    border: none;
    font-size: 24px;
    color: black;
    padding-block: 13px;
    padding-inline: 40px;
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 100px;
    transition: all .3s;
}

.pay_btn:hover {
    background-color: #3046d0;
}

.rooms > h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.rooms > .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
    gap: 20px;
}

.room > .img_wrapper, .room > .img_wrapper > img {
    border-radius: 20px;
    object-fit: cover;
    position: relative;
    height: -webkit-fill-available;
    width: 300px;
    height: 300px;
    transition: all .3s;
}

.list > .room {
    display: flex;
    flex-direction: column;
}

.room > h1 {
    color: #fff;
    text-align: center;
    margin-top: 6px;
}

.addBtn:hover .activated {
    all: unset;
}

#final_time {
    text-align: right;
}

.activated {
    background-color: #F0D8BE !important;
    color: black;
    transition: all .3s;
}

.activated:hover {
    color: black;
    background-color: #5C4934; 
}

.room.disabled .img_wrapper::before {
    content: "❌ Недоступно";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 20px;
    z-index: 10; /* Ensure it overlays the image */
    transition: all .3s;
}

.room:not(.disabled):hover .img_wrapper img, 
.room:not(.disabled).selected .img_wrapper img {
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 20px 4px rgba(226, 201, 152, 0.73);
    -moz-box-shadow: 0px 0px 20px 4px rgba(226, 201, 152, 0.73);
    box-shadow: 0px 0px 20px 4px rgba(226, 201, 152, 0.73);
    border: 2px solid #3046d0;
}

.selcted {
    background-color: #7e8fe8!important;
    color: #fff !important;
}

@media (max-width: 777px){
    .bonusBlock > .content, .content > .describe {
        display: flex;
        flex-direction: column !important;
        justify-content: center;
    }

    .describe > img { margin-right: unset !important; }

    .describe > .info {
        margin-block: 10px;
        text-align: center;
    }
}

@media (max-width: 450px){
    .select_setting {
        flex-direction: column;
    }

    .selecter {
        width: 100%;
        margin-top: 10px;
        padding-inline: unset !important;
        justify-content: center;
        align-items: center;
        border-top: 1px solid #3046d0 !important;
        padding-top: 5px;
        color: #fff !important
    }

    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .reservation_settings { margin-top: 40px; }
    .input_setting > input { font-size: 20px; }

    #price { font-size: 36px !important; }

    .disable_maxwidth {
        justify-content: center;
        align-items: center;
    }

    .disable_maxwidth > h1 {
        margin-top: 10px;
        border-top: 1px solid #3046d0 !important;
        padding-top: 5px;
    }
}