/************ TABLE OF CONTENTS ***************
1. Base
2. Header
3. Popup
4. Footer
5. Banner
6. Section

----------------------------------- */

/* ***** Fonts ***** */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');
@import url('../lib/animate.css');
@import url('../lib/owl/owl.css');
@import url('../lib/fontawesome/font-awesome.min.css');

/*** 
====================================================================
1	Base
====================================================================
***/

:root {
    --text_black: #fff; /*一般文字*/
    --main_blue: #3890b8; /*主色*/
    --main_orange: #f4c02e;
    --header_height: 4.2rem;
    --size_12: 0.75rem;
    --size_13: 0.8125rem;
    --size_14: 0.875rem;
    --size_15: 0.9375rem;
    --size_16: 1rem;
    --size_17: 1.0625rem;
    --size_18: 1.125rem;
    --size_19: 1.1875rem;
    --size_20: 1.25rem;
    --size_21: 1.3125rem;
    --size_22: 1.375rem;
    --size_23: 1.4375em;
    --size_24: 1.5rem;
    --size_25: 1.5625rem;
    --size_26: 1.625rem;
    --size_27: 1.6875rem;
    --size_28: 1.75rem;
    --size_30: 1.875rem;
    --size_32: 2rem;
    --size_36: 2.25rem;
}

body, html {
    position: relative;
    z-index: auto;
    font-family: 'Noto Sans TC','Microsoft JhengHei','Open Sans','Helvetica', Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.5em;
    background: var(--main_blue);
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    background: none;
}

a,
a:hover,
a:focus,
a:active {
    color: var(--text_black);
    text-decoration: none;
    cursor: pointer;
    outline: none;
    transition: all 400ms;
}

    a:hover, a:focus, a:active, a.active {
        opacity: 0.7;
    }

input:focus, button:focus {
    outline: none !important;
}

.auto-container {
    position: static;
    max-width: 1200px;
    padding: 0px 40px;
    margin: 0 auto;
}

.auto-container-sm {
    position: static;
    max-width: 960px; /*w=880*/
    padding-right: 40px;
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
}

.auto-container-md {
    position: static;
    max-width: 1040px; /*w=960*/
    padding-right: 40px;
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
}

.auto-container-lg {
    position: static;
    max-width: 1400px; /*w=1320*/
    padding-right: 40px;
    padding-left: 40px;
    margin-right: auto;
    margin-left: auto;
}

    .auto-container:before, .auto-container-lg:before {
        display: table;
        content: " ";
    }

    .auto-container:after, .auto-container-lg:after {
        display: table;
        content: " ";
        clear: both;
    }

.page-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-width: 300px;
    overflow: hidden;
}

.min-height-100 {
    min-height: -moz-calc(100vh - 60px);
    min-height: -webkit-calc(100vh - 60px);
    min-height: -o-calc(100vh - 60px);
    min-height: calc(100vh - 60px);
}

/*------all------*/
.xl-view .lg-view, .lg-md-view {
    display: block !important;
}

.md-sm-view, .sm-view {
    display: none !important;
}

