section {
    margin-top: calc(60px + 30px);
    margin-bottom: 50px;
}
h1 {
    font-size: 36px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 600;
}
section div.child {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    flex-direction: row;
    & div.tab:first-child {
        width: calc(100% - 400px);
    }
    & div.tab:last-child {
        width: calc(400px - 40px);
        height: auto;
        padding: 20px;
        border: 1px solid #e6e6e6;
        border-radius: 17px;
        box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    }
}
div.price-breakup {
    & h3 {
        font-size: 18px;
        font-weight: 600;
        font-family: "Bricolage Grotesque", sans-serif;
    }
    & h3 span.dot::after {
        content: '•';
        color: #bfbfbf;
    }
    & h3 span:nth-child(2) {
        color: #474747;
    }

}
div.price-breakup div.amount {
    margin-top: 14px;
    & p.category {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
    }
    & p.category[data-visibility="hidden"] {
        display: none;
    }
    & p.category span.total {
        color: #353535;
    }
    & p.category.total {
        color: #121212;
        font-weight: 600;
        font-size: 16px;
    }
    & p.info {
        font-size: 13px;
        margin-top: 7px;
        text-align: center;
        color: #353535;
    }
}
div.selected-package {
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 17px;
    overflow: hidden;
    & img.cover {
        width: calc(100px + 32px);
        /*height: 100%;*/
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    & p.selected {
        position: absolute;
        right: 0;
        display: inline-flex;
        background-color: rgba(232, 75, 58, 0.2);
        color: #5B130B;
        font-size: 14px;
        padding: 4px 8px;
        border-radius: 5px;
    }
    & h3 {
        font-size: 20px;
        font-weight: 600;
        font-family: "Bricolage Grotesque", sans-serif;
    }
    & div.texts {
        flex: 1;
        position: relative;
        margin: 16px 20px 16px 0;
    }
    & p.duration svg {
        height: 16px;
        width: 16px;
        display: flex;
        overflow: visible;
        fill: #474747;
    }
    & p.duration {
        margin-top: 7px;
        display: flex;
        align-items: center;
        gap: 7px;
    }
    & div.links {
        margin-top: 14px;
        display: flex;
        align-items: center;
        gap: 14px;
    }
    & div.links a,
    & div.links button {
        font-size: 15px;
        padding: 7px 14px;
        border: 0;
        outline: none;
        text-decoration: none;
        border-radius: 50px;
    }
    & div.links button {
        background-color: rgb(233 76 59);
        color: #fff;
        box-shadow: 0 0 2px 1px #e8e8e8;
    }
    & div.links a {
        background-color: #f1f1f1;
        color: #000;
    }

}

div.guest-details,
div.important-info,
div.guest-address {
    margin-top: 30px;
    height: auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 17px;
    border: 1px solid #e6e6e6;
    box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
    & h3 {
        font-size: 20px;
        font-weight: 600;
        font-family: "Bricolage Grotesque", sans-serif;
        margin-bottom: 20px;
    }
}
div.input-container {
    margin-bottom: 20px;
    & div.labels {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    & label {
        font-size: 13px;
        text-transform: uppercase;
        color: #353535;
    }
    & div.inputs {
        position: relative;
        margin-top: 7px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    & input, & select {
        padding: 10px;
        border: 1px solid #cfcfcf;
        font-size: 15px;
        border-radius: 7px;
        outline: none;
    }
}
input:focus, select:focus {
    border-color: #474747 !important;
}
input:hover, select:hover {
    border-color: #818181 !important;
}
div.input-container:last-child {
    margin-bottom: 0;
}
div.input-container.guest-name {
    & div.labels label:first-child {
        width: 100px;
    }
    & div.labels label:last-child {
        visibility: hidden;
    }
    & div.inputs select:first-child {
        width: 100px;
    }
    & div.inputs input {
        flex: 1;
    }
}

div.input-container.contact {
    & div.labels label {
        flex: 1;
    }
    & div.inputs input {
        flex: 1;
    }
}

div.input-container.travel-date input:first-child{
    width: calc(50% - (7px + 20px));


}

button.open-other-guest-container {
    display: flex;
    align-items: center;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    gap: 10px;
    border: 0;
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-radius: 50px;
    color: rgb(233 76 59);
    cursor: pointer;
    & svg {
        height: 16px;
        width: 16px;
        display: flex;
        overflow: visible;
        fill: rgb(233 76 59);
    }
}
button.open-other-guest-container:hover {
    opacity: 0.7;
}

button#open-calling-code {
    position: absolute;
    left: calc(50% + 7px);
    background-color: transparent;
    border: 0;
    border-right: 1px solid #e8e8e8;
    outline: none;
    padding: 9px;
    font-size: 15px;
    cursor: pointer;
}
input[name="mobile-number"] {
    padding-left: calc(44px + 10px) !important;
    width: calc(50% - (7px + 55px)) !important;
    flex: auto !important;
}
input[name="email"] {
    flex: auto !important;
    width: calc(50% - 17px) !important;
}


div.important-info div.info {
    margin: 20px 0;
    & p {
        display: flex;
    }
    & p span.dot::after {
        content: "•";
        color: #474747;
    }
}

div.guests-list {
    margin-bottom: 20px;
    margin-top: 25px;
    & h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    & div.list {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 14px;
    }
}

div.guest {
    position: relative;
    background-color: #f5f7f9;
    width: calc(50% - (7px + 28px));
    border-radius: 11px;
    padding: 14px;
    & button.edit {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        height: 32px;
        width: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 0;
        outline: none;
        background-color: #ffffff;
        box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
        border-radius: 7px;
        cursor: pointer;
    }
    & button.edit:hover {
        background-color: rgb(233 76 59);
    }
    & button.edit:hover svg {
        fill: #fff;
    }
    & button.edit svg {
        height: 16px;
        width: 16px;
        fill: #474747;
        display: flex;

    }
    p[data-type="name"] {
        font-weight: 500;
        margin-bottom: 3px;
    }
    p[data-type="category"] {
        font-size: 14px;
        color: #353535;
        text-transform: capitalize;
    }
}

div.guests-list[data-visibility="hidden"] {
    display: none;
}
div.submit-button {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    & button {
        height: 42px;
        width: 250px;
        font-size: 16px;
        border: 0;
        background-color: rgb(233 76 59);
        outline: none;
        color: #fff;
        border-radius: 50px;
        box-shadow: rgba(0, 0, 0, 0.1) -4px 9px 25px -6px;
        font-weight: 600;
        cursor: default;
        opacity: 0.7;
    }
    & button.active:not(.processing) {
        cursor: pointer;
        opacity: 1;
    }
    & button:hover:not(.processing){
        opacity: 0.7;
    }
}

section.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    & button.close {
        position: absolute;
        height: 42px;
        width: 42px;
        outline: none;
        border: 0;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        top: -52px;
        right: 0;
        cursor: pointer;
    }
    & button.close:hover svg {
        fill: rgb(233 76 59);
    }
    & button.close svg {
        height: 16px;
        width: 16px;
        display: flex;
    }
}
section.popup[data-visibility="hidden"] {
    display: none;
}
div.travel-partner-form {
    position: relative;
    width: 500px;
    padding: 20px;
    height: auto;
    background-color: #fff;
    border-radius: 17px;
    & h2 {
        font-size: 24px;
    }
    & input, & select {
        display: grid;
        padding: 10px;
        border: 1px solid #cfcfcf;
        font-size: 15px;
        border-radius: 7px;
        outline: none;
    }
    & div.form {
        display: flex;
        gap: 10px;
        margin: 20px 0 14px 0;
    }
    & div.form input {
        flex: 1;
    }
    & p.note {
        margin-top: 20px;
        font-size: 13px;
        text-align: center;
    }
    & div.buttons {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    & div.buttons button {
        height: 38px;
        font-size: 15px;
        border: 0;
        outline: none;
        border-radius: 50px;
        font-weight: 500;
        cursor: pointer;

    }
    & div.buttons button:hover {
        opacity: 0.7;
    }
    & div.buttons button.delete {
        width: 150px;
        color: #ff0000;
        background-color: #f1f1f1;
    }
    & div.buttons button.save {
        flex: 1;
        background-color: rgb(233 76 59);
        color: #fff;
        opacity: 0.7;
        cursor: default;

    }
    & div.buttons button.save.active {
        opacity: 1;
        cursor: pointer;
    }
}
body.no-scroll {
    overflow: hidden;
}

div.calendar {
    position: relative;
    width: 400px;
    background-color: #fff;
    /*min-height: 433px;*/
    padding: 20px;
    border-radius: 17px;
    & h2 {
        font-size: 24px;
        font-weight: 500;
    }
    & div.month-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    & div.month-toggle button {
        border-radius: 50px;
        height: 36px;
        width: 36px;
        border: 0;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f6f8;
        opacity: 0.5;
        cursor: not-allowed;
    }
    & div.month-toggle button.active {
        opacity: 1;
        cursor: pointer;
    }
    & div.month-toggle button.active:hover {
        background-color: #d8dde1;
    }
    & div.month-toggle button:last-child {
        transform: rotate(-90deg);
    }
    & div.month-toggle button:first-child {
        transform: rotate(90deg);
    }
    & div.month-toggle button svg {
        height: 14px;
        width: 14px;
        display: flex;
    }

    & div.weeks {
        display: grid;
        grid-template-columns: repeat(7, 1fr); /* 7 equal columns */
        gap: 4px;
        margin-top: 20px;
        cursor: default;
        user-select: none;
        & p {
            flex: 1;
            font-size: 12px;
            text-align: center;
            padding: 10px 0;
            color: #6A6A6A;
            font-weight: 500;
        }
    }
    & div.days {
        display: grid;
        grid-template-columns: repeat(7, 1fr); /* 7 equal columns */
        text-align: center;
        gap: 4px;
    }
    & div.days button {
        aspect-ratio: 1/1;
        border: 1px solid transparent;
        border-radius: 50px;
        font-size: 14px;
        background-color: transparent;
        font-weight: 600;
        user-select: none;
    }
    & div.days button.selected {
        background-color: #e8edf3;
        border-color: #353535;
    }
    & div.days button.old-day {
        color: #6A6A6A;
    }
    & div.days button:hover:not(.empty,.old-day) {
        border-color: #353535;
        cursor: pointer;
    }
}

section.popup.success div.child {
    width: 400px;
    padding: 25px;
    height: auto;
    border-radius: 17px;
    background-color: #003241;
    display: block;
    & img {
        margin-left: 5%;
        width: 90%;
        height: 250px;
        object-fit: contain;
        margin-bottom: 25px;
    }
    & h2 {
        font-size: 24px;
        text-align: center;
        color: #fff;
    }
    & p {
        text-align: center;
        color: #ececec;
        font-weight: 400;
        margin: 14px 0 20px 0;
        font-size: 15px;
    }
    & span.package-name {
        text-transform: capitalize;
    }

    & a {
        text-align: center;
        display: inline-block;
        background: #fff;
        padding: 8px 16px;
        font-size: 15px;
        text-decoration: none;
        margin-left: 50%;
        transform: translateX(-50%);
        color: #003241;
        border-radius: 50px;
        font-weight: 500;
    }
    & a:hover {
        opacity: 0.7;
    }

}

input#travel-date:disabled,
input#travel-date {
    cursor: pointer;
    opacity: 1;
    color: #000;
    background-color: #fff;
}
@media only screen and (max-width: 1160px) {
    div.guests-list div.list {
        display: grid;
        & div.guest {
            width: calc(100% - 28px);
        }
    }
}