* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/*搜尋導遊區塊  切分左右兩區*/
.main {
    margin-top: 100px;
}

.condition {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    padding: 0 18%;
    gap: 2rem 5%;
}

.select {
    color: rgba(60, 128, 180, 1);
    font-size: 20px;
    padding-bottom: 5px;
    font-weight: bold;
    margin-top: 1rem;
}

/*左側*/
.left {
    width: 57%;
    padding-left: 22%;
    height: auto;
    min-width: 600px;
}

.personal-container {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 地區選單-S */
#areaSelect {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-block: 1rem;
    flex: 0 0 100%;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5rem;
    width: 100%;
}

.custom-select {
    min-width: 10rem;
    width: 100%;
    font-size: 14px;
    height: auto;
}

#areaSelect button {
    border: 0;
    border-radius: 5px;
    background-color: #9cc8e3;
    line-height: 2;
    font-size: 1rem;
    color: #fff;
    width: 5rem;
    cursor: pointer;
    height: 2.3rem;
}

#areaSelect button:hover {
    background-color: #6c9bc9;
}

/* 地區選單-E */
.photo-sticker {
    width: 80%;
}

.photo {
    width: min(340px, 100%);
}

.personnel {
    margin-top: 30px;
}

.flag {
    width: 37px;
    height: 25px;
    margin-left: 1%;
}

.star {
    width: 20px;
    height: 20px;
}

.sexual-language {
    margin: 10px 0px;
    color: rgba(99, 99, 99, 1);
}

.introduce {
    margin: 20px 0px;
}

/* 頁籤的樣式 */
.tabs {
    display: flex;
    /* border-bottom: 2px solid #ccc; */
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid rgba(156, 200, 227, 1);
    border-bottom: none;
    border-radius: 5px 5px 0px 0px;
    width: 35%;
    text-align: center;
    font-size: 1rem;
    color: rgba(99, 99, 99, 1);
}

.tab.active {
    background-color: rgba(156, 200, 227, 1);
    color: white;
}

/* 頁籤內容區域 */
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid rgba(156, 200, 227, 1);
    border-radius: 0px 5px 5px 5px;
    min-height: 16rem;
    line-height: 2;
}

.tab-content.active {
    display: block;
}

.article {
    font-family: "Noto Sans TC", "Noto Sans SC";
    overflow: auto;
    max-height: 22.5rem;
}

