@charset "utf-8";

/*all*/
*,
::after,
::before {
    box-sizing: border-box;
}

.mask-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d6d6d699;
    opacity: 0;
    z-index: 1069;
    transition: opacity 0.4s;
    visibility: hidden;
}

.mask-page.black {
    visibility: visible;
    opacity: 1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #f6f6f6;
    font-family: 微軟正黑體;
    color: #324148;
    line-height: 1.6;
    font-size: 14px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.border-left {
    border-left: 1px solid #ccc;
}

.border-right {
    border-right: 1px solid #ccc;
}

.border-bottom-bk {
    border-bottom: 1px solid #ccc;
}

.margin-tb {
    margin-top: 15px;
    margin-bottom: 15px;
}

.m-t-25 {
    margin-top: 25px;
}

.m-t-40 {
    margin-top: 40px;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.p-10 {
    padding: 10px;
}

.pb-15 {
    padding-bottom: 15px;
}

.justify-flex-start {
    justify-content: flex-start;
}

.justify-flex-end {
    justify-content: flex-end;
}

.p-relative {
    position: relative;
}

.p-l-0 {
    padding-left: 0px !important;
}

.p-r-0 {
    padding-right: 0px !important;
}

.justify-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.font-border {
    font-weight: 600;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-direction-column {
    flex-direction: column;
}

.w-100 {
    width: 100%;
}

/*color*/
.bg-white {
    background-color: #fff;
}

.bg-green {
    background-color: #007979;
}

.bg-grey-light {
    background-color: #eceff1;
}

.bg-green-light {
    background-color: #eef8f7;
}

.border-bottom-grey {
    border-bottom: 1px solid #a5a5a5;
}

.border-bottom {
    border-bottom: 1px solid #bf9854;
}

.border-bottom-gray {
    border-bottom: 1px solid #F0F0F0;
}

a {
    color: #324148;
    text-decoration: none;
    cursor: pointer;
}

.text-green {
    color: #24a09a;
}

.text-grey {
    color: #a7a7a7;
}

.text-blue {
    color: #7092be;
}

.green-customer {
    background-color: #20aea3 !important;
    color: #fff;
}

.green-light {
    background-color: var(--cht-green-light) !important;
}

/*loader動畫*/
:root {
    --fg: #a5a5a5;
    --cht-green: #24a09a;
    --cht-green-b: #067a75;
    --cht-green-light: #dceeee;
    --cht-grey: #a7a7a7;
}

.service-mes-Loading {
    height: 90px;
    width: 70px;
    display: grid;
    place-items: center;
}

.loader-3 {
    display: flex;
    gap: 10px;
}

.loader-3 i {
    width: 10px;
    height: 10px;
    background: var(--fg);
    border-radius: 50%;
    display: inline-block;
    animation: bounce 0.9s infinite ease-in-out;
}

.loader-3 i:nth-child(2) {
    animation-delay: 0.15s;
}

.loader-3 i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }
}

.ser-img {
    display: flex;
    justify-content: center;
    position: relative;
    width: 230px;
    margin-top: 4px;
}

.ser-img-green {
    background-image: url(../img/headset.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 45px;
    width: 90px;
    height: 90px;
    background-color: #d3e9e9;
    border-radius: 100px;
}

.dot-line {
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.space {
    width: 150px;
}

.loader-dot {
    width: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0% {
        box-shadow: 20px 0 #666, -20px 0 #6662;
        background: #666
    }

    33% {
        box-shadow: 20px 0 #666, -20px 0 #0002;
        background: #0002
    }

    66% {
        box-shadow: 20px 0 #0002, -20px 0 #666;
        background: #0002
    }

    100% {
        box-shadow: 20px 0 #0002, -20px 0 #666;
        background: #666
    }
}

/**/
.wrapper {
    padding-top: constant(safe-area-inset-top);
    padding-right: constant(safe-area-inset-right);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-left: constant(safe-area-inset-left);
    overflow: hidden;
    background-image:linear-gradient(0deg, #B3D9D9 0%, #ECFFFF 10%, #FFFFFF 46%);
    min-height: 100vh;
}

.container {
    max-width: 1140px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/*header*/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1067;
}

.header.active {
    z-index: 1030;
}

.meun-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headlogo {
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 162px;
    height: 35px;
}

.head-btns {
    display: flex;
    align-items: center;
}

.text-size {
    padding: 8px;
}

.info-btn {
    height: 50px;
    overflow: hidden;
}

.head-btn:before {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    background-color: #fec602;
    transition: height 0.5s;
}

.head-btn.active:before {
    height: 4px;
}

.text-size img {
    height: 20px;
}

.info-icon {
    background-image: url(../img/icon_header_btns__3x.png);
    background-repeat: no-repeat;
    background-position: 0px -24px;
    background-size: 72px;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 10px 0px;
}

.log-out {
    background-image: url(../img/icon_header_btns__3x.png);
    background-repeat: no-repeat;
    background-position: 0px -48px;
    background-size: 72px;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 10px;
}

/*menu貼心提醒*/
.up-tips {
    z-index: 1100;
    position: fixed;
    left: 50%;
    top: 45%;
    width: 500px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%);
    transform-origin: left top;
    transition: all .3s ease-out;
}

.up-tips.active {
    left: 50%;
    top: 50%;
    opacity: 1;
    visibility: visible;
}

.up-tip {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

.up-tip-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.tip-area {
    margin: 0 auto;
    padding: 10px 0;
}

.tip-area .tip-content:nth-of-type(2) {
    height: 250px;
}

.tip-content {
    line-height: 1.6;
    margin-bottom: 10px;
    margin-top: 5px;
    display: block;
}

.shadow_top {
    box-shadow: 0px 0px 50px -5px rgb(138 161 172);
    position: fixed;
    top: 50px;
    z-index: 1067;
    width: 100%;
}

.shadow_top.active {
    z-index: 1030;
}

.up-tip-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.tip-area {
    margin: 0 auto;
    padding: 10px 0;
}

.margin-t-b {
    margin-top: 5px;
    margin-bottom: 2px;
}

.info-icon-green,
.info-icon2 {
    background-image: url(../img/icon_header_btns__3x.png);
    background-repeat: no-repeat;
    background-position: -48px -24px;
    background-size: 72px;
    width: 25px;
    height: 25px;
    display: inline-block;
    margin: 10px 0px;
}

.info-iconbage {
    background-position: -48px 0px;
}

.info-title,
.info-title-bage {
    width: 200px;
    height: auto;
    position: relative;
    float: left;
    padding-left: 35px;
}

.info-img {
    background-position: -24px -24px;
    transition: background-position 0.3s;
}

.close-btn,
.inf-ser-btn {
    display: inline-block;
    width: 100%;
    background-color: var(--cht-green);
    color: #fff;
    text-align: center;
    padding: 5px;
    font-size: 16px;
}

.inf-ser-btn {
    border-radius: 0px 0px 5px 5px;
}


.inf-ser-btn.show {
    pointer-events: visible;
    opacity: 1;
}

#gotobottom {
    background: url(../img/chevron-down.svg) #ffffff;
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: center;
    width: 35px;
    height: 35px;
    position: absolute;
    border-radius: 50px;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: 3px;
    box-shadow: 0px 1px 5px lab(0 0 0 / 0.1);
}

#gotobottom:hover {
    background-color: #f0fdf4;
}

#gotobottom,
.inf-ser-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s;
}

#gotobottom.show,
.inf-ser-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/*top跑馬燈*/
.top-board {
    position: relative;
}

.mes-line-area {
    margin: 0 auto;
}

.mes-line {
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mes-txt {
    width: 85%;
    height: 30px;
    line-height: 30px;
    overflow: hidden;    
}

.mes-line-Number {
    background-color: #eceff1;
    box-shadow: 0px 0px 2px 0px #868686;
    padding: 0px 6px;
    border-radius: 10px;
    font-size: 12px;
    width: 35px;
    height: 18px;
    text-align: center;
    margin-right: 2px;
}

/*footer*/
.footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1032;
}

.footer.active {
    z-index: 1030;
}

.shadow_bottom {
    background-color: #f5f8f8;
}

.search-input-row {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    z-index: 2;
    padding-left: 10px;
    padding-right: 10px;
}

.search-input {
    position: fixed;
    transition: background 0.3s;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    z-index: 1067;
    margin-top: 30px;
    bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

input.footer-quest-input[type="text"]:focus {
    color: #000000;
}

input.footer-quest-input::placeholder {
    color: #a5a5a5;
}

.footer-quest-input {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    z-index: 2;    
    flex: none;        
    border: none;
    outline: none;
    background: transparent;
    box-sizing: border-box;
    resize: none;
    line-height: 1.5;
    min-height: 24px;      
    max-height: 200px;   
    overflow-y: hidden;
    transition: height 0.1s ease;
}

.footer-quest-input.active {
    opacity: 0;
    visibility: hidden;
}

/* ==================== 1. 霓虹發光主體（單層，不重疊） ==================== */
.rainbow-cht.color {
    border-radius: 32px;
    width: 100%;
    max-width: 780px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border: none;
    background: white;
    overflow: visible !important;
}

.rainbow-cht.color::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    border-radius: 34px;
    background: conic-gradient(from var(--angle), #fd004c, #004efe, #13faea, #b102b7, #fd004c);
    opacity: 0.6;
    animation: universalRotate 2s infinite linear;        
    transform: translate3d(0, 0, 0);
}

.rainbow-cht.color:focus-within::before {
    animation-play-state: paused;            
    opacity: 0.9;
}

.rainbow-cht.color.terminated::before {
    animation: none;
    opacity: 0.3; 
}

@keyframes universalRotate {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* 按鈕基礎樣式 */
#action-btn1,
#sendBtn {
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #a5a5a5;
}

#sendBtn .icon {
    display: none;
    width: 22px;
    height: 22px;
}

/* 狀態 1：當按鈕擁有 .is-mic 時，只顯示麥克風 */
#action-btn1.is-mic .icon-mic {
    display: block;
    color: #a5a5a5;
}