/* ------ component ------ */
.btn {
    color: #FFFFFF; /* 白字 */
    font-size: 1.25rem; /* 字體加大 */
    font-weight: 600;
    padding: 0.75rem 2rem; /* 上下左右間距 */
    border: none; /* 無邊框 */
    border-radius: 0.5rem; /* 圓角 */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    .btn:hover {
        background: linear-gradient(135deg, #2a7a9c, var(--main_blue));
        box-shadow: 0 4px 15px rgba(56, 144, 184, 0.4);
        transform: translateY(-2px);
    }

    .btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    /* 禁用狀態 */
    .btn:disabled {
        background-color: #a0c4ff;
        cursor: not-allowed;
    }

.img-btn {
    display: block;
    width: 12rem;
    margin-top: 1rem;
    position: relative;
    z-index: 100;
}

    .img-btn:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    .img-btn img {
        width: 100%;
    }

/*** 
====================================================================
2. Header 
====================================================================
***/
.main-header {
    padding: 0;
    height: var(--header_height);
    background: var(--main_blue);
    position: relative;
    z-index: 1;
}

.navbar {
    padding: 0;
}

.main-logo {
    max-width: 200px;
    width: 100%;
}

.main-header .top-info .top-link {
    color: #000;
    border: 1px solid;
    padding: 3px 6px;
    border-radius: 10px;
    line-height: 1;
}

/*---menu---*/
.main-header .collapse {
    justify-content: flex-end;
}

.main-header.fixed-top + * {
    margin-top: var(--header_height);
}

.main-header.fixed-top {
    position: fixed;
    z-index: 1030;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

.main-header .navbar-brand {
    background: var(--main_blue);
    width: 8.5rem;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 2px 1px 14px 3px rgba(0, 0, 0, 0.3);
}

    .main-header .navbar-brand:hover {
        opacity: 1;
    }

.main-menu > li, .main-menu > li > a {
    height: var(--header_height);
}

    .main-menu > li > a {
        color: #fff !important;
        padding: 1.7rem 1.1rem !important;
        font-size: var(--size_17);
        font-weight: 400;
        cursor: pointer;
        letter-spacing: 0.1rem;
    }

        .main-menu > li > a:hover,
        .main-menu > li > a:focus,
        .main-menu > li.active > a {
            background-color: transparent;
        }

/*top-share*/
.top-share .share-link {
    /*background: #fff;*/
    color: var(--main_blue);
    width: var(--size_20);
    height: var(--size_20);
    font-size: var(--size_14);
    line-height: 1;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 1.1rem 0 0 1.2rem;
}

/*** 
====================================================================
3. Popup 
====================================================================
***/
#LoadingMask {
    display: none;
    z-index: 5000;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.5);
}

.loading-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

/*** 
====================================================================
4. Footer 
====================================================================
***/
.footer_area {
    background-color: var(--main_blue);
}

    .footer_area .footer-inner {
        padding: 60px 20px 0 20px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .footer_area .footer-logo {
        display: block;
        margin-bottom: 7px;
    }

        .footer_area .footer-logo img {
            max-width: 9.5rem
        }

    .footer_area .footer-menu {
        display: flex;
        padding: 0px 2rem;
    }

        .footer_area .footer-menu > div {
            display: inline-flex;
            width: 33.33%;
            flex-direction: column;
        }

        .footer_area .footer-menu a {
            font-size: var(--size_16);
            letter-spacing: 0.15rem;
            padding-bottom: 1rem;
        }

        .footer_area .footer-menu .share {
            font-family: 'Open Sans';
        }

    .footer_area .footer-contact {
        font-size: var(--size_14);
        letter-spacing: 0.05rem;
    }

    .footer_area .img_phone-number {
        margin-top: 1rem;
        width: 11rem;
    }

    .footer_area .copyright {
        display: block;
        font-size: var(--size_12);
        text-align: center;
        padding: 15px 0;
    }

.scrollToTop {
    position: fixed;
    bottom: 25px;
    right: 15px;
    width: 38px;
    height: 38px;
    cursor: pointer;
}

    .scrollToTop img {
        width: 100%;
        height: 100%;
    }
/*** 
====================================================================
5. Banner 
====================================================================
***/
/*----------owl----------*/
/*nav*/
.owl-carousel {
    z-index: auto;
}

.owl-prev, .owl-next {
    position: absolute;
    display: inline-block;
    top: 50%;
    margin-top: -45px;
    width: 40px;
    height: 40px;
    border: none;
    text-align: center;
    transition: all 400ms;
    color: var(--main_blue);
    font-size: 40px;
}

.owl-prev {
    left: 1%;
}

.owl-next {
    right: 1%;
}

.owl-prev .fa {
    padding-right: 2px;
}

.owl-next .fa {
    padding-left: 2px;
}

.owl-prev:hover, .owl-prev:focus,
.owl-next:hover, .owl-next:focus {
    background-color: transparent;
}

/*circle*/
.owl-nav-circle .owl-prev, .owl-nav-circle .owl-next {
    border: 0;
    border-radius: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 2px solid #bbb;*/
    background-color: #ccc;
    color: #fff;
    border-radius: 50%;
}

.owl-nav-circle .owl-prev {
    left: -50px;
}

.owl-nav-circle .owl-next {
    right: -50px;
}

    .owl-nav-circle .owl-prev .fa, .owl-nav-circle .owl-next .fa {
        text-align: center;
        font-size: 30px;
        font-weight: 300;
    }

    .owl-nav-circle .owl-prev:hover, .owl-nav-circle .owl-prev:focus,
    .owl-nav-circle .owl-next:hover, .owl-nav-circle .owl-next:focus {
        background-color: var(--main_blue);
        color: #fff;
    }

/*dot*/
.owl-theme .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
}

    .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
        background: #fff;
        opacity: 1;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
        width: 12px;
        height: 12px;
        margin: 3.5px 7px;
    }

    .owl-theme .owl-dots .owl-dot span {
        width: 8px;
        height: 8px;
        margin: 5px 7px;
        background-color: rgba(216, 216, 216, 0.3);
        display: block;
        transition: opacity 200ms ease;
        border-radius: 30px;
    }