.album {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.photo-area {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.album-photo {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    cursor: pointer;
}

.level-area {
    margin: 10px 0px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.rating {
    font-size: 30px;
    color: rgba(99, 99, 99, 1);
    font-weight: bold;
}

.feedback-star {
    width: 25px;
    aspect-ratio: 1;
}

.feedback {
    margin-top: 5px;
    font-size: 16px;
    color: rgba(99, 99, 99, 1);
    font-weight: bold;
}

.message-board {
    margin-top: 40px;
    /*max-height: 1400px;*/
    overflow: auto;
}

.main *::-webkit-scrollbar {
    width: 8px;
}

.main *::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.main *::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}

.main *::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.message {
    display: flex;
    margin-bottom: 50px;
}

.per-photo-area {
    margin: 0px 10px;
    width: 15%;
    min-width: 90px;
}

.per-photo {
    border-radius: 50%;
    height: 90px;
    width: 90px;
}

.content {
    flex: 1;
}

.messager {
    font-size: 16px;
}

.date {
    color: rgba(99, 99, 99, 1);
    font-size: 16px;
    margin: 7px 0px;
}

.impression {
    font-weight: bold;
    font-size: 16px;
    max-height: 150px;
    overflow: visible;
}

.share-photo {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 5px;
    margin-top: 15px;
}

.impression-photo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

.impression-photo-more {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: none;
}

.mask {
    position: relative;
    opacity: 0.5;
    display: inline-block;
    cursor: pointer;
}

.mask-text {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #fff;
    position: absolute;
}

/*右側*/
.right {
    width: 43%;
    height: auto;
    margin-left: 3%;
}

.booking-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 日曆選擇器 */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus {
    background: #4caf50 !important;
    /* 你想要的顏色 */
    color: #fff !important;
    border-color: #4caf50 !important;
}


/* 服務類型+時段-S------------------------------- */
.serviceTypeBox {
    margin: 10px auto;
    display: flex;
    gap: 10px;
}

.serviceTypeBox label {
    position: relative;
    flex-grow: 1;
}

/* 時段 */
.rangeBox {
    /* border: 1px solid red; */
    margin: 10px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.rangeBox label {
    /* border: 1px solid red; */
    position: relative;
    width: 100%;
    height: 100%;
}

.serviceTypeBox label input[type="radio"],
.rangeBox label input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.serviceTypeBox label span,
.rangeBox label span {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.serviceTypeBox label input[type="radio"]:checked + span,
.rangeBox label input[type="radio"]:checked + span {
    background-color: #4caf50;
    color: white;
}

.serviceTypeBox label input[type="radio"]:disabled + span,
.rangeBox label input[type="radio"]:disabled + span {
    /* background-color: #eee; */
    /* color: red; */
    opacity: 0.5;
    text-decoration: line-through;
    cursor: no-drop;
}

/* 服務類型+時段-E */
/* 服裝-S */
.clothingBox {
    margin-top: 10px;
}

.clothingBox .inputBox {
    /* border: 1px solid red; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clothingBox .inputBox label {
    /* border: 1px solid #4CAF50; */
    width: 45%;
    position: relative;
}

.clothingBox .inputBox label input {
    width: 0;
    height: 0;
    position: absolute;
    top: 0%;
    left: 0%;
}

.clothingBox .inputBox label span {
    background-color: #f0f0f0;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;

}

.clothingBox .inputBox label > input:checked ~ span {
    background-color: #4caf50;
    color: white;
}

/* 服裝-E */
.hidden {
    display: none;
}

/* 基本樣式 */

.guide-reviews {
    flex: 0 0 100%;
    width: 100%;
}

.select-container {
    justify-content: flex-start;
    align-items: center;
}

.select-container input {
    border-radius: 5px;
    border: 1px solid #9cc8e3;
    padding: 10px 5px;
    width: 100%;
}

.select-container input:focus {
    outline: none;
    border-color: #6AB0D3;
}

.select-container .title {
    display: inline;
}

/*.searchNameBox, .selectBox {*/
/*    width: calc(30% - 5px);*/
/*}*/

/*.selectBox:after {*/
/*    top: 70%;*/
/*}*/

.tips {
    text-align: center;
    width: 100%;
}

.optional-tag {
    display: inline-block;
    background-color: #ecf0f1;
    color: #7f8c8d;
    font-size: 0.75rem;
    padding: 1px 6px;
    border-radius: 4px;
    margin: 0 0 4px 3px;
    vertical-align: middle;
    font-weight: 400;
}

@media (max-width: 991px) {
    /*#areaSelect button {*/
    /*    width: 100%;*/
    /*}*/
    .selectBox {
        flex: 1;
    }

    .custom-select {
        min-width: auto;
    }

    .sexual-language {
        text-align: center;
    }

    .album {
        justify-items: center;
        grid-template-columns: repeat(4, 1fr);
    }

    .condition {
        flex-direction: column;
        /* 垂直排列 */
        align-items: center;
        /* 置中 */
    }

    .left,
    .right {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        min-width: auto;
        margin-left: 0px;
    }

    .photo-sticker {
        width: 100%;
        display: flex;
        justify-content: center;
    }


    /*.searchNameBox, .selectBox {*/
    /*    width: calc(50% - 5px);*/
    /*}*/
}

/* 中等設備 */
@media (max-width: 768px) {
    .album {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* 手機版 (425px 以下) */
@media (max-width: 425px) {
    .searchNameBox, .selectBox {
        width: 100%;
    }

    .select-container .title {
        text-align: center;
        width: 100%;
    }

    .selectBox {
        width: 100%;
    }

    .select-container .title .optional-tag {
        width: 100%;
        padding: 5px;
        margin: 6px 0 6px 0;
    }

    #areaSelect button {
        width: 100%;
    }

    .condition {
        flex-direction: column;
        padding: 0 5%;
    }

    .select {
        text-align: center;
    }

    .album-photo {
        width: 100%;
        height: 100%;
    }

    .message {
        flex-direction: column;
    }

    .per-photo-area {
        margin: auto;
    }

    .content {
        width: 100%;
        text-align: center;
    }

    .share-photo {
        grid-template-columns: repeat(2, 1fr);
    }

    .impression-photo,
    .impression-photo-more {
        width: 100%;
        height: auto;
    }

    .album {
        grid-template-columns: repeat(2, 1fr);
    }

    .right {
        margin-left: 0%;
    }

    .per-photo {
        display: flex;
        justify-content: flex-start;
    }

    .messager {
        margin: 7px 0px;
    }

    .level-area {
        justify-content: center;
    }

    .rating {
        font-size: 24px;
    }

    .feedback-star {
        width: 20px;
    }

    .feedback {
        font-size: 14px;
    }
}