/* 狀態 2：當按鈕擁有 .is-focus-empty 時，只顯示灰底圖示 */
#sendBtn.is-focus-empty .icon-focus-empty {
    display: block;
}

/* 狀態 3：當按鈕擁有 .is-send 時，只顯示傳送圖示 */
#sendBtn.is-send .icon-send {
    display: block;
}

/* ⚠️ 僅在帶有禁用類別時，滑鼠游標才變成禁止符號 */
#sendBtn.disabled {
    cursor: not-allowed;
}

.more-service {
    position: relative;
}

.mic-icon {
    transform: translateY(-50%);
    color: #888888;
    pointer-events: none;
    /* 先設為不能點擊，如果之後要加功能再改 */
    z-index: 3;
    transition: color 0.3s ease;
}

.send-btn {
    background-image: url(../img/plus-lg.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px;
    width: 30px;
    height: 30px;
    border-radius: 25px;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.send-btn.active {
    transform: rotate(135deg);
    transition: all 0.3s ease-in-out;
    background-color: #D1E9E9;
    background-image: url(../img/plus-lg-green.svg);
}

.btn-group {
    display: flex;
    flex-wrap: nowrap;
}

.search-input.is-active {
    position: relative;
    flex-direction: column-reverse;
}

/*swiper*/
.swiper {
    width: 100%;
    max-width: 710px;
    margin: auto;
}

.question-list-area {
    display: flex !important;
    align-items: flex-end;
    flex: 1;
    margin: 15px 10px;
    height: auto;
    padding: 5px 10px;
}

.list-dropdown-area {
    position: relative;
}

.q-list-menu {
    position: fixed;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: none;
}

.q-list-menu.active {
    opacity: 1;
    visibility: visible;
}


.question-list-area.is-active {
    align-items: flex-start;
}

.question-list-area .q-item {
    border: 1px solid #C3C3C3;
    border-radius: 15px;
    padding: 2px 10px;
    color: #C3C3C3;
    text-align: center;
    white-space: nowrap;
    font-weight: 200;
    font-size: 14px;
    width: 100%;
}

.q-item.is-active {
    background-color: #24A09A;
    color: #ffffff;
    border: 0;
}

.question-list-wrapper {
    display: flex;
    align-items: flex-end;
    position: relative;
    padding: 0 10px;
}

.question-list-wrapper.is-active {
    align-items: flex-end;
}

.question-list-wrapper.active {
    display: none;
}

.q-s-list {
    min-width: 180px;
    padding: 8px 15px;
    list-style: none;
    background-color: #FCFCFC;
    border-radius: 10px;
    box-shadow: 5px 5px 9px rgb(0 0 0 / 5%);
}


.q-s-list.is-open {
    display: block;
    animation: fadeInDropdown 0.2s ease-out;
}

.q-s-list.qs-active {
    bottom: 25px;
    top: auto;
}

.q-list-item {
    padding: 2px 15px 2px 2px;
    font-size: 14px;
    color: #c3c3c3;
    white-space: nowrap;
    cursor: pointer;
    text-align: left;
}

.q-list-item:hover,
.q-list-item:focus,
.q-list-item:active {
    color: #24A09A;
}

/* 下拉微動畫 */
@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-prev {
    background-image: url(../img/chevron-left.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
}

.custom-next {
    background-image: url(../img/chevron-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px;
}

.custom-prev,
.custom-next {
    position: static;
    margin: 0 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    background-color: lab(100 0 0 / 0.40);
    cursor: pointer;
    margin-bottom: 20px;
}

.custom-prev::after,
.custom-next::after {
    font-size: 14px;
    color: #009432;
    font-weight: bold;
}

.custom-prev.is-active,
.custom-next.is-active {
    margin-bottom: 20px;
}


.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;

}

.more-service-tit,
.rf-list-tit {
    width: 100%;
    height: 35px;
    text-align: center;
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.foot-close-bt,
.rf-date-closebtn,
.rf-detal-close-btn,
.survey-close-bt {
    background-image: url(../img/x.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 25px;
    width: 35px;
    height: 35px;
    margin-right: 15px;
}

.margin-b {
    margin-bottom: 15px;
}

/*main-content*/
.main-content {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1066;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 100px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 90px;
    margin-bottom: 150px;
}

.main-content.active {
    display: none;
}

.main-content.is-active {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.p-text {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
}

.med-contene {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*message-contene*/
.cht-pop {
    font-size: 14px;
}

.service-mes {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.message-contene {
    display: flex;
    flex-direction: column;
    margin-top: 35px;
}

.cht-pop-comment {
    margin: 0px;
    padding: 0px;
    word-break: break-all;
    text-align: justify;
}

.service-pop {
    text-align: center;
    display: inline-block;
    margin-right: 5px;
}

.service-block {
    display: flex;
    margin-top: 25px;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}

.ser-file-photo {
    width: 45px;
}

.ser-name {
    text-align: center;
    font-size: 13px;
}

.profile {
    max-width: 50px;
    text-align: center;
}

.profile-photo {
    max-width: 50px;
}

.cht-name {
    width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px;
}

.service-pop-content {
    position: relative;
    max-width: 420px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 3px 0 #c7c7c7;
    text-align: left;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 10px;
}

.cht-time {
    position: absolute;
    bottom: 0;
    padding: 0 5px;
    color: #b6b6b6;
    font-size: 14px;
}

.transfer-ser-content {
    position: relative;
    max-width: 420px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: #f6f6f6;
    margin-bottom: 25px;
    border: 2px solid #8c8c8c;
}

.transfer-ser-tit {
    text-align: center;
    background-color: #53a6a6;
    color: #d3e9e9;
    border-radius: 8px 8px 0px 0px;
    padding: 5px;
}

.transfer-cancel-btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
}

.left {
    border-top-left-radius: 0;
}

.right {
    border-top-right-radius: 0;
}

.t-left {
    left: 100%;
    margin-right: -100%;
}

.t-right {
    right: 100%;
    margin-left: -100%;
}

.ai-tip {
    font-size: 12px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.ai-tip-txt {
    margin-right: 5px;
}

.pop-block {
    display: flex;
    flex-direction: column;
    position: relative;
}

.reply-block {
    height: 30px;
    margin-top: 15px;
}

.link-rfblock {
    background-color: #ECEFF1;
    border-radius: 20px;
    align-items: center;
    display: flex;
}

.link-rf {
    background-image: url(../img/link-45deg.svg);
    background-size: 15px;
    background-position: center center;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    display: flex;
    line-height: 20px;
    flex-shrink: 0;
    margin-left: 5px;
}

.link-rf-txt {
    align-items: center;
    font-size: 11px;
    line-height: 1.45;
    display: flex;
    margin-right: 12px;
}

.reply-icon {
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: center center;
    width: 25px;
    height: 25px;
    display: inline-block;
}

.reply-voiceplay {
    background-image: url(../img/volume-up.svg);
}

.reply-comm-g {
    background-image: url(../img/hand-thumbs-up.svg);
}

.reply-comm-ng {
    background-image: url(../img/hand-thumbs-down.svg);
}

.reply-voiceplay.active {
    background-image: url(../img/pause-btn.svg)
}

.reply-comm-g.active {
    background-image: url(../img/hand-thumbs-up-fill.svg);
}

.reply-comm-ng.active {
    background-image: url(../img/hand-thumbs-down-fill.svg);
}

.ai-help,
.qt-form-btn {
    width: 100%;
    height: auto;
    display: inline-block;
    text-align: center;
    margin: 20px 0px;
    padding: 5px 0px;
}

.btn-green {
    background-color: var(--cht-green);
    color: #fff;
    border-radius: 20px;
}

.btn-grey {
    background-color: var(--cht-grey);
    color: #fff;
    border-radius: 20px;
    cursor: auto;
}

.btn-green:hover {
    background-color: var(--cht-green-b);
}

.btn-green-outline {
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    border: 2px solid var(--cht-green)
}

.btn-green-outline:hover {
    background-color: var(--cht-green-b);
    color: #fff;
}

/*參考文件選單*/
.rf-list-tit {
    text-align: left;
}

.rf-list {
    flex-direction: column;
    margin: 15px 0px;
}

.rf-list-head {
    justify-content: space-between;
    flex-flow: nowrap;
    position: relative;
}

.rf-list-head::before {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #ccc;
}

.rf-date-a {
    background-image: url(../img/journals-green.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    padding-left: 30px;
    margin: 5px 0px;
}

.rf-detal-text {
    overflow: auto;
    height: 65vh;
}

.qt-select {
    display: none;
}

.custom-select-wrapper {
    position: relative;
    cursor: pointer;
    margin: 5px 0px;
}

.select-styled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.2s ease-in;
    min-height: 40px;
    color: #566d77;
}

.select-styled:after {
    display: block;
    content: "";
    width: 16px;
    height: 16px;
    background-image: url('../img/icon_dropdown_blue.svg');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}

/* 下拉選單列表 */
.select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #d8dfe3;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
    max-height: 220px;
    overflow: auto;
}


.select-options li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.select-options li:hover {
    background-color: #eef8f7;
    color: #566d77;
}

.select-styled.active + .select-options {
    display: block;
}

.select-styled.active {
    border-color: #24a09a !important;
    outline: 0;
}

/* 1. 隱藏瀏覽器預設樣式 */
.progress-bar {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: 100%;
    height: 5px;
}

/* 2. 背景槽 (容器) 樣式 */
.progress-bar::-webkit-progress-bar {
    background-color: #b4d2ce;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 3. 進度條 (填滿部分) 樣式 - Webkit (Chrome, Safari, Edge) */
.progress-bar::-webkit-progress-value {
    background-color: #7d9390;
    border-radius: 10px;
    transition: width 0.5s ease;
    /* 數值變動時有過渡動畫 */
}

/* 4. 進度條 (填滿部分) 樣式 - Firefox */
.progress-bar::-moz-progress-bar {
    background-color: #7d9390;
    border-radius: 10px;
}


/*推薦問題按鈕*/
.req-list {
    position: relative;
    z-index: 1031;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    margin-left: 50px;
}

.q-btn {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 5px;
    padding: 5px 10px;
    font-size: 12px;
    background-color: #e8e8e8;
}

.qt-form-tit {
    width: 100%;
    height: auto;
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.qt-input {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    background: #fff;
    border: 1px solid #becacf;
    border-radius: 4px;
    padding: 0 10px;
    width: 100%;
    height: 3rem;
    margin: 5px 5px 5px 0;
}

.qt-input:focus {
    outline: 0;
}

.textarea-container {
    position: relative;
    width: 100%;
}

.qt-textarea {
    padding-top: 10px;
    padding-bottom: 25px;
    box-sizing: border-box;
    height: auto;
}

.char-count {
    position: absolute;
    bottom: -20px;
    right: 0px;
    font-size: 12px;
    color: #888;
    pointer-events: none;
}

.btn-row,
.remind-btn-row,
.survey-btn-row {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 40px;
    margin-bottom: 15px;
}

.btn-confirm,
.btn-cancel {
    width: 50%;
    padding: 8px 24px;
    line-height: 1.5rem;
    letter-spacing: 0.06rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition-duration: 0.3s;
    text-decoration: none;
    text-align: center;

}

.btn-confirm,
.remind-btn-confirm,
.survey-btn-confirm {
    background-color: var(--cht-green);
    color: #fff;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.btn-cancel,
.remind-btn-cancel,
.survey-btn-cancel {
    background-color: #fff;
    color: var(--cht-green);
    border: 2px solid var(--cht-green);
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

/*提醒視窗*/
.remind-block {
    position: fixed;
    width: 400px;
    z-index: 1070;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255 255 255 / 75%);
    border-radius: 10px;
    display: none;
}

.remind-block.active {
    display: block;
}

.remind-btn-row,
.survey-btn-row {
    justify-content: space-between;
}

.remind-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    width: 400px;
    margin: 0 auto;
}

.remind-btn-confirm,
.remind-btn-cancel,
.survey-btn-cancel,
.survey-btn-confirm {
    padding: 5px 16%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
}

.help-btn {
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #007979;
    margin-top: 25px;
    padding: 15px;
}

/*滿意度調查*/
.score-area {
    display: inline-block;
    font-size: 0;
    position: relative;
    padding-bottom: 10px;
}

.score-item {
    display: inline-block;
    width: 55px;
    height: 35px;
    cursor: pointer;
    background: url(../img/stars-icon.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 35px;
}

input[type="radio"]:checked + .score-item ~ .score-item {
    background-position: center bottom;
}

input[type="radio"] {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    display: none;
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

button,
input {
    overflow: visible;
}

@media screen and (min-width: 992px) and (max-width: 1200px) {}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .swiper {
        max-width: 668px;
    }

    .container {
        max-width: 960px;
    }

    .swiper-slide {
        padding: 0px;
    }

    .swiper-slide:nth-child(1) {
        padding-right: 0px;
    }

    .swiper-slide:nth-child(2) {
        padding-left: 0px;
    }

    .card-grid {
        gap: 10px;
        max-width: 600px;
    }

}

@media screen and (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 720px;
    }

    .card-grid {
        gap: 10px;
    }

}

@media screen and (max-width:575px) {


    .custom-prev,
    .custom-next {
        display: none !important;
    }

    .swiper {
        max-width: 100vw;
        padding: 0 10px;
    }

    .req-list {
        width: calc(100% - 50px);
    }

    .ser-card {
        box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 7%);
    }


    #survey-form .more-service {
        display: flex;
    }

    .ai-tip {
        position: absolute;
        bottom: 0px;
        font-size: 7px;
    }

    .ai-tip-txt {
        width: 100%;
    }

    .up-tips {
        width: 80%;
    }

    .remind-block,
    .remind-box {
        width: 330px;
    }

    .ptx-0 {
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
    }

    .container {
        max-width: 540px;
    }

    .main-content {
        padding-bottom: 80px;
    }

    .more-service {
        display: none;
    }

    .border-bottom-bk {
        border-bottom: 0px;
    }

    .justify-space-around {
        justify-content: space-around;
    }

    .cht-name {
        line-height: 16px;
        font-size: 14px;
    }

    .service-pop-content {
        max-width: none;
        margin-bottom: 27px;
    }

    .t-left {
        left: auto;
        right: 0px;
        margin-right: auto;
        bottom: auto;
        margin-top: 15px;
    }

    .t-right {
        left: 0px;
        right: auto;
        margin-left: auto;
        bottom: auto;
        margin-top: 15px;
    }

    .cht-pop {
        font-size: 16px;
    }
}