.dots-outter {
    text-align: center;
    padding-top: 20px;
}

/*--------------------*/

.bannerArea-item {
    position: relative;
    max-height: calc(100vh - var(--header_height));
}

    .bannerArea-item .image-box {
        position: relative;
        overflow: hidden;
        width: 100%;
        padding-bottom: 53.7%;
    }

        .bannerArea-item .image-box .banner-image {
            width: 100%;
            height: auto;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            -webkit-transform: translateY(-50%) translateX(-50%);
            background-size: cover;
            background-position: center;
        }

    .bannerArea-item .banner-box {
        position: absolute;
        top: 30%;
        left: 15%;
        width: 47%;
        max-width: 800px;
    }

        .bannerArea-item .banner-box img.lg-md-view {
            margin-left: -1rem;   
        }

    .bannerArea-item .img-btn {      
        width: 10rem;     
    }

/*--owl-carousel--*/
.banner-carousel .donts-container {
    position: relative;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.banner-carousel .dots-outter {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    padding: 32px 0;
    /*background-color: rgba(200,200,200,0.2);*/
}

.banner-carousel .owl-dots .owl-dot span {
    background-color: rgba(255,255,255,.5);
}

.banner-carousel .owl-prev .fa, .banner-carousel .owl-next .fa {
    color: #fff;
    font-size: 55px;
    font-weight: 400;
    opacity: 0.7;
}

.banner-carousel .owl-prev:hover .fa, .banner-carousel .owl-next:hover .fa {
    opacity: 1;
}

/*** 
====================================================================
6. Section  
====================================================================
***/

.section_area {
    position: relative;
    padding: 40px 0;
}

    .section_area .area-inner {
        padding: 3rem 0;
    }

    .section_area .area-arrow {
        content: '';
        background-image: url('../img/12_down.svg');
        background-repeat: no-repeat;
        display: block;
        position: absolute;
        top: 1.5rem;
        left: calc(50% - 0.8rem);
        width: 1.6rem;
        height: 1.6rem;
        cursor: pointer;
    }

        .section_area .area-arrow:hover {
            opacity: 1;
            background-color: #cccccc88;
            border-radius: 50%;
        }

    .section_area h4 {
        font-family: 'Open Sans';
        font-weight: 700;
        letter-spacing: 0.2rem;
        font-size: var(--size_28);
        text-align: center;
    }

/*2.about*/
.about-area {
    background-color: var(--main_blue);
    background-image: url('../img/20_background-dot1.svg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top right;
}

    .about-area:after {
        content: '';
        background-image: url('../img/02_logo_half.svg');
        background-repeat: no-repeat;
        background-size: cover;
        display: block;
        position: absolute;
        width: 19rem;
        height: 20rem;
        top: calc(50% - 10rem);
        left: 0;
    }

    .about-area .area-inner {
        position: relative;
        min-height: 10rem;
        padding: 8rem 0 4rem 17%;
        line-height: 1.5rem;
        letter-spacing: 0.1rem;
        font-size: var(--size_16);
    }

    .about-area .icon-go {
        position: absolute;
        top: -5rem;
        right: 8%;
        width: 18rem;
    }

    .about-area h4 {
        font-family: 'Noto Sans TC';
        letter-spacing: 0.3rem;
        font-size: var(--size_36);
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .about-area .img_statement {
        width: 19rem;
        margin-top: 2rem;
    }

/*3.service*/
.service-area {
    background: var(--main_orange);
}

    .service-area h4 {
        width: 16rem;
        margin: 0 auto;
    }

    .service-area .item-list {
        margin: 4rem 0 0 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .service-area .item-list li {
            display: inline-flex;
            flex-direction: column;
            text-align: center;
            -ms-flex: 0 0 20%;
            flex: 0 0 20%;
            max-width: 20%;
        }

            .service-area .item-list li img {
                height: 5.5rem;
            }

            .service-area .item-list li span {
                font-size: var(--size_20);
                font-weight: 600;
                margin-top: 1rem;
            }

/*4.app*/
.app-area {
    background: #4b1c6a;
    background: linear-gradient(90deg, #4f2070, #34064f);
}

    .app-area.section_area .area-inner {
        padding-bottom: 1rem;
        position: relative;
        margin-left: 7rem;
        margin-right: 8rem;
    }

    .app-area .img-title {
        width: 60%;
    }

    .app-area .qrcode-box {
        padding: 2.5rem 0;
        display: flex;
        width: 53%;
    }

        .app-area .qrcode-box a {
            display: block;
            width: 50%;
            padding: 0 2rem;
        }

            .app-area .qrcode-box a:hover {
                opacity: 1;
                transform: scale(1.05);
            }

    .app-area .search-box {
        background: #2bac38;
        position: relative;
        width: 50%;
        padding: 0.6rem;
    }

        .app-area .search-box:before {
            content: '';
            background: #2bac38;
            position: absolute;
            top: 0;
            left: -50vw;
            width: 50vw;
            height: 100%;
        }

        .app-area .search-box:after {
            content: '';
            position: absolute;
            top: 0;
            left: 100%;
            width: 3rem;
            height: 100%;
            background: linear-gradient(244deg,transparent 50%, #2bac38 50%);
        }

    .app-area .phone-box {
        width: 38%;
        position: absolute;
        top: 0;
        right: 0;
        padding: 1rem;
        margin-left: 0;
    }

        .app-area .phone-box .img_phone {
            width: 100%;
        }

        .app-area .phone-box .icon_arrow {
            position: absolute;
            top: 35%;
            left: -3.5rem;
            width: 6.5rem;
            z-index: 1;
        }

    .app-area .login-box {
        width: 7rem;
        position: absolute;
        top: 42%;
        right: -5.5rem;
    }

    .app-area .pay-box {
        position: absolute;
        right: -6.5em;
        bottom: 3rem;
        width: 12rem;
        display: flex;
    }

        .app-area .pay-box img {
            display: block;
            padding-left: 0.6rem;
            width: 33.33%;
        }

/*5.job*/
.job-area {
    background-color: var(--main_blue);
    background-image: url('../img/21_background-dot2.svg');
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top right;
}

    .job-area:after {
        content: '';
        background-image: url('../img/34_logo_half2.svg');
        background-repeat: no-repeat;
        background-size: cover;
        display: block;
        position: absolute;
        width: 32rem;
        height: 27rem;
        top: 0;
        left: 0;
    }

    .job-area .area-inner {
        position: relative;
        padding: 8rem 0 2rem 0;
    }

    .job-area .img-title {
        width: 58%;
    }

/*6.customer*/
.customer-area {
    background-color: var(--main_orange);
    background-image: url('../img/25_background_queue.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}


/*7.spot*/
.spot-area {
    background: var(--main_orange);
    color: #000;
    text-align: center;
    position: relative;
}

.spot-area h4 {
    font-family: 'Noto Sans TC';
    font-weight: 700;
    font-size: var(--size_28);
    letter-spacing: 0.2rem;
    color: #000;
    margin-bottom: 2rem;
}

.spot-carousel {
    position: relative;
}

/* ===== 景點快派圖片滿版，白色名稱區塊 ===== */
.spot-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .spot-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

/* 圖片滿版 */
.spot-img {
    width: 100%;
    height: 200px; /* 可調整高度 */
    object-fit: cover; /* 圖片裁切成滿版 */
    display: block;
}

/* 下方白色區塊 */
.spot-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9); /* 半透明白色 */
    color: #000;
    font-size: var(--size_18);
    font-weight: 600;
    text-align: center;
    padding: 0.8rem 0;
}

/* owl nav arrows */
/* 左右箭頭位置及 Font Awesome */
.spot-area .owl-prev { 
    left: -60px;
    font-size: 0;
}
.spot-area .owl-next { 
    right: -60px;
    font-size: 0;
}

/* Font Awesome arrow icons */
.spot-area .owl-prev::before,
.spot-area .owl-next::before {
    font-family: "FontAwesome";
    font-size: 2.6rem;   
    line-height: 70px;
    display: block;
    text-align: center;
}

.spot-area .owl-prev::before { content: "\f104"; }
.spot-area .owl-next::before { content: "\f105"; }

/* ===== RWD 微調 ===== */
@media screen and (max-width: 992px) {
    /* 平板調整箭頭 */
    .spot-area .owl-prev { left: 10px; }
    .spot-area .owl-next { right: 10px; }
    .spot-area .owl-prev::before,
    .spot-area .owl-next::before {
        font-size: 2.2rem;
        line-height: 60px;
    }
}

/* ===== 手機微調 ===== */
@media screen and (max-width: 768px) {
    /* 箭頭更靠邊 */
    .spot-area .owl-prev { left: 5px; }
    .spot-area .owl-next { right: 5px; }
    .spot-area .owl-prev::before,
    .spot-area .owl-next::before {
        font-size: 1.8rem;
        line-height: 50px;
    }

    /* 圖片縮小 */
    .spot-area .owl-item img {
        max-height: 200px; /* 可依需求調整 */
        width: 100%;
    }
}

.step-indicator {
    background: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.step-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 0 1 auto;
    z-index: 1;
}

/* 電腦版 - 更寬鬆的佈局 */
.step-list::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 180px;
    right: 180px;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.step-item {
    min-width: 200px;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.step-item.active .step-circle {
    background: var(--main_blue);
    color: white;
}

.step-item.completed .step-circle {
    background: var(--main_blue);
    color: white;
}

.step-label {
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    padding: 0 12px;
    font-size: var(--size_19);
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.step-item.active .step-label {
    color: var(--main_blue);
    font-weight: 600;
}

.step-item.completed .step-label {
    color: var(--main_blue);
}

.step-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}

    .step-link:hover .step-circle {
        transform: scale(1.05);
    }

/* 平板版樣式 */
@media (max-width: 1024px) {
    .step-list::before {
        left: 140px;
        right: 140px;
        top: 22px;
    }

    .step-item {
        min-width: 160px;
    }

    .step-circle {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }

    .step-label {
        padding: 0 10px;
        font-size: var(--size_17);
    }
}

/* 手機版樣式 */
@media (max-width: 768px) {
    .step-container {
        padding: 0 10px;
    }

    .step-list::before {
        left: 40px;
        right: 40px;
        top: 16px;
    }

    .step-item {
        flex: 0 0 auto;
        width: 85px;
        min-width: 85px;
        align-items: center;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        margin-bottom: 8px;
        font-size: var(--size_13);
    }

    .step-label {
        font-size: var(--size_11);
        padding: 0 4px;
        line-height: 1.2;
        word-break: keep-all;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }
}

/* 小手機版樣式 - 使用您設定的 100px 寬度 */
@media (max-width: 480px) {
    .step-container {
        padding: 0 8px;
    }

    .step-list::before {
        left: 20px; /* 調整連接線長度以匹配 100px 寬度 */
        right: 20px;
        top: 14px;
    }

    .step-item {
        flex: 0 0 auto;
        width: 100px; /* 使用您設定的 100px 寬度 */
        min-width: 100px;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        margin-bottom: 6px;
        font-size: var(--size_11);
    }

    .step-label {
        font-size: var(--size_10);
        max-width: 100px; /* 標籤最大寬度與容器一致 */
        padding: 0 2px;
        white-space: normal; /* 改為正常換行，因為寬度足夠 */
        word-break: break-word;
        line-height: 1.3;
    }
}

/* 超小手機版樣式 */
@media (max-width: 360px) {
    .step-list::before {
        left: 15px;
        right: 15px;
        top: 12px;
    }

    .step-item {
        width: 80px; /* 超小手機稍窄 */
        min-width: 80px;
    }

    .step-circle {
        width: 24px;
        height: 24px;
        font-size: var(--size_10);
    }

    .step-label {
        font-size: var(--size_9);
        max-width: 80px;
        white-space: nowrap; /* 超小手機恢復單行顯示 */
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.location-selection {
    padding: 40px 0;
    background: var(--main_orange);
    min-height: calc(100vh - var(--header_height));
}

.auto-container {
    position: static;
    max-width: 1200px;
    padding: 0px 40px;
    margin: 0 auto;
}

.area-inner {
    padding: 3rem 0;
}

.location-title {
    text-align: center;
    font-size: var(--size_28);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.location-item {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .location-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

.location-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.location-name {
    font-size: var(--size_18);
    font-weight: 600;
    padding: 1rem;
    color: #000;
    text-align: center;
}

.text-center {
    text-align: center;
}

.location-selection, .fare-estimate {
    display: none;
}

.active-section {
    display: block;
}

.fare-estimate {
    background: var(--main_orange);
    color: #000;
    padding: 40px 0;
}

.fare-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.fare-item {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 260px;
}

.fare-img {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.fare-label {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.8rem;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 2rem;
}

.fare-result h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #000;
}

.fare-note {
    text-align: center;
    color: #444;
}

.loading {
    color: #007acc;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #ccc;
    border-top-color: #007acc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 🔹 手機版 RWD 微調 */
@media (max-width: 768px) {
    .fare-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .fare-item {
        width: 90%;
    }

    #map {
        height: 280px;
    }

    .location-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .location-name {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* 錯誤訊息、成功訊息樣式 */
.errorMessage {
    color: #000; /* 黑色文字 */
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 1rem;
}

.successMessage {
    color: #000; /* 黑色文字 */
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 1rem;
}

/* 車輛資訊區塊 */
.vehicle-info {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px; /* 區塊更大 */
    margin: 0 auto;
    max-width: 450px; /* 區塊更寬 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .vehicle-info h4 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .vehicle-info .info-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
        font-size: 17px;
    }

    .vehicle-info .btn-checkout {
        background-color: #ffcc00;
        color: #000;
        font-weight: 600;
        padding: 10px 25px;
        border-radius: 8px;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
    }

        .vehicle-info .btn-checkout:hover {
            background-color: #e6b800;
            transform: scale(1.05);
        }

#vehicle-section .btn {
    min-width: 120px;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
}

#vehicle-section .btn-success {
    background-color: #28a745;
    color: white;
    border: none;
}

#vehicle-section .btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc3545, #dc3545);
    box-shadow: 0 4px 15px rgba(56, 144, 184, 0.4);
    transform: translateY(-2px);
}

#vehicle-section .btn:hover {
    opacity: 0.9;
}

/* ===== 會員頁面樣式 ===== */
.member-section {
    background: var(--main_orange);
    padding: 40px 0;
    min-height: calc(100vh - var(--header_height));
    display: none;
}

    .member-section.active-section {
        display: block;
    }

.member-form {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #333;
        font-size: var(--size_15);
    }

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    font-size: var(--size_16);
    transition: all 0.3s ease;
    background: #fff;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
}

    .form-control:focus {
        outline: none;
        border-color: var(--main_blue);
        box-shadow: 0 0 0 3px rgba(56, 144, 184, 0.15);
        transform: translateY(-1px);
    }

/* 性別選擇樣式 */
.gender-options {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* 調整整個 radio-label 的對齊 */
.radio-label {
    display: flex;
    align-items: center; /* 保持居中 */
    cursor: pointer;
    font-size: var(--size_15);
    color: #333;
    gap: 0.5rem;
    padding: 0.5rem 0;
    line-height: 1.2; /* 調整行高 */
}

/* 選中狀態 - 實心 */
.radio-label input:checked + .radiomark {
    border-color: var(--main_blue);
    background: var(--main_blue);
}

    .radio-label input:checked + .radiomark::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        background: white;
        border-radius: 50%;
    }

/* 懸停效果 */
.radio-label:hover .radiomark {
    border-color: var(--main_blue);
    background: rgba(56, 144, 184, 0.1);
}

.radio-label:hover input:checked + .radiomark {
    background: var(--main_blue);
    border-color: var(--main_blue);
}

/* 下拉選單樣式 */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* 表單選項 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.forgot-password {
    color: var(--main_blue);
    font-size: var(--size_14);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .forgot-password:hover {
        text-decoration: underline;
        color: #2a7a9c;
    }

/* 同意條款 */
.form-agreement {
    margin: 2rem 0 1.5rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
}

.terms-link {
    color: var(--main_blue);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .terms-link:hover {
        text-decoration: underline;
        color: #2a7a9c;
    }

/* 會員按鈕 - 修正衝突 */
.btn-login,
.btn-register {
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    font-size: var(--size_17);
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--main_blue), #2a7a9c);
    color: white;
    border: 2px solid var(--main_blue);
    box-shadow: 0 2px 8px rgba(56, 144, 184, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-width: auto;
}

    .btn-login:hover,
    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(56, 144, 184, 0.4);
        background: linear-gradient(135deg, #2a7a9c, var(--main_blue));
    }

/* 會員切換 */
.member-switch {
    text-align: center;
    color: #666;
    font-size: var(--size_15);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.switch-link {
    color: var(--main_blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

    .switch-link:hover {
        text-decoration: underline;
        color: #2a7a9c;
    }

/* 自訂勾選框 */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: var(--size_14);
    color: #333;
    line-height: 1.4;
}

    .checkbox-label input {
        display: none;
    }

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkbox-label input:checked + .checkmark {
    background: var(--main_blue);
    border-color: var(--main_blue);
}

    .checkbox-label input:checked + .checkmark:after {
        content: '✓';
        position: absolute;
        color: white;
        font-size: 12px;
        font-weight: bold;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.checkbox-label:hover .checkmark {
    border-color: var(--main_blue);
}

/* 修正：只有註冊頁面的必填欄位顯示 * 號 */
.form-group label[for*="register-name"]:after,
.form-group label[for*="register-email"]:after,
.form-group label[for*="register-phone"]:after,
.form-group label[for*="register-password"]:after,
.form-group label[for*="register-confirm-password"]:after {
    content: '*';
    color: #dc3545;
    margin-left: 0.25rem;
    font-weight: bold;
}

/* 修正：登入頁面的標籤不需要 * 號 */
.form-group label[for*="login-email"]:after,
.form-group label[for*="login-password"]:after {
    content: '' !important;
}

/* 表單驗證樣式 */
.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: var(--size_12);
    margin-top: 0.25rem;
    display: none;
}

    .error-message.show {
        display: block;
    }

/* 響應式設計 */
@media (max-width: 768px) {
    .member-form {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        max-width: none;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .gender-options {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .member-section {
        padding: 20px 0;
    }

    .member-form {
        padding: 1.5rem 1rem;
        border-radius: 0.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-control {
        padding: 0.75rem 0.875rem;
    }

    .btn-login, .btn-register {
        padding: 0.875rem 1.5rem;
    }
}

/* 載入狀態 */
.btn-loading {
    position: relative;
    color: transparent !important;
}

    .btn-loading:after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 2px solid #ffffff;
        border-radius: 50%;
        border-right-color: transparent;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== 修正通用按鈕樣式衝突 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
    font-size: var(--size_16);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: 2px solid;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

/* 白色按鈕 (上一步/取消) */
.btn-white {
    background: white;
    color: var(--main_blue);
    border-color: var(--main_blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .btn-white:hover {
        background: #f8f9fa;
        color: var(--main_blue);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transform: translateY(-2px);
    }

/* 禁用狀態 */
.btn:disabled {
    background: #cccccc;
    color: #666666;
    border-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

    .btn:disabled:hover {
        transform: none;
        box-shadow: none;
    }

/* 小按鈕 */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--size_14);
    min-width: auto;
}

/* ===== 移除重複的 location-selection 樣式 ===== */
/* 保留原有的 location-selection 樣式，移除重複定義 */

/* ===== 修正步驟指示器衝突 ===== */
/* 確保步驟指示器的 .btn 樣式不會影響會員頁面 */
.step-indicator .btn {
    /* 步驟指示器專用的按鈕樣式 */
    background: #007BFF;
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
}

    .step-indicator .btn:hover {
        background: #0056b3;
        transform: scale(1.05);
    }


/* ===== 簡化版叫車記錄樣式 ===== */
.history-header {
    margin-bottom: 2rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    border-left: 4px solid #e0e0e0;
}

    .history-item.upcoming {
        border-left-color: #ffa500;
    }

    .history-item.completed {
        border-left-color: #28a745;
    }

    .history-item.cancelled {
        border-left-color: #dc3545;
    }

    .history-item.active {
        border-left-color: var(--main_blue);
    }

/* 狀態標籤 */
.ride-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--size_12);
    font-weight: 600;
}

.history-item.upcoming .ride-status-badge {
    background: #fff3cd;
    color: #856404;
}

.history-item.completed .ride-status-badge {
    background: #d4edda;
    color: #155724;
}

.history-item.cancelled .ride-status-badge {
    background: #f8d7da;
    color: #721c24;
}

.history-item.active .ride-status-badge {
    background: #d1ecf1;
    color: #0c5460;
}

/* 路線資訊 */
.ride-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.route-simple {
    margin-bottom: 0.5rem;
}

.route-points {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pickup-point, .dropoff-point {
    font-weight: 600;
    color: #333;
    font-size: var(--size_16);
}

.route-points .fa-arrow-right {
    color: #666;
    font-size: var(--size_14);
}

/* 詳細資訊 */
.ride-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: var(--size_12);
    color: #666;
}

.detail-value {
    font-size: var(--size_16);
    font-weight: 600;
    color: #333;
}

.wait-time {
    color: #ff6b00;
    font-weight: 700;
}

/* 載入更多 */
.load-more {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

/* 空狀態 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

    .empty-state .fa {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: #ddd;
    }

/* 響應式設計 */
@media (max-width: 768px) {
    .history-item {
        padding: 1rem;
    }

    .ride-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .route-points {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .ride-status-badge {
        position: static;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
}

/* ===== 桌面版 ===== */
.top-share {
    display: flex;
    align-items: center; /* 垂直置中 */
    justify-content: flex-end; /* 靠右 */
}

    .top-share .share-link {
        margin-left: 10px; /* share-link 間距 */
    }

.language-select {
    margin-left: 10px; /* 與 share-link 水平間距 */
    margin-top: 12px; /* 下拉框微下移，與 share-link 垂直對齊 */
}

    .language-select select {
        padding: 4px 8px; /* 內邊距縮小 */
        font-size: 14px;
        line-height: 1.2;
        border-radius: 6px; /* 圓角 */
        border: 1px solid #ccc;
        vertical-align: middle; /* 垂直對齊文字 */
    }

/* 手機版 (Mobile) */
@media (max-width: 767px) {
    .top-share {
        flex-direction: column; /* 換行堆疊 */
        align-items: flex-start; /* 靠左對齊 */
        padding-right: 0; /* 手機版取消右邊距 */
    }

        .top-share .share-link {
            margin-left: 0;
            margin-bottom: 8px; /* share-link 間距改為上下 */
        }

    .language-select {
        margin-left: 0; /* 取消水平間距 */
        margin-top: 0; /* 取消額外上方間距 */
    }
}

/* ===== 景點介紹頁面樣式 ===== */
.spot-detail {
    background: var(--main_orange);
    padding: 40px 0;
    min-height: calc(100vh - var(--header_height));
    display: none;
}

    .spot-detail.active-section {
        display: block;
    }

.spot-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    position: relative;
}

.btn-back {
    background: rgba(255,255,255,0.2);
    color: #000;
    border: 2px solid rgba(0,0,0,0.2);
    padding: 0.5rem 1rem;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    font-weight: 600;
}

    .btn-back:hover {
        background: rgba(255,255,255,0.4);
        transform: translateX(-3px);
    }

.spot-detail-title {
    font-size: var(--size_28);
    font-weight: 700;
    color: #000;
    margin: 0;
    flex: 1;
}

.spot-code {
    background: var(--main_blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: var(--size_14);
    font-weight: 600;
}

.spot-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.spot-detail-image {
    position: relative;
}

.spot-main-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
}

    .spot-main-image.no-image {
        background: #f8f9fa;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        border: 2px dashed #dee2e6;
    }

        .spot-main-image.no-image .fa {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

.spot-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spot-description,
.spot-features,
.spot-location {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .spot-description h3,
    .spot-features h3,
    .spot-location h3 {
        color: #000;
        font-size: var(--size_20);
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--main_blue);
    }

    .spot-description p {
        color: #333;
        line-height: 1.6;
        font-size: var(--size_16);
    }

.text-muted {
    color: #6c757d !important;
    font-style: italic;
}

.features-content {
    color: #333;
    line-height: 1.6;
}

.location-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.location-details .fa {
    color: var(--main_blue);
    width: 20px;
    text-align: center;
}

.spot-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

    .spot-actions .btn {
        flex: 1;
        padding: 1rem;
        font-size: var(--size_16);
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        border-radius: 0.75rem;
        transition: all 0.3s ease;
    }

.btn-primary {
    background: var(--main_blue);
    color: white;
    border: none;
}

    .btn-primary:hover {
        background: #2a7a9c;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(56, 144, 184, 0.3);
    }

.btn-secondary {
    background: white;
    color: var(--main_blue);
    border: 2px solid var(--main_blue);
}

    .btn-secondary:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* 響應式設計 */
@media (max-width: 1024px) {
    .spot-detail-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .spot-main-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .spot-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .spot-actions {
        flex-direction: column;
    }

    .spot-detail-title {
        font-size: var(--size_24);
    }

    .btn-back {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .spot-detail {
        padding: 20px 0;
    }

    .spot-description,
    .spot-features,
    .spot-location {
        padding: 1rem;
    }

    .spot-main-image {
        height: 250px;
    }

    .spot-actions .btn {
        padding: 0.875rem 1rem;
        font-size: var(--size_15);
    }
}

/* 步驟指示器調整 */
.step-item.completed .step-circle {
    background: #28a745;
    color: white;
}

.selected-dropoff {
    background: #e7f3ff;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--main_blue);
    margin-bottom: 1rem;
}


.ride-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ride-time {
    font-size: 0.9rem;
    color: #6c757d; /* Bootstrap 次文字色 */
}

.ride-info {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.history-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.ride-options {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}


    .ride-options label {
        font-weight: 600;
        color: #333;
    }


#vehicle-type {
    width: 220px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: white;
}


.special-need {
    margin-right: 5px;
    transform: scale(1.1);
    cursor: pointer;
}


.ride-options {
    border: 1px solid var(--main_blue);
    transition: 0.2s;
}

.ride-options .form-group {
    margin-bottom: 12px;
}


.ride-options .d-flex label {
    background: white;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.2s;
}


    .ride-options .d-flex label:hover {
        border-color: #007bff;
        background: #f0f7ff;
    }


.special-need:checked + span {
    color: #007bff;
}


.ride-options input[type=checkbox]:checked {
    accent-color: #007bff;
}

.selected-pickup {
    color: var(--main_blue);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--main_blue);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 20px;
}
    .selected-pickup::before {
        content: "📍"; /* 可換符號 */
        font-size: 24px;
        margin-right: 8px;
    }