﻿:root {
    --web-header-bg-color: #e0b53d;
    --web-btn-font-color: #b58d1d;
    --web-font-color-01: #7f6d53;
    --web-white: #ffffff;
    --web-black: #000000;
    --web-title-green-color: #318878;
    --web-title-orange-color: #e98007;
    --web-title-brown-color: #6D532E;
    --web-card-header-font-color: #D38439;
    --web-package-features-font-color: #453C36;
    --web-solution-ad-bg-color: #5DB06F;
}

.cp {
    cursor: pointer;
}

.alinkclear {
    color: unset;
    text-decoration: unset;
}

.hoverobject {
    transition: all 0.3s;
}

    .hoverobject:hover {
        transform: scale(1.02);
    }


body {
    font-family: NotoSansCJKTC !important;
    margin: 0;
    padding: 0;
    background: var(--web-white);
    color: var(--web-black);
}

header {
    background-color: var(--web-header-bg-color);
    padding: 0px 80px 0px 40px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    height: 70px;
}

    header .logo img {
        width: 86px;
        height: 68px;
        transition: all 0.3s;
    }

    header .menu .btn {
        background-color: var(--web-white);
        color: var(--web-btn-font-color);
        padding: 6px 33px 8px;
        border-radius: 20px;
        font-size: 18px;
        height: auto;
    }

    header .menu a {
        margin-left: 20px;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
    }

.wrapper {
    overflow: hidden;
}

    .wrapper .title-section {
        background-image: url('/images/Home_bg.png');
        background-size: cover;
        background-position: center;
        height: 594px;
        position: relative;
    }

        .wrapper .title-section .title-object {
            position: absolute;
            left: 100px;
            transition: all 0.3s;
        }

            .wrapper .title-section .title-object.object-01 {
                top: 83px;
                font-size: 22px;
                font-weight: 600;
                font-stretch: normal;
                font-style: normal;
                line-height: 2.45;
                letter-spacing: normal;
                color: var(--web-font-color-01);
            }

            .wrapper .title-section .title-object.object-02 {
                top: -60px;
                left: 45px;
            }

            .wrapper .title-section .title-object.object-03 {
                top: 250px;
                font-size: 37px;
                font-weight: bold;
                font-family: NotoSansCJKTC;
                font-stretch: normal;
                font-style: normal;
                line-height: 1.46;
                letter-spacing: normal;
                text-shadow: 2px 3px 5px #4d4d4d;
                color: #fff;
            }

            .wrapper .title-section .title-object .logo-banner {
                width: 484px;
                height: 484px;
                transition: all 0.3s;
            }

            .wrapper .title-section .title-object.object-04 {
                top: 430px;
                width: 495px;
                height: 69px;
                border-radius: 35px;
                box-shadow: 0 2px 4px 0 rgba(214, 200, 181, 0.5);
                background-image: linear-gradient(to bottom, #fff, #fdf9f9 99%);
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 10px;
                font-size: 18px;
                font-weight: bold;
                font-stretch: normal;
                font-style: normal;
                line-height: 1.56;
                letter-spacing: normal;
                color: #634a24;
            }

            .wrapper .title-section .title-object .btn {
                padding: 15px 24px;
                border-radius: 27px;
                background-image: linear-gradient(to bottom, #ffbc00, #f90);
                font-size: 16px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #fff;
            }

h2 {
    font-family: NotoSansCJKTC;
    font-size: 36px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #2f281e;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* info-section */
.info-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.text-zone {
    width: 70%;
    font-size: 18px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.56;
    letter-spacing: normal;
    text-align: center;
    color: #544837;
}

.info-section .feature {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    width: 80%;
}

    .info-section .feature.reverse {
        flex-direction: row-reverse;
    }

    .info-section .feature .feature-img {
        max-width: 567px;
        max-height: 425px;
        width: 50%;
        object-fit: contain;
    }

.wrapper h3 {
    font-family: NotoSansCJKTC;
    font-size: 31px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #6d532e;
}

    .wrapper h3.green {
        color: var(--web-title-green-color);
    }

.info-section .feature .feature-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 30px;
}

    .info-section .feature .feature-content .feature-list {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        font-size: 16px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.63;
        letter-spacing: normal;
        color: #544837;
        margin-left: 50px;
        gap: 20px;
    }

        .info-section .feature .feature-content .feature-list .point {
            position: relative;
        }

            .info-section .feature .feature-content .feature-list .point::after {
                content: "";
                background-image: url('/images/icon-check.svg');
                background-size: cover;
                background-position: center;
                position: absolute;
                left: -50px;
                top: 0px;
                width: 35px;
                height: 35px;
            }

.info-section .btn.more {
    margin: 50px;
    padding: 17px 56px;
    border-radius: 26.5px;
    background-image: linear-gradient(to bottom, #ffbc00, #f90);
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #fff;
}

.info-section .bg-1 {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1020px;
    height: 1142px;
    transform: translate(-0%, 10%);
    background-image: url('/images/img-bg-1.svg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.info-section .bg-2 {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1400px;
    height: 398px;
    transform: translate(-50%, 0);
    background-image: url('/images/img-bg-2@3x.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* know-section */
.know-section {
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

    .know-section h2 {
        margin-bottom: 50px;
    }

.know-list {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
    width: 70%;
}

    .know-list .know {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 20px;
    }

        .know-list .know .icon img {
            width: 130px;
            height: 120px;
        }

        .know-list .know .text-box {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

            .know-list .know .text-box h4 {
                font-size: 23px;
                font-weight: bold;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #1a1714;
            }

            .know-list .know .text-box .text {
                font-size: 16px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: 1.63;
                letter-spacing: normal;
                color: #544837;
            }

.know-section .bg-3 {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 832px;
    height: 955px;
    transform: translate(-50%, 50%);
    background-image: url('/images/img-bg-3.svg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* intro-section */
.intro-section {
    margin-top: 200px;
    position: relative;
    height: 850px;
    /*overflow: hidden;*/
    z-index: 1;
}

    .intro-section .intro-img {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -15%);
        z-index: -1;
    }

        .intro-section .intro-img img {
            /*width: 742px;*/
            height: 877px;
        }

    .intro-section h2 {
    }

    .intro-section .intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

        .intro-section .intro .header {
            width: fit-content;
            padding: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 46.5px;
            -webkit-filter: blur(0.2px);
            filter: blur(0.2px);
            box-shadow: 0 2px 20px 0 rgba(202, 166, 101, 0.5);
            background-color: #fff;
        }

            .intro-section .intro .header .intro-title {
                padding: 0 10px;
                font-size: 23px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #2f281e;
                margin: 0;
            }

            .intro-section .intro .header .intro-icon {
                width: 63px;
                height: 57px;
            }

        .intro-section .intro .text-box {
            font-size: 16px;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;
            line-height: 1.63;
            letter-spacing: normal;
            color: #544837;
            grid-column: 2;
        }

        .intro-section .intro.type-01 {
            position: absolute;
            top: 100px;
            left: 200px;
        }

            .intro-section .intro.type-01 .text-box {
                width: 280px;
            }

        .intro-section .intro.type-02 {
            position: absolute;
            top: 100px;
            right: 200px;
        }

            .intro-section .intro.type-02 .text-box {
                width: 320px;
            }

        .intro-section .intro.type-03 {
            position: absolute;
            top: 400px;
            left: 120px;
        }

            .intro-section .intro.type-03 .text-box {
                width: 280px;
            }

        .intro-section .intro.type-04 {
            position: absolute;
            top: 400px;
            right: 120px;
        }

            .intro-section .intro.type-04 .text-box {
                width: 280px;
            }

    .intro-section .bg-4 {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 1890px;
        height: 675px;
        transform: translate(-50%, -15%);
        background-image: url('/images/img-bg-4.svg');
        background-size: cover;
        background-position: center;
        z-index: -1;
    }

/* ai-section */
.ai-section {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: end;
}

    .ai-section .ai-img {
        position: absolute;
        top: 104px;
        left: -80px;
        max-width: 860px;
        max-height: 516px;
        width: 50%;
        object-fit: contain;
    }

    .ai-section .ai-text {
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 80px;
        padding: 20px;
    }

        .ai-section .ai-text .title {
            width: fit-content;
            display: flex;
            align-items: center;
            justify-content: start;
            gap: 20px;
            position: relative;
            font-size: 36px;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: normal;
            text-align: center;
            color: #2f281e;
        }

            .ai-section .ai-text .title .title-img {
                width: 63px;
                height: 57px;
                position: absolute;
                top: 0;
                right: 0;
                object-fit: contain;
                transform: translate(100%, -50%);
            }

.ai-text .text {
    font-size: 16px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.63;
    letter-spacing: normal;
    color: #544837;
}

/* contact-section */

.contact-section {
    padding: 10%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /*height: 700px;*/
    gap: 50px;
    z-index: 1;
}

    .contact-section h2 {
        /*margin-bottom: 50px;*/
        color: var(--web-white);
        font-size: 36px;
        font-weight: 500;
    }

    .contact-section .title-object {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .contact-section .input-object {
        height: 69px;
        border-radius: 35px;
        padding: 10px;
        ;
        box-shadow: 0 2px 4px 0 rgba(214, 200, 181, 0.5);
        background-image: linear-gradient(to bottom, #fff, #fdf9f9 99%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 60%;
        gap: 20px;
        min-width: 300px;
        white-space: nowrap;
    }

        .contact-section .input-object .custom-input {
            height: 100%;
            border-radius: 35px;
            border: none;
            outline: none;
            font-size: 19px;
            font-weight: bold;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: normal;
            color: #676767;
            margin-left: 20px;
            width: 80%;
        }

        .contact-section .input-object .btn {
            width: auto;
            padding: 15px 40px;
            border-radius: 27px;
            background-image: linear-gradient(to bottom, #ffbc00, #f90);
            font-size: 16px;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: normal;
            color: #fff;
            white-space: nowrap;
        }

    .contact-section .or {
        position: relative;
        width: 69px;
        height: 69px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 19px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        color: #fff;
    }

        .contact-section .or::after {
            position: absolute;
            content: "";
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 69px;
            height: 69px;
            border-radius: 50%;
            opacity: 0.5;
            background-color: #fff;
            z-index: -1;
        }

    .contact-section .input-object.green {
        border-radius: 33px;
        box-shadow: 0 2px 10px 0 rgba(160, 156, 156, 0.5);
        background-image: linear-gradient(to bottom, #98be3c, #7bb64e 99%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 23px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        color: #fff;
    }

    .contact-section .bg-5 {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, 0%);
        background-image: url('/images/img-bg-footer@3x.webp');
        background-size: cover;
        background-position: top;
        z-index: -1;
    }

/* footer */
footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 50px;
    padding: 50px 10%;
}

    footer .bottom-img {
        width: 20%;
        height: 50%;
        display: flex;
        flex-direction: column;
        gap: 50px;
        font-size: 18px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.56;
        letter-spacing: normal;
        color: #544837;
    }

        footer .bottom-img img {
            width: 95px;
            height: 92px;
        }

    footer .bottom-menu {
        display: flex;
        align-items: center;
        gap: 50px;
    }

        footer .bottom-menu .menu-title {
            font-size: 20px;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;
            line-height: 1.5;
            letter-spacing: normal;
            color: #2f281e;
            margin-bottom: 50px;
        }

        footer .bottom-menu .menu-sub-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

            footer .bottom-menu .menu-sub-list .sub-item {
                font-size: 16px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: 1.63;
                letter-spacing: normal;
                color: #9d917f;
            }

/* menu */
header .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 100%;
}

    header .menu > a {
        color: unset;
        text-decoration: unset;
        color: var(--web-white);
        font-size: 20px;
        font-weight: normal;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

        header .menu > a.active {
            padding-top: 5px;
            border-bottom: 5px solid var(--web-white);
        }

header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

    header.fixed .logo img {
        width: 70px;
        height: 56px;
    }

    header.fixed .menu {
        /*display: none;*/
    }

header > .mobile {
    display: none;
}
.offcanvas-header {
    background-color: var(--web-header-bg-color);
}
.offcanvas-body > .hideMenu {
    /* position: fixed;
    top: 0;
    right: -250px;
    width: 250px;*/
    height: 100%;
    padding-top: 50px;
    transition: right 0.3s;
    background-color: var(--web-header-bg-color);
    z-index: 50;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
    text-decoration: unset;
    gap: 10px;
}

    .offcanvas-body > .hideMenu a,
    .offcanvas-body > .hideMenu span {
        font-size: 20px;
        color: var(--web-white);
        font-weight: 500;
        text-decoration: unset;
    }

.menu-open .mobile .hideMenu {
    right: 0;
}

/* Mobile 選單項目樣式 */
.hideMenu .mobile-menu-item {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

/* 子選單樣式 */
.mobile-menu .mobile-submenu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--web-header-bg-color);
    filter: brightness(0.9);
}

    .mobile-menu .mobile-submenu a {
        display: block;
        padding: 10px 0;
        color: var(--web-text-font-color);
        text-decoration: none;
        font-size: 13px;
        opacity: 0.8;
    }

.mobile-menu-item.active .mobile-menu-toggle img {
    transform: rotate(90deg);
}

.mobile-menu-item.active .mobile-submenu {
    max-height: 500px; /* 設置一個足夠大的值 */
}

/* 手機版登入註冊按鈕樣式 */
header .mobile .mobile-menu-actions {
    margin-top: 30px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

    header .mobile .mobile-menu-actions .mobile-login-btn,
    header .mobile .mobile-menu-actions .mobile-register-btn {
        display: block;
        width: 150px;
        padding: 12px 20px;
        text-align: center;
        text-decoration: none;
        border-radius: 25px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    header .mobile .mobile-menu-actions .mobile-login-btn {
        background-color: var(--web-white);
        color: var(--web-btn-font-color);
        border: 2px solid var(--web-white);
    }

    header .mobile .mobile-menu-actions .mobile-register-btn {
        background-color: transparent;
        color: var(--web-white);
        border: 2px solid var(--web-white);
    }

    header .mobile .mobile-menu-actions .mobile-login-btn:hover {
        background-color: var(--web-btn-font-color);
        color: var(--web-white);
        transform: translateY(-2px);
    }

    header .mobile .mobile-menu-actions .mobile-register-btn:hover {
        background-color: var(--web-white);
        color: var(--web-btn-font-color);
        transform: translateY(-2px);
    }

header .mobile .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 10;
}

.menu-open .mobile .overlay {
    opacity: 1;
    visibility: visible;
}

.menu-open header > .mobile .mini-menu {
    right: 250px;
}

header > .mobile .mini-menu .burger-box {
    display: flex;
    align-items: center;
    height: 70px;
    width: 100%;
}

    header > .mobile .mini-menu .burger-box .burger {
        margin-left: 26px;
        margin-right: 26px;
        cursor: pointer;
        position: relative;
    }

        header > .mobile .mini-menu .burger-box .burger .Rectangle {
            width: 20px;
            height: 4px;
            margin: 5px 0 0;
            background-color: var(--web-white);
        }

@media screen and (max-width: 992px) {
    /* title section */
    .wrapper .title-section .title-object {
        left: 5%;
    }

        .wrapper .title-section .title-object.object-01 {
            font-size: 20px;
        }

        .wrapper .title-section .title-object.object-02 {
            top: 10px;
            left: -10px;
        }

        .wrapper .title-section .title-object.object-03 {
            top: 250px;
            font-size: 30px;
            line-height: 1.46;
            width: 60%;
        }

        .wrapper .title-section .title-object .logo-banner {
            width: 400px;
            height: 400px;
        }

        .wrapper .title-section .title-object.object-04 {
            top: 430px;
            width: auto;
            font-size: 16px;
        }

        .wrapper .title-section .title-object .btn {
            border-radius: 27px;
            font-size: 14px;
        }

    /* info-section */


    .info-section .feature {
        flex-direction: column;
        align-items: center;
    }

        .info-section .feature.reverse {
            flex-direction: column;
        }

        .info-section .feature > * {
            flex: 1;
        }

        .info-section .feature .feature-img {
            width: 100%;
        }

    /* intro-section */
    .intro-section {
        padding: 0 10%;
        display: flex;
        flex-direction: column;
        /*align-items: center;*/
        justify-content: center;
        gap: 20px;
        height: auto;
    }

        .intro-section .intro.type-01 {
            position: relative;
            top: initial;
            left: initial;
        }

        .intro-section .intro.type-02 {
            position: relative;
            top: initial;
            right: initial;
        }

        .intro-section .intro.type-03 {
            position: relative;
            top: initial;
            left: initial;
        }

        .intro-section .intro.type-04 {
            position: relative;
            top: initial;
            right: initial;
        }

        .intro-section .intro-img {
            opacity: 0.5;
        }

    /* know-section */

    .know-list {
        width: 80%;
        gap: 50px;
    }

    /* ai-section */
    .ai-section {
        margin-top: 50px;
        height: 450px;
    }

        .ai-section .ai-img {
            position: absolute;
            top: 0;
            left: -80px;
            max-width: initial;
            max-height: initial;
            width: 90%;
            object-fit: contain;
            opacity: 0.3;
        }

        .ai-section .ai-text {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: center;
            gap: 80px;
            padding: 10%;
        }

    /* contact-section */
    .contact-section {
        padding: 50px 20px;
        gap: 30px;
    }

        .contact-section .input-object {
            width: 90%;
            min-width: 160px;
        }

    /* footer */
    footer {
        justify-content: center;
        flex-direction: column;
        gap: 50px;
        padding: 30px 30px;
    }

        footer .bottom-img {
            width: 100%;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 30px;
        }

        footer .bottom-menu {
            align-items: start;
            justify-content: space-around;
            font-size: 16px;
            gap: 20px;
            width: 100%;
        }

            footer .bottom-menu .menu-title {
                font-size: 18px;
                margin-bottom: 30px;
            }

    .menu a {
        /*white-space: nowrap;*/
    }

    /* menu */
    header {
        padding: 5px 20px 5px 40px !important;
    }

        header > .mobile {
            display: block;
        }

        header .menu {
            display: none;
        }

        header > .mobile .mini-menu {
            display: flex;
            transition: all 0.3s ease;
        }
}


/* product page */
.wrapper.product .title-section {
    background-image: url('/images/img-banner-2@3x.png');
    background-size: 110%;
    background-position: top -20px right 5px;
    background-repeat: no-repeat;
    height: 480px;
    width: 101%;
    position: relative;
    margin-top: 0px;
}

    .wrapper.product .title-section .title-object {
        position: absolute;
        left: 10%;
    }

        .wrapper.product .title-section .title-object.object-01 {
            top: 100px;
        }

            .wrapper.product .title-section .title-object.object-01 .logo-banner {
                width: 221px;
                height: 62px;
            }

        .wrapper.product .title-section .title-object.object-02 {
            top: 170px;
            font-size: 37px;
            font-weight: bold;
            font-family: NotoSansCJKTC;
            font-stretch: normal;
            font-style: normal;
            line-height: 1.46;
            letter-spacing: normal;
            color: #23211f;
        }

        .wrapper.product .title-section .title-object.object-03 {
            top: 300px;
        }

            .wrapper.product .title-section .title-object.object-03 .btn {
                font-family: NotoSansCJKTC;
                padding: 10px 50px;
                font-size: 24px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #fff;
            }

.wrapper.product section {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10%;
}

    .wrapper.product section .title {
        font-family: YuantiTC;
        font-size: 40px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.28;
        letter-spacing: normal;
        text-align: center;
        color: #e98007;
        position: relative;
        width: fit-content;
        margin-bottom: 30px;
    }

        .wrapper.product section .title::before {
            content: "";
            position: absolute;
            top: -15px;
            right: -20px;
            background-image: url('/images/icon-title-dot-1.svg');
            background-size: cover;
            background-position: center;
            width: 26px;
            height: 28px;
        }

    .wrapper.product section .sub-title {
        font-size: 27px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.59;
        letter-spacing: normal;
        text-align: center;
        color: #23211f;
    }

    /* feature-section */

    .wrapper.product section.feature-section {
        position: relative;
        height: 600px;
        margin-bottom: 100px;
    }

    .wrapper.product section .feature-list {
        margin-top: 30px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

        .wrapper.product section .feature-list .feature {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
            width: 200px;
        }

            .wrapper.product section .feature-list .feature .text-box {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 10px;
            }

                .wrapper.product section .feature-list .feature .text-box .box-title {
                    font-size: 23px;
                    font-weight: bold;
                    font-stretch: normal;
                    font-style: normal;
                    line-height: normal;
                    letter-spacing: normal;
                    text-align: center;
                    color: #14181a;
                }

                .wrapper.product section .feature-list .feature .text-box .text {
                    font-size: 16px;
                    font-weight: 500;
                    font-stretch: normal;
                    font-style: normal;
                    line-height: 1.63;
                    letter-spacing: normal;
                    text-align: center;
                    color: #544837;
                }

    .wrapper.product section.feature-section .bg-1 {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 100%;
        height: 713px;
        transform: translate(-50%, 10%);
        background-image: url('/images/bg-2-1@3x.webp');
        background-size: cover;
        background-position: bottom;
        z-index: -1;
    }

    .wrapper.product section.case-section {
        position: relative;
        height: 700px;
        margin-bottom: 100px;
    }

        .wrapper.product section.case-section .case-list {
            margin-top: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 50px;
        }

.case-list .case {
    position: relative;
    width: 486px;
}

    .case-list .case .case-title {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translate(-50%, 0);
        font-size: 23px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: normal;
        text-align: center;
        color: #fff;
        padding: 20px 50px;
        border-radius: 15px;
    }

.case.orange .case-title {
    background-color: #f2a94c;
}

.case.yellow .case-title {
    background-color: #efbb37;
}

.case-list .case .case-picture {
    padding: 50px 18px 24px 18px;
    border-radius: 20px;
    box-shadow: 2px 2px 20px 0 rgba(159, 159, 159, 0.5);
    background-color: #fff;
}

.wrapper.product section.case-section .case-list .case .case-picture img {
    width: 100%;
    height: fit-content;
}

.wrapper.product section.case-section .case-list .case .pop-object {
    position: absolute;
    bottom: -30px;
}

    .wrapper.product section.case-section .case-list .case .pop-object.left {
        left: -20px;
    }

    .wrapper.product section.case-section .case-list .case .pop-object.right {
        right: -20px;
    }

.case-list .case .pop-object .text {
    position: relative;
    width: 100%;
    z-index: 1;
    padding: 20px;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.62;
    letter-spacing: normal;
    text-align: center;
    color: #493529;
}

    .case-list .case .pop-object .text::after {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        -webkit-filter: blur(1px);
        filter: blur(1px);
        box-shadow: 0 2px 20px 0 rgba(181, 181, 181, 0.5);
        background-color: #fff;
        border-radius: 30px;
        z-index: -1;
    }

.wrapper.product section.case-section .bg-2 {
    content: "";
    position: absolute;
    top: -200px;
    left: 0;
    width: 100%;
    height: 1182px;
    /*transform: translate(-0%, 10%);*/
    background-image: url('/images/bg-2-2@3x.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.wrapper.product section.function-section {
    position: relative;
    /*height: 600px;*/
    /*margin-top: 100px;*/
    margin-bottom: 100px;
    padding-top: 80px;
}

    .wrapper.product section.function-section .bg-3 {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1693px;
        /*transform: translate(-0%, 10%);*/
        background-image: url('/images/bg-2-3@3x.webp');
        background-size: cover;
        background-position: top;
        z-index: -1;
    }

.function-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

    .function-list .function {
        display: flex;
        flex-direction: row;
        ;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }

        .function-list .function.reverse {
            flex-direction: row-reverse;
        }

        .function-list .function > * {
            flex: 1;
        }

        .function-list .function .function-textbox {
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: center;
            gap: 20px;
        }

            .function-list .function .function-textbox .function-title {
                font-family: YuantiTC;
                font-size: 34px;
                font-weight: bold;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #db8201;
            }

            .function-list .function .function-textbox .function-text {
                font-family: NotoSansCJKTC;
                font-size: 18px;
                font-weight: 500;
                font-stretch: normal;
                font-style: normal;
                line-height: 2.11;
                letter-spacing: normal;
                color: #232220;
            }

        .function-list .function .function-picture {
            position: relative;
            margin: auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .function-list .function .function-picture img {
                width: 100%;
                height: fit-content;
            }
                .function-list .function .function-picture img.demo-img {
                    border-radius: 20px;
                    box-shadow: 0px 0px 10px rgba(0,0,0,.5);
                    filter: drop-shadow(0px 0px 10px rgba(0,0,0,.5));
                }

            .function-list .function .function-picture .picture-object {
                font-family: NotoSansCJKTC;
                position: absolute;
                bottom: -10px;
                width: 416px;
                height: 104px;
                display: flex;
                padding: 20px;
                flex-direction: column;
                align-items: start;
                justify-content: center;
                font-size: 16px;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                text-align: start;
                border-radius: 15px;
                background-color: #413a3a;
            }

                .function-list .function .function-picture .picture-object.right {
                    right: -10px;
                }

                .function-list .function .function-picture .picture-object.left {
                    left: -10px;
                }

                .function-list .function .function-picture .picture-object .picture-title {
                    color: #dfb851;
                }


                .function-list .function .function-picture .picture-object .picture-text {
                    color: #fff;
                }

.wrapper.product .contact-section {
    margin-top: 50px;
    padding: 80px 0;
    gap: 30px;
}

    .wrapper.product .contact-section .d-flex {
        width: 60%;
        gap: 50px;
    }

        .wrapper.product .contact-section .d-flex .input-object {
            /*padding: 10px 50px;*/
        }


/* product page RWD */
@media screen and (min-width: 1440px) {
    .wrapper.product .title-section {
        background-size: cover;
    }
}

@media screen and (max-width: 992px) {
    .wrapper.product .title-section {
        /*background-size: 100%;*/
        background-position: top -10px right 0px;
        min-height: 200px;
        height: 250px;
    }

        .wrapper.product .title-section .title-object {
            left: 8%;
        }

            .wrapper.product .title-section .title-object.object-01 {
                left: 5%;
                top: 10px;
            }

                .wrapper.product .title-section .title-object.object-01 .logo-banner {
                    transform: scale(0.6);
                }

            .wrapper.product .title-section .title-object.object-02 {
                top: 70px;
                font-size: 20px;
            }

            .wrapper.product .title-section .title-object.object-03 {
                top: 140px;
            }

                .wrapper.product .title-section .title-object.object-03 .btn {
                    padding: 10px 50px;
                    font-size: 18px;
                }

    .wrapper.product section .title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .wrapper.product section .sub-title {
        font-size: 20px;
    }

    .wrapper.product section.feature-section {
        height: auto;
    }


    .wrapper.product .feature-list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .wrapper.product section .feature-list .feature {
        gap: 10px;
        width: 150px;
    }

    .wrapper.product section.case-section {
        height: auto;
    }

        .wrapper.product section.case-section .case-list {
            margin-top: 100px;
            flex-direction: column;
            gap: 80px;
            padding: 5%;
        }

            .wrapper.product section.case-section .case-list .case {
                position: relative;
                width: 100%;
            }

                .wrapper.product section.case-section .case-list .case .case-title {
                    padding: 10px 30px;
                    white-space: nowrap;
                }

                .wrapper.product section.case-section .case-list .case .pop-object .text {
                    padding: 10px;
                    font-size: 18px;
                }

    .wrapper.product section.function-section .function-list {
        gap: 50px;
    }

        .wrapper.product section.function-section .function-list .function {
            margin-top: 50px;
            flex-direction: column;
            gap: 50px;
        }

            .wrapper.product section.function-section .function-list .function .function-textbox .function-title {
                font-size: 20px;
            }

            .wrapper.product section.function-section .function-list .function .function-textbox .function-text {
                font-size: 16px;
            }

    .function-list .function .function-picture .picture-object {
        font-family: NotoSansCJKTC;
        position: absolute;
        bottom: -20px;
        width: 80%;
        height: auto;
        padding: 20px;
    }

    .wrapper.product .contact-section .d-flex {
        flex-direction: column;
        align-items: center;
    }
}


/* about us - page */

.wrapper.aboutus section {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10%;
}

    .wrapper.aboutus section .title {
        font-family: YuantiTC;
        font-size: 40px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.28;
        letter-spacing: normal;
        text-align: center;
        color: #e98007;
        position: relative;
        width: fit-content;
        margin-bottom: 30px;
    }

    .wrapper.aboutus section .sub-title {
        font-size: 40px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.28;
        letter-spacing: normal;
        color: #4b4239;
    }

.wrapper.aboutus .aboutus-section .title img {
    width: 221px;
    height: 62px;
    margin-left: 50px;
}

.wrapper.aboutus .aboutus-section .card-list {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

    .wrapper.aboutus .aboutus-section .card-list .card {
        background-image: url('/images/aboutus-card-bg.svg');
        background-size: cover;
        background-position: center;
        width: 320px;
        height: 412px;
        border: none;
        background-color: transparent;
        ;
        box-shadow: 0 2px 50px 0 rgba(169, 161, 155, 0.5);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        gap: 20px;
        padding: 20px;
        border-radius: 20px;
    }

        .wrapper.aboutus .aboutus-section .card-list .card .img {
            margin-top: 20px;
            width: 100px;
            height: 100px;
            margin-bottom: 50px;
        }

            .wrapper.aboutus .aboutus-section .card-list .card .img img {
                width: 100%;
                height: 100%;
            }

        .wrapper.aboutus .aboutus-section .card-list .card .card-title {
            font-size: 25px;
            font-weight: bold;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: normal;
            text-align: center;
            color: #c5620d;
            position: relative;
        }

            .wrapper.aboutus .aboutus-section .card-list .card .card-title::before {
                content: "";
                position: absolute;
                top: -20px;
                left: 50%;
                transform: translateX(-50%);
                width: 40px;
                height: 9px;
                border-radius: 5px;
                background-color: #f5a603;
            }

        .wrapper.aboutus .aboutus-section .card-list .card .card-content {
            font-size: 16px;
            font-weight: 500;
            font-stretch: normal;
            font-style: normal;
            line-height: 1.63;
            letter-spacing: normal;
            text-align: center;
            color: #544837;
        }

.wrapper.aboutus .aboutus-section .bg-1 {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1241px;
    background-image: url('/images/bg-3-3@3x.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* .wrapper.aboutus .aboutus-section .bg-2 {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1241px;
    background-image: url('/images/bg-3-3@3x.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
} */

.wrapper.aboutus .aboutus-section .text {
    font-size: 17px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.76;
    letter-spacing: normal;
    text-align: center;
    color: #67554a;
}


/* contactus-section */

.wrapper.aboutus .contactus-section {
    margin-top: 300px;
    padding: 50px 0 100px 0;
    gap: 30px;
    background-image: linear-gradient(to bottom, #f8efd4, #edddba);
    margin-bottom: -120px;
    position: relative;
}

    .wrapper.aboutus .contactus-section .bg-4 {
        content: "";
        position: absolute;
        top: -270px;
        left: 0;
        width: 100%;
        height: 283.8px;
        background-image: url('/images/img-g-contact-us@2x.png');
        background-size: cover;
        background-position: center;
        z-index: 0;
    }

    .wrapper.aboutus .contactus-section .pop {
        content: "";
        position: absolute;
        top: -270px;
        left: 60%;
        transform: translateX(-50%);
        width: 257px;
        height: 117.8px;
        background-image: url('/images/img-pop-2.svg');
        background-size: cover;
        background-position: center;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
        font-weight: bold;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.62;
        letter-spacing: normal;
        text-align: center;
        color: #493529;
    }

    .wrapper.aboutus .contactus-section .sub-title {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 10px;
        width: 100%;
        margin-left: 35%;
    }

        .wrapper.aboutus .contactus-section .sub-title img {
            width: 87px;
            height: 55px;
        }

    .wrapper.aboutus .contactus-section .form {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 60px;
        border-radius: 16px;
        background-color: #fff;
        padding: 58px;
        width: 70%;
        flex-wrap: wrap;
    }

        .wrapper.aboutus .contactus-section .form > * {
            flex: 1;
        }

        .wrapper.aboutus .contactus-section .form .field-block {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 30px;
            width: 100%;
        }

        .wrapper.aboutus .contactus-section .form .field {
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: start;
            gap: 10px;
            width: 100%;
        }

            .wrapper.aboutus .contactus-section .form .field label {
                font-size: 20px;
                font-weight: bold;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #928372;
            }

            .wrapper.aboutus .contactus-section .form .field input,
            .wrapper.aboutus .contactus-section .form .field textarea {
                height: 56px;
                min-width: 200px;
                width: 100%;
                border-radius: 8px;
                box-shadow: inset 0 1px 10px 0 rgba(214, 195, 195, 0.5);
                background-color: #eeead7;
                border: none;
                font-size: 20px;
                font-weight: bold;
                font-stretch: normal;
                font-style: normal;
                line-height: normal;
                letter-spacing: normal;
                color: #928372;
                padding: 10px;
            }

            .wrapper.aboutus .contactus-section .form .field textarea {
                height: 320px;
                resize: none;
            }

    .wrapper.aboutus .contactus-section .btn {
        border-radius: 26.5px;
        background-image: linear-gradient(to bottom, #ffbc00, #f90);
        color: var(--web-white);
        font-size: 16px;
        font-weight: bold;
        padding: 15px 50px;
    }

.wrapper.aboutus .contact-section {
    z-index: 1;
    padding: 100px 0;
}

    .wrapper.aboutus .contact-section h2 {
        margin-bottom: 0px;
    }

    .wrapper.aboutus .contact-section .d-flex {
        width: 50%;
        gap: 30px;
    }

    .wrapper.aboutus .contact-section .bg-5 {
        background-image: url('/images/bg-2-4@3x.webp');
    }


@media screen and (max-width: 992px) {

    .wrapper.aboutus .contactus-section .pop {
        left: 70%;
    }

    .wrapper.aboutus .contactus-section .form {
        width: 80%;
        padding: 30px;
        gap: 30px;
    }

    .wrapper.aboutus .contact-section {
        padding: 50px 0;
    }

        .wrapper.aboutus .contact-section .d-flex {
            width: 80%;
            gap: 30px;
        }
}

/* Package Page Styles */
.wrapper.package {
    overflow: hidden;
}

/* Package Banner Section */
.package-banner {
    background: linear-gradient(135deg, #ECFBFE 0%, #E0F7FA 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

    .package-banner::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -200px;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 1;
    }

    .package-banner .banner-content {
        margin: 0 auto;
        text-align: left;
        padding: 0 5%;
        position: relative;
        z-index: 2;
    }

.banner-badge {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: 0;
}

    .banner-badge .badge-bg {
        width: 100%;
        height: 100%;
        z-index: 0;
    }

.badge-icon {
    height: 28px;
    width: auto;
}

.banner-title {
    font-size: 40px;
    font-weight: 700;
    color: #236A5D;
    margin-bottom: 15px;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    display: flex;
}

    .banner-title.orange {
        margin-bottom: 0px;
        color: var(--web-title-orange-color);
    }

.banner-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #4E4E4E;
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.banner-cta {
    display: inline-block;
    background: linear-gradient(180deg, #FFBC00 0%, #FF9900 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 27px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

    .banner-cta:hover {
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

/* Package Plans Section */
.package-plans {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

    .package-plans .section-title {
        font-size: 40px;
        font-weight: 700;
        color: var(--web-title-brown-color);
        margin-bottom: 50px;
        font-family: 'Yuanti TC', -apple-system, sans-serif;
    }

.plans-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.plan-card {
    background: white;
    border-radius: 34px;
    padding: 170px 30px 20px 30px;
    flex: 1;
    max-width: 300px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

    .plan-card:hover {
        transform: translateY(-5px);
    }

    .plan-card.featured {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(64, 170, 151, 0.2);
    }

.plan-header {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 150px;
    background: #FDF3E9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 34px 34px 0 0;
}

    .plan-header .plan-name {
        font-size: 32px;
        font-weight: 700;
        color: var(--web-card-header-font-color);
        margin-bottom: 12px;
        font-family: 'Yuanti TC', -apple-system, sans-serif;
    }

.plan-pricing {
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #2A251C;
}

.period {
    font-size: 24px;
    color: #2A251C;
    margin-left: 5px;
}

.savings {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
}

.plan-description {
    font-size: 18px;
    color: #A59C97;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 400;
}

.plan-button {
    background: linear-gradient(180deg, #FFBC00 0%, #FF9900 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 27px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
}

    .plan-button:hover {
        transform: translateY(-2px);
    }

/* Package Features Section */
.package-features {
    padding: 80px 0;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .package-features .title-block {
        width: 100%;
        padding: 0 10%;
    }

    .package-features .features-title {
        text-align: start;
        font-size: 26px;
        font-weight: 600;
        color: #23211F;
        margin-bottom: 40px;
    }

    .package-features .features-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        /*max-width: 800px;*/
        width: 100%;
        margin: 0 10%;
        padding: 40px;
        background-color: #F4F1E7;
        border-radius: 39px;
        position: relative;
    }

        .package-features .features-grid::after {
            position: absolute;
            content: '';
            height: 80%;
            top: 10%;
            left: 50%;
            transform: translateX(-50%);
            width: 1px;
            background-color: #B7B7B7;
        }

    .package-features .features-column {
        display: flex;
        flex-direction: column;
        padding-left: 50px;
        gap: 15px;
    }

    .package-features .feature-item {
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 16px;
        color: #2A251C;
        line-height: 1.5;
    }

    .package-features .package-ad {
        margin-top: 50px;
        width: auto;
        max-width: 934px;
        /*max-height: 200px;*/
        color: white;
        position: relative;
    }

.package-ad .ad-content {
    position: relative;
    z-index: 1;
    padding: 20px 50px 20px 280px;
    line-height: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.package-ad .ad-image {
    position: absolute;
    left: 0px;
    top: 0px;
    width: fit-content;
    max-width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    z-index: 0;
}

.package-ad .ad-button {
    display: flex;
    justify-content: end;
    margin-left: auto;
    width: 100%;
}

    .package-ad .ad-button .btn {
        background: linear-gradient(180deg, #FFBC00 0%, #FF9900 100%);
        width: fit-content;
        color: white;
        padding: 15px 30px;
        border-radius: 27px;
    }

/* Responsive Design for Package Page */
@media screen and (max-width: 992px) {
    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 24px;
    }

    .plans-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .plan-card {
        max-width: 400px;
        width: 100%;
    }

        .plan-card.featured {
            transform: none;
        }

    .package-features .features-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 20px;
    }

        .package-features .features-grid::after {
            display: none;
        }

    .package-features .features-column {
        display: flex;
        flex-direction: column;
        padding: 0px;
        gap: 15px;
    }

    .package-ad .ad-content {
        padding: 40px;
        justify-content: center;
        background-color: #E08F19;
        border-radius: 24px;
        margin: 20px;
    }

    .package-ad .ad-image {
        display: none;
    }
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #F1F4F3;
    font-family: 'PingFang TC', -apple-system, sans-serif;
}

    .dashboard-container.scan {
        background: #f7f8fc;
    }


/* Sidebar Styles */
.dashboard-sidebar {
    width: 270px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(32px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    position: relative;
}

    .dashboard-sidebar.collapsed {
        width: 80px;
    }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px 20px;
    position: relative;
}

.dashboard-sidebar.collapsed .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.logo-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-sidebar.collapsed .logo-container {
    width: 30px;
    display: flex;
    justify-content: flex-start;
}

.dashboard-sidebar .collapsed-logo {
    display: none;
}

.dashboard-sidebar.collapsed .collapsed-logo {
    display: block;
}


.dashboard-sidebar.collapsed .logo-container .logo {
    display: none;
}

.sidebar-logo {
    height: 30px;
    width: auto;
    transition: all 0.3s ease;
}

.dashboard-sidebar.collapsed .sidebar-logo {
    width: 30px;
    height: 30px;
    clip-path: inset(0 0 0 75%);
    transform: translateX(-20px);
}

.sidebar-toggle {
    position: absolute;
    right: -12px;
    top: 50px;
    border: none;
    border-radius: 50%;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.dashboard-sidebar.collapsed .sidebar-toggle {
    transform: rotate(180deg);
}

.sidebar-toggle svg {
    width: 16px;
    height: 16px;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    /*padding: 0 30px;*/
}

.nav-section {
    margin-bottom: 20px;
    /*border-left: 5px solid transparent;*/
    /*padding-left: 10px;*/
}

    .nav-section.active {
        /*border-left-color: #E98007;*/
    }

.nav-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 8px 40px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    transition: color 0.3s ease;
    transition: border-color 0.3s ease;
    border-left: 5px solid transparent;
}

.nav-section.active .nav-header {
    border-left-color: #E98007;
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 8px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 64px;
}

.nav-section.expanded .nav-submenu {
    max-height: 1000px;
}

.nav-submenu .nav-link {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #585050;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

    .nav-submenu .nav-link.active {
        color: #e98007;
        font-weight: 500;
    }

    .nav-submenu .nav-link:hover {
        color: #E98007;
        text-decoration: none;
    }

    .nav-submenu .nav-link.active::after {
        content: '';
        position: absolute;
        left: -64px;
        bottom: 50%;
        transform: translate(0%, 50%);
        width: 6px;
        height: 80%;
        background: #E98007;
        transition: background 0.3s ease;
    }

/* Second-level Submenu Styles */
.nav-subsection {
    margin-bottom: 10px; /* Space between sub-sections */
}

.nav-subheader {
    display: flex;
    align-items: center;
    padding: 6px 0 6px 30px; /* Removed padding-right, added padding-left */
    cursor: pointer;
    font-size: 12px; /* Slightly smaller than main header */
    font-weight: 500;
    color: #333; /* A slightly different color */
    transition: color 0.3s ease;
    position: relative;
}

.nav-subheader:hover {
    color: #E98007; /* Hover effect */
}

.nav-subheader::after {
    content: '';
    position: absolute;
    left: 10px; /* Positioned on the left */
    top: 50%;
    transform: translateY(-50%) rotate(0deg); /* Default points right */
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #333; /* Corrected: Creates a right-pointing arrow */
    border-right: none;
    transition: transform 0.3s ease;
}

.nav-subsection.expanded .nav-subheader::after {
    transform: translateY(-50%) rotate(90deg); /* Rotate arrow to point down when expanded */
}

.nav-sub-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 5px; 
    padding-left: 15px; /* Indent further */
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.nav-subsection.expanded .nav-sub-submenu {
    max-height: 500px; /* A sufficiently large value */
}

/* AI Chat Widget */
.ai-chat-widget {
    margin: 30px;
    padding: 20px;
    background: linear-gradient(180deg, #EFF0AA 0%, #FFDA9E 100%);
    border-radius: 27px;
    text-align: center;
}

.dashboard-sidebar.collapsed .ai-chat-widget {
    background: transparent;
    margin: 0px;
    padding: 20px;
}

.ai-avatar {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FBF3E1 0%, #FFFAEF 100%);
    object-fit: cover;
}

.ai-chat-button {
    background: #EDAC11;
    color: #FFFDFA;
    border: none;
    padding: 8px 20px;
    border-radius: 9px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dashboard-sidebar.collapsed .ai-chat-widget {
    padding: 8px 10px;
}

/* Collapsed state styles for navigation */
.dashboard-sidebar.collapsed .sidebar-nav {
    padding: 0 10px;
}

.dashboard-sidebar.collapsed .nav-header span {
    display: none;
}

.dashboard-sidebar.collapsed .nav-submenu {
    display: none;
}

.dashboard-sidebar.collapsed .nav-header {
    justify-content: center;
    padding: 12px 0;
    border-left: none;
}

.dashboard-sidebar.collapsed .nav-section {
    margin-bottom: 10px;
    border-left: none;
    padding-left: 0;
}

.dashboard-sidebar.collapsed .nav-header img {
    width: 24px;
    height: 24px;
}

.ai-chat-button:hover {
    background: #D19A0F;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    padding: 0 40px 40px;
    overflow-y: auto;
}
.dashboard-main .dashboard-cards .card-content{
    text-align:center;
    position:absolute;
}

.dashboard-main .dashboard-cards .dashboard-actions .action-text{
    text-align:center;
}
.dashboard-main .dashboard-cards .dashboard-actions .action-text.action-text-left{
    text-align:left !important;
}

/* Dashboard Header */
header.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0px !important;
    background-color: transparent;
    flex-wrap: wrap;
    height: auto;
    align-items: flex-start;
}

.header-left {
    display: flex;
    /*align-items: center;*/
    /*gap: 15px;*/
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px 5px;
}

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: #333;
        border-radius: 3px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

.page-title {
    font-size: 30px;
    color: #1C1C1C;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.6px;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    gap: 10px;
    /*justify-content: baseline;*/
}

    .page-title .update-time {
        padding: 1px 13px 2px 14px;
        border-radius: 10px;
        background-color: #fff;
        font-size: 12px;
        font-weight: 500;
        font-stretch: normal;
        font-style: normal;
        line-height: normal;
        letter-spacing: 0.24px;
        color: #8d8d8d;
        height: fit-content;
        display: flex;
        gap: 10px;
        align-items: center;
    }

.header-actions {
    display: flex;
    align-items: start;
    gap: 12px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #E98007;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .action-btn:hover {
        background: #d4710a;
        transform: translateY(-1px);
    }

    .action-btn img {
        width: 16px;
        height: 16px;
        filter: brightness(0) invert(1);
    }

/* Report Table Styles */
.report-section {
    /*background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;*/
}

.report-filter {
    display: flex;
    align-items: center;
}

.filter-select {
    padding: 8px 16px;
    border: 1px solid #E8ECF4;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.report-name-col {
    width: 30%;
    min-width: 200px;
    font-weight: 600;
}

.report-type-col {
    width: 12%;
    min-width: 80px;
    text-align: center;
}

.upload-date-col {
    width: 15%;
    min-width: 120px;
}

.file-size-col {
    width: 12%;
    min-width: 80px;
    text-align: center;
}

.table-header th {
    background: #F8F9FA;
    font-weight: 500;
    color: #3E485D;
    padding: 5px 10px;
    font-size: 12px;
    border-bottom: 2px solid #E8ECF4;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.search-container {
    position: relative;
    width: 324px;
    display: none;
}

.search-input {
    width: 100%;
    height: 49px;
    padding: 0 20px 0 50px;
    border: 1px solid #EFEFEF;
    border-radius: 12px;
    background: white;
    font-size: 17px;
    color: #1C1C1C;
}

    .search-input::placeholder {
        color: #ABB7BC;
    }

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
}

.notification-button,
.settings-button {
    /*width: 49px;*/
    width: fit-content;
    padding: 0px 20px;
    height: 49px;
    background: white;
    border: 1px solid #EFEFEF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.28px;
    color: #3f3d3d;
}

    .notification-button.heighter,
    .settings-button.heighter {
        height: 60px;
    }

    .notification-button.minishow {
        display: none;
    }

    .settings-button img {
        width: 24px;
        height: 24px;
    }

    .notification-button:hover,
    .settings-button:hover {
        background: #F5F5F5;
    }

.notification-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #F1B160;
    border-radius: 50%;
}

/* Dashboard Cards */
.dashboard-cards {
    /*
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
    */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 29px;
    margin-bottom: 40px;
}

.dashboard-card {
    flex: 1;
    /*width: 224px;*/
    min-width: 224px;
    height: 224px;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
    }

.card-inventory {
    background: #EFDE8F;
}

.card-inbound {
    background: #F2B790;
}

.card-analytics {
    background: #95D3E5;
}

.card-illustration {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.card-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    opacity: 0.9;
}

.card-content {
  /*  position: absolute;*/
    bottom: 13px;
    left: 13px;
    right: 13px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 17px;
   
    padding-top:0px;
}

.card-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-badge {
    background: white;
    color: #F3881E;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.card-description {
    font-size: 12px;
    color: #797474;
    margin: 0;
}

.card-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    color: #2B2B2B;
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    width: 223px;
}

.action-card {
    background: white;
    border: 1px solid #F3F5FC;
    border-radius: 18px;
    box-shadow: 0 2px 5px rgba(226, 226, 226, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .action-card:hover {
        transform: translateY(-2px);
    }

.scan-card,
.manual-card {
    width: 103px;
    height: 106px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.import-card {
    width: 100%;
    height: 102px;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.action-icon {
    color: #F0AB59;
}

    .action-icon svg {
        width: 24px;
        height: 24px;
    }

.action-text {
    font-size: 15px;
    color: #3F3D3D;
    font-weight: 500;
}

.action-content {
    display: flex;
    flex-direction: column;
}

.action-note {
    font-size: 11px;
    color: #AEAEAE;
    margin-top: 4px;
}

/* Inventory Section */
.inventory-section {
    /*padding: 30px;*/
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.inventory-section .section-title {
    font-size: 28px;
    color: #1C1C1C;
    margin: 0;
    font-weight: 400;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #4A4A4A;
}

.date-arrow-left,
.date-arrow-right {
    cursor: pointer;
    color: #3F464B;
}

.table-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    gap: 30px;
}

.tab-button {
    background: none;
    border: none;
    font-size: 16px;
    color: #ADADAD;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.3s ease;
}

    .tab-button.active {
        color: #000;
        border-bottom: 2px solid #000;
    }

/* Inventory Table */
.inventory-table-container {
    /*overflow-x: auto;*/
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 20px;
    /* 改善滾動體驗 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

    .inventory-table-container.no-bg {
        background-color: transparent;
        box-shadow: none;
    }

    /* Webkit 瀏覽器的滾動條樣式 */
    .inventory-table-container::-webkit-scrollbar {
        height: 8px;
    }

    .inventory-table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .inventory-table-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }

        .inventory-table-container::-webkit-scrollbar-thumb:hover {
            background: #999;
        }

    .inventory-table-container .inventory-table {
        width: 100%;
        border-collapse: collapse;
        /* 設定最小寬度以確保表格可讀性 */
        min-width: 1000px;
        /* 限制最大寬度並讓表格在大螢幕上不要過度擴展 */
        /*max-width: 1200px;*/
        table-layout: fixed; /* 固定表格佈局，確保欄位寬度比例 */
    }

        .inventory-table-container .inventory-table .table-row {
            border-bottom: 1px solid #F6F6F6;
        }

            .inventory-table-container .inventory-table .table-row.table-danger {
                background-color: #f3c8c8;
            }

            .inventory-table-container .inventory-table .table-row .fw-bold {
                font-weight: bold;
                color: red;
            }

            .inventory-table-container .inventory-table .table-row td {
                padding: 15px 0;
                font-size: 12px;
                color: #3E485D;
                vertical-align: middle;
            }

                .inventory-table-container .inventory-table .table-row td.checkbox-col {
                    width: 5%; /* 約50px在1000px寬度下 */
                    min-width: 20px;
                }

                .inventory-table-container .inventory-table .table-row td.row-checkbox {
                    border: 1px solid #979797;
                    border-radius: 3px;
                    opacity: 0.4;
                }

                .inventory-table-container .inventory-table .table-row td.store-col {
                    width: 10%; /* 約100px */
                    min-width: 70px;
                }

                .inventory-table-container .inventory-table .table-row td.code-col {
                    width: 12%; /* 約120px */
                    min-width: 90px;
                }

                .inventory-table-container .inventory-table .table-row td.name-col {
                    width: 25%; /* 約250px，最重要的資訊給最多空間 */
                    min-width: 150px;
                    font-weight: 600;
                }

                .inventory-table-container .inventory-table .table-row td.size-col {
                    width: 15%; /* 約150px */
                    min-width: 100px;
                }

                .inventory-table-container .inventory-table .table-row td.quantity-col,
                .inventory-table-container .inventory-table .table-row td.status-col {
                    width: 8%; /* 約80px */
                    min-width: 50px;
                    text-align: center;
                }

                .inventory-table-container .inventory-table .table-row td.barcode-col {
                    width: 10%; /* 約150px */
                    min-width: 120px;
                }

                    .inventory-table-container .inventory-table .table-row td.barcode-col .barcode-display {
                        background-color: #f4f4f4;
                        width: fit-content;
                        padding: 2px 8px;
                    }

                .inventory-table-container .inventory-table .table-row td.actions-col {
                    width: 5%; /* 約50px */
                    min-width: 30px;
                    text-align: center;
                }

/* 報表名稱欄位優化 */
.report-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .report-name-wrapper strong {
        font-weight: 600;
        color: #2c3e50;
        font-size: 14px;
    }

.report-description {
    color: #7f8c8d;
    font-size: 12px;
    font-style: italic;
}

/* 類別標籤樣式 */
.category-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

    .category-badge.category-電子產品 {
        background-color: #e3f2fd;
        color: #1976d2;
        border: 1px solid #90caf9;
    }

    .category-badge.category-服裝 {
        background-color: #f3e5f5;
        color: #7b1fa2;
        border: 1px solid #ce93d8;
    }

    .category-badge.category-食品 {
        background-color: #e8f5e8;
        color: #2e7d32;
        border: 1px solid #a5d6a7;
    }

    .category-badge.category-居家用品 {
        background-color: #fff3e0;
        color: #f57c00;
        border: 1px solid #ffcc02;
    }

/* 庫存數量顯示樣式 */
.stock-display {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
}

.good-stock {
    color: #2e7d32;
    font-weight: 600;
}

.bad-stock {
    color: #d32f2f;
    font-weight: 600;
}

.divider {
    color: #666;
    margin: 0 2px;
}

/* 狀態標籤樣式優化 */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

    .status-badge.status-completed {
        background-color: #e8f5e8;
        color: #2e7d32;
        border: 1px solid #a5d6a7;
    }

    .status-badge.status-processing {
        background-color: #fff3e0;
        color: #f57c00;
        border: 1px solid #ffcc02;
    }

    .status-badge.status-failed {
        background-color: #ffebee;
        color: #d32f2f;
        border: 1px solid #ffcdd2;
    }

/* 操作下拉選單 */
.action-dropdown {
    position: relative;
    display: inline-block;
}

.action-btn-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .action-btn-menu:hover {
        background-color: #f5f5f5;
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.action-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

    .dropdown-item.delete-item {
        color: #dc3545;
    }

        .dropdown-item.delete-item:hover {
            background-color: #fff5f5;
        }

    .dropdown-item img,
    .dropdown-item svg {
        width: 16px;
        height: 16px;
    }

/* 篩選行樣式 */
.table-filter th {
    padding: 8px 12px;
    background-color: #f8f9fa;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    background-color: white;
}

    .filter-input:focus,
    .filter-select:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
    }

/* 更新後的表格欄位寬度設定 */
.inventory-table-container .inventory-table .table-row td.owner-col {
    width: 8%;
    min-width: 60px;
}

.inventory-table-container .inventory-table .table-row td.supplier-col {
    width: 8%;
    min-width: 60px;
}

.inventory-table-container .inventory-table .table-row td.item-code-col {
    width: 8%;
    min-width: 60px;
}

.inventory-table-container .inventory-table .table-row td.item-name-col {
    width: 15%;
    min-width: 120px;
    max-width: 200px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #bf7739;
    font-weight: 500;
}

.inventory-table-container .inventory-table .table-row td.spec-col {
    width: 12%;
    min-width: 90px;
}

.inventory-table-container .inventory-table .table-row td.category-col {
    width: 8%;
    min-width: 70px;
    text-align: center;
}

.inventory-table-container .inventory-table .table-row td.total-stock-col,
.inventory-table-container .inventory-table .table-row td.allocated-col,
.inventory-table-container .inventory-table .table-row td.available-col {
    width: 10%;
    min-width: 80px;
    text-align: center;
}

.inventory-table-container .inventory-table .table-row td.barcode-col {
    width: 12%;
    min-width: 100px;
}

/* Responsive Design for Dashboard */
/* @media screen and (max-width: 1200px) {
    .dashboard-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .dashboard-card {
        width: 100%;
        max-width: 224px;
    }
} */

/* Mobile Menu Styles */
.mobile-menu-container {
    display: none;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu {
   /* position: fixed;*/
    top: 0;
  /*  right: -300px;
    width: 300px;*/
    height: 100vh;
    background: var(--web-header-bg-color);
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-header {
    padding: 30px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-logo {
    /*height: 30px;
    width: auto;
    filter: brightness(0) invert(1);*/
    display: flex;
    justify-content: center;
    align-items: center;
}

    .mobile-menu-logo img {
        width: 80px;
    }

.mobile-menu-nav {
    flex: 1;
    padding: 20px 0;
}

.mobile-menu-section {
    margin-bottom: 10px;
}

.mobile-menu-title {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .mobile-menu-title:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-title img {
        width: 20px;
        height: 20px;
        margin-right: 15px;
        filter: brightness(0) invert(1);
    }

    .mobile-menu-title span {
        color: white;
        font-size: 16px;
        font-weight: 500;
    }

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-section.active .mobile-submenu {
    max-height: 300px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px 12px 55px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .mobile-nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-ai-assistant {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .mobile-ai-assistant:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.mobile-ai-avatar {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 50%;
}

.mobile-ai-avatar-1 {
    width: 80%;
}

.mobile-ai-assistant span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Menu open state */
.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-open .mobile-menu {
    right: 0;
}

@media screen and (max-width: 992px) {
    .dashboard-sidebar {
        display: none;
    }

    .mobile-menu-container {
        display: block;
    }

    .dashboard-main {
        width: 100%;
        padding: 0 20px 20px;
    }

    header.dashboard-header {
        /*flex-direction: column;*/
        gap: 10px;
        /*padding: 38px 0 40px !important; */
        align-items: stretch;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        justify-content: space-between;
    }

    .action-buttons {
        display: none;
    }

    .search-container {
        width: 100%;
        max-width: 300px;
    }

    .notification-button.minishow {
        padding: 0 10px;
    }

    .dashboard-cards {
        /*grid-template-columns: 1fr;*/
        gap: 20px;
    }

    .dashboard-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .action-card {
        flex: 1;
        min-width: 150px;
    }

    .inventory-section {
        /*padding: 20px;*/
    }

    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .table-tabs {
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .dashboard-main {
        padding: 0 15px 15px;
    }

    .page-title {
        font-size: 24px;
        flex-direction: column;
    }

    .section-title {
        font-size: 24px;
    }

    .inventory-table {
        font-size: 11px;
        min-width: 700px; /* 手機版稍微減少最小寬度 */
    }

    .table-row td {
        padding: 10px 5px;
    }

    /* 手機版表格容器調整 */
    .inventory-table-container {
        padding: 15px;
        margin: 0 -5px 20px; /* 讓表格可以延伸到邊緣 */
    }

        /* 手機版滾動提示 */
        .inventory-table-container::before {
            content: "← 左右滑動查看更多資訊 →";
            display: block;
            text-align: center;
            font-size: 11px;
            color: #999;
            margin-bottom: 10px;
            padding: 5px;
            background: #f8f9fa;
            border-radius: 4px;
        }

    .notification-button.minishow {
        padding: 0 5px;
    }
}

/* Solution Page Styles */
.wrapper.solution {
    overflow: hidden;
}

/* Solution Banner */
.solution-banner {
    background: linear-gradient(135deg, #ECFBFE 0%, #E0F7FA 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .solution-banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 25% 60%, rgba(255,255,255,0.6) 0%, transparent 50%), radial-gradient(circle at 75% 30%, rgba(255,255,255,0.4) 0%, transparent 50%);
        pointer-events: none;
    }

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: center;
}

.banner-title-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.solution-features .solution-ad {
    margin-top: 50px;
    width: auto;
    height: 200px;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
}

.solution-ad .ad-content {
    position: relative;
    z-index: 1;
    padding: 20px 210px 20px 420px;
    line-height: 40px;
    text-align: left;
}

.solution-ad .ad-image {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

    .solution-ad .ad-image.minishow {
        display: none;
        ;
    }

.enterprise-badge {
    position: absolute;
    top: -20px;
    right: -80px;
    z-index: 3;
}

.badge-icon {
    width: auto;
    height: auto;
    /*filter: drop-shadow(0 2px 20px rgba(181, 181, 181, 0.5));*/
}

.banner-title {
    font-size: 40px;
    font-weight: 700;
    color: #236A5D;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    font-family: 'Yuanti TC', -apple-system, sans-serif;
    margin: 0;
    line-height: 1.3;
    position: relative;
    width: fit-content;
}

.banner-title-wrapper .banner-title .banner-popup {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 3;
    height: auto;
    transform: translate(90%, -50%);
}

.banner-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #4E4E4E;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    font-family: 'Yuanti TC', -apple-system, sans-serif;
    line-height: 1.9;
}

    .banner-subtitle p {
        margin: 0;
    }

/* Solution Features Section */
.solution-features {
    padding: 80px 0;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-header {
    margin-bottom: 60px;
    padding: 0 5%;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #318878;
    margin-bottom: 30px;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
}

.features-description {
    font-size: 18px;
    color: #23211F;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

    .features-description p {
        margin: 8px 0;
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-image {
    width: 349px;
    height: 218px;
    border-radius: 34px;
    background: #EFEFEF;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-indicator {
    width: 37px;
    height: 8px;
    background: #40AA97;
    border-radius: 4px;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 32px;
    font-weight: 700;
    color: #318878;
    margin-bottom: 12px;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
}

.feature-description {
    font-size: 18px;
    color: #2A251C;
    line-height: 1.8;
    max-width: 331px;
    margin: 0;
}

/* Solution Info Section */
.solution-info {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 60px;
}

.info-images {
    flex: 1;
    position: relative;
}

.info-image.primary {
    width: 100%;
    max-width: 934px;
    height: auto;
    border-radius: 12px;
}

.info-image.secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.info-text {
    flex: 1;
    color: white;
    font-size: 18px;
    line-height: 2.1;
    font-weight: 400;
}

    .info-text p {
        margin: 0;
    }

.solution .contact-section {
    padding: 120px 0;
}

/* Responsive Design for Solution Page */
@media screen and (max-width: 992px) {
    .banner-title {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 24px;
    }

    .enterprise-badge {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .badge-icon {
        width: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-image {
        width: 100%;
        max-width: 349px;
    }

    .info-content {
        flex-direction: column;
        gap: 40px;
    }

    .info-image.secondary {
        position: static;
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .solution-features .solution-ad {
        height: 300px;
        padding: 0 5%;
    }

    .solution-ad .ad-content {
        background-color: var(--web-solution-ad-bg-color);
        border-radius: 60px;
        padding: 40px;
        line-height: 35px;
        position: relative;
    }

    .solution-ad .ad-image {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .solution-banner {
        padding: 60px 0;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-title {
        font-size: 28px;
    }

    .feature-description {
        font-size: 16px;
    }

    .cta-title,
    .bottom-cta-title {
        font-size: 28px;
    }

    .info-text {
        font-size: 16px;
    }
}

/* Register Page Styles */
.register-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #C4E3D4 0%, #D0DEE2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.register-modal {
    width: 100%;
    max-width: 1089px;
    height: auto;
    max-height: 99vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.23);
    display: flex;
    position: relative;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

    .modal-close:hover {
        background-color: rgba(0,0,0,0.1);
    }

    .modal-close svg {
        width: 14px;
        height: 14px;
    }

/* Left Section - Registration Form */
.register-form-section {
    flex: 1;
    padding: 80px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 460px;
}

.register-form-container {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.register-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .register-logo img {
        height: 42px;
        width: auto;
    }

.register-title {
    font-size: 26px;
    font-weight: 700;
    color: #3D4347;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
}

.register-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.form-input {
    width: 100%;
    height: 52px;
    padding: 16px 16px 16px 56px;
    border: 1px solid #E0E3E5;
    border-radius: 8px;
    font-size: 14px;
    color: #3D4347;
    background: white;
    transition: border-color 0.3s ease;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
}

    .form-input:focus {
        outline: none;
        border-color: #EDAC11;
    }

    .form-input::placeholder {
        color: #929699;
    }

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .password-toggle:hover {
        background-color: rgba(0,0,0,0.05);
    }

.form-checkboxes {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-checkbox {
    width: 19px;
    height: 19px;
    border: 1px solid #CBCBCB;
    border-radius: 4px;
    background: white;
    appearance: none;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

    .custom-checkbox:checked {
        background: #EDAC11;
        border-color: #EDAC11;
    }

        .custom-checkbox:checked::after {
            content: "✓";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

.checkbox-label {
    font-size: 14px;
    color: #929699;
    cursor: pointer;
    line-height: 1.4;
    font-family: 'PingFang TC', -apple-system, sans-serif;
}

.register-submit-btn {
    width: 100%;
    height: 52px;
    background: #EDAC11;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'PingFang TC', -apple-system, sans-serif;
    margin-bottom: 30px;
}

    .register-submit-btn:hover {
        background: #D19A0F;
        transform: translateY(-1px);
    }

.register-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-link {
    color: #72C30F;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'PingFang TC', -apple-system, sans-serif;
}

    .login-link:hover {
        color: #5DA00C;
        text-decoration: none;
    }

.forgot-link {
    color: #929699;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'PingFang TC', -apple-system, sans-serif;
}

    .forgot-link:hover {
        color: #7A7E81;
        text-decoration: none;
    }

/* Right Section - Illustration */
.register-illustration-section {
    flex: 1;
    /*background: linear-gradient(135deg, #E8F6F3 0%, #F0F8F5 100%);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    min-height: 632px;
    overflow: hidden;
}

.illustration-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.illustration-header {
    text-align: center;
    margin-bottom: 20px;
}

.illustration-title {
    font-size: 22px;
    font-weight: 700;
    color: #78868B;
    letter-spacing: 7.857px;
    font-family: 'Yuanti TC', -apple-system, sans-serif;
    margin: 0;
}

.illustration-main {
    position: absolute;
    width: 100.5%;
    height: 100%;
}

.main-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px 0 0 30px;
}

.illustration-chatbox {
    position: absolute;
    top: 40%;
    right: -5%;
    z-index: 2;
}

.chatbox-image {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.1));
}

.chatbox-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
    line-height: 1.4;
    font-family: 'Noto Sans TC', -apple-system, sans-serif;
    white-space: nowrap;
}

.illustration-indicator {
    margin-top: 20px;
}

.indicator-dot {
    width: 60px;
    height: 9px;
    background: #F8F5F5;
    border-radius: 29px;
}

/* Responsive Design for Register Page */
@media screen and (max-width: 992px) {
    .register-modal {
        flex-direction: column;
        max-height: none;
        height: auto;
        margin: 0;
        /*border-radius: 0;*/
    }

    .modal-close {
        top: 20px;
        left: 20px;
    }

    .register-form-section {
        padding: 60px 40px 40px;
        max-width: none;
    }

    .register-illustration-section {
        display: none;
        /*min-height: 300px;
        padding: 20px;*/
    }

    .illustration-title {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .main-illustration {
        max-height: 200px;
    }

    .chatbox-text {
        font-size: 11px;
    }
}

@media screen and (max-width: 576px) {
    .register-overlay {
        padding: 0;
    }

    .register-modal {
        width: 100%;
        height: 100vh;
        max-height: none;
        border-radius: 0;
    }

    .register-form-section {
        padding: 80px 20px 20px;
    }

    .register-form-container {
        max-width: none;
    }

    .illustration-title {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .register-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.devide-line.title {
    content: '';
    width: 2px;
}

/* Import Report Table Styling */
.import-report-container .inventory-table tbody {
    background-color: white;
}

.import-report-container .inventory-table thead th {
    /*background-color: #e1e7e6;*/
}

.import-report-container .table-filter th select {
    border: none;
}

.import-report-container .inventory-table .actions-col {
    background-color: #f9f4e8 !important;
}

/* Checkbox styling for import report */
.import-report-container input[type="checkbox"] {
    border: 1px solid #979797;
    accent-color: #979797;
}

/* Select dropdown styling for import report */
.import-report-container .filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23CCCCCC' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 24px;
}

/* Table body font size matching th */
.import-report-container .inventory-table tbody td {
    font-size: inherit;
}

/* Category column styling - bold without tag */
.import-report-container .inventory-table .category-col {
    font-weight: bold;
}

.import-report-container .inventory-table .category-badge {
    background: none !important;
    border: none !important;
    color: inherit !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: bold;
}

/* Stock columns styling */
.import-report-container .inventory-table .stock-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-report-container .inventory-table .stock-main {
    font-size: 16px;
    font-weight: 500;
}

.import-report-container .inventory-table .stock-detail {
    font-size: 10px;
    color: #666;
}

/* Item name with thumbnail styling */
.import-report-container .inventory-table .item-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.import-report-container .inventory-table .item-thumbnail {
    width: 32px;
    height: 21px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #f0f0f0;
}

.import-report-container .inventory-table .item-name {
    flex: 1;
}

.import-report-container .table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    background-color: #fff;
    min-width: 1000px;
}

.import-report-container .pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.import-report-container .pagination-btn {
    background: none;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
    font-size: 12px;
    transition: all 0.2s;
    border: none;
}

    .import-report-container .pagination-btn.gray {
        background-color: #efefef;
    }

    .import-report-container .pagination-btn#finish-import {
        background-color: #5e5d5b;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 4px;
        color: var(--web-white);
        font-size: 14px;
        font-weight: 300;
        transition: all 0.2s;
        border: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .import-report-container .pagination-btn:hover:not(:disabled) {
        background-color: #f5f5f5;
        border-color: #999;
    }

/*.import-report-container .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.import-report-container .pagination-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
} */

.import-report-container .pagination-info {
    color: #666;
    font-size: 14px;
}


/* 匯入報表 */

.inventory-table-container .inventory-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    border: #979797;
}

.inventory-table-container .inventory-table.report th:nth-child(1),
.inventory-table-container .inventory-table.report td:nth-child(1) {
    padding-left: 20px;
}

.inventory-table-container .inventory-table.report td {
    padding-left: 10px;
}

.displaynone {
    display: none !important;
}

.minishow {
    display: none;
}

.rotation {
    transform: rotate(180deg);
}

@media screen and (max-width: 992px) {
    .minishow {
        display: inline;
    }

    .notification-button.minishow {
        display: flex;
    }
}

/* 麵包屑樣式 */
.breadcrumb {
    font-size: 8px;
    margin-top: 4px;
}

.breadcrumb-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 10px;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
}

    .breadcrumb-link:hover {
        color: #333;
    }

.breadcrumb-item span {
    color: #999;
}

    .breadcrumb-item span:not(.breadcrumb-separator) {
        color: #999;
    }

.breadcrumb-separator {
    margin: 0 4px;
    color: #999;
}

/* QR Code 掃描彈出視窗樣式 */
.qr-scanner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .qr-scanner-overlay.active {
        display: flex;
    }

.qr-scanner-modal {
    /*width: 729px;
    height: 450px;
    background-color: white;*/
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);*/
    position: relative;
}

.qr-scanner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

    .qr-scanner-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }

.qr-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

    .qr-close-btn:hover {
        background-color: #f5f5f5;
        color: #333;
    }

.qr-scanner-body {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    /*padding: 10px 20px;*/
}

.qr-scanner-area {
    text-align: center;
}

.qr-scanner-frame {
    min-width: 729px;
    min-height: 398px;
    position: relative;
    margin: 0 auto 30px;
    border: none;
    border-radius: 8px;
    background-image: url('/images/barcode-scanner-382x282.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 4px solid #ff0000;
}

.qr-corner-top-left {
    top: 40%;
    left: 40%;
    transform: translate(-100px, -75px);
    border-right: none;
    border-bottom: none;
}

.qr-corner-top-right {
    top: 40%;
    right: 40%;
    transform: translate(100px, -75px);
    border-left: none;
    border-bottom: none;
}

.qr-corner-bottom-left {
    bottom: 40%;
    left: 40%;
    transform: translate(-100px, 75px);
    border-right: none;
    border-top: none;
}

.qr-corner-bottom-right {
    bottom: 40%;
    right: 40%;
    transform: translate(100px, 75px);
    border-left: none;
    border-top: none;
}

.qr-instruction {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.qr-scanner-notices {
    position: absolute;
    top: calc(50% - 40px);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 159px;
    height: 161px;
    opacity: 0.92;
    background-color: #3a3939;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fffdfa;
    font-size: 12px;
    font-weight: normal;
    gap: 20px;
}

.qr-scanner-footer {
    /*padding: 20px;*/
    /*border-top: 1px solid #e0e0e0;*/
    text-align: center;
}

.qr-return-btn {
    width: 20%;
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .qr-return-btn:hover {
        background-color: #5a6268;
    }

/* 響應式設計 */
@media screen and (max-width: 768px) {
    .qr-scanner-modal {
        width: 90%;
        height: auto;
        max-width: 400px;
    }

    .qr-scanner-frame {
        width: 300px;
        height: 220px;
    }

    .qr-corner {
        width: 20px;
        height: 20px;
        border: 3px solid #ff0000;
    }

    .qr-corner-top-left {
        top: 15px;
        left: 15px;
    }

    .qr-corner-top-right {
        top: 15px;
        right: 15px;
    }

    .qr-corner-bottom-left {
        bottom: 15px;
        left: 15px;
    }

    .qr-corner-bottom-right {
        bottom: 15px;
        right: 15px;
    }
}

/* 手動入庫表單樣式 */
.manual-import-form-section {
    margin-bottom: 30px;
}

    .manual-import-form-section .form-container {
        background-color: #fdfdfd;
        border-radius: 8px;
        padding: 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

.form-title {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
/*    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;*/
}

.manual-import-form .form-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

    /* 第二列特殊佈局 */
    .manual-import-form .form-row:nth-child(2) {
        grid-template-columns: 1fr 1fr 2fr 1.2fr 1fr 1fr;
    }

.manual-import-form .form-group {
    display: flex;
    flex-direction: column;
}

    .manual-import-form .form-group label {
        font-weight: 400;
        font-size: 12px;
        color: #333;
        margin-bottom: 6px;
    }

.manual-import-form-section .manual-import-form .form-control {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    transition: border-color 0.3s;
    background-color: #eff2f1;
}

.manual-import-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.manual-import-form .form-control:required:invalid {
    border-color: #dc3545;
}

/* 日期範圍樣式 */
.form-group-double {
    /* 在第二列中不需要 span，因為已經用自訂的 grid-template-columns */
}

.date-range-container {
    display: flex;
    align-items: center;
    gap: 2px;
}

.date-input {
    flex: 1;
}

.form-actions {
    display: flex;
    /*gap: 12px;*/
    justify-content: space-between;
    /*margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;*/
}
.form-actions button{
    z-index:1 !important;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background-color: #545b62;
    }

.btn.gray {
    background-color: #000;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    color: var(--web-white);
    font-size: 12px;
    font-weight: 300;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    
}

    .btn.gray:hover {
        background-color: #e98007;
        color: #fff;
    }

.btn.white {
    border: solid 1px #e1e1e1;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 0.26px;
    color: #959595;
    padding: 9px 30px;
}

/* 表單響應式設計 */
@media screen and (max-width: 1200px) {
    .manual-import-form .form-row {
        grid-template-columns: repeat(4, 1fr);
    }

        .manual-import-form .form-row:nth-child(2) {
            grid-template-columns: 1fr 1fr 2fr 1fr;
        }
}

@media screen and (max-width: 992px) {
    .manual-import-form .form-row {
        grid-template-columns: repeat(3, 1fr);
    }

        .manual-import-form .form-row:nth-child(2) {
            grid-template-columns: 1fr 1fr 1fr;
        }
}

@media screen and (max-width: 768px) {
    .manual-import-form .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

        .manual-import-form .form-row:nth-child(2) {
            grid-template-columns: 1fr 1fr;
        }

    .form-group-double {
        grid-column: span 2;
    }
}

@media screen and (max-width: 576px) {
    .manual-import-form .form-row {
        grid-template-columns: 1fr;
    }

        .manual-import-form .form-row:nth-child(2) {
            grid-template-columns: 1fr;
        }

    .form-group-double {
        grid-column: span 1;
    }

    .date-range-container {
        flex-direction: column;
        gap: 4px;
    }
}

/* 庫存統計區塊樣式 */
.stock-summary-section {
    margin-bottom: 20px;
    position: relative;
}

.stock-summary-container {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-size: 12px;
    height: 65px;
    z-index: 2;
    padding: 0 20px;
}

    .stock-summary-container.location {
        padding: 0 40px 0 20px;
    }

        .stock-summary-container.location .stat-value {
            font-size: 25px;
            font-weight: 600;
            display: flex;
            align-items: center;
        }

.today-dropdown {
    height: 100%;
    padding: 0 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-right: 1px solid #ebf1ef;
    font-weight: 600;
}

.stats-row {
    width: 80%;
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-change {
    font-weight: 500;
    border-radius: 4px;
    padding: 0px 10px;
    border-radius: 10.5px;
    font-size: 14px;
}

    .stat-change.positive {
        color: #ef4444;
        background: rgba(239, 68, 68, 0.1);
        position: relative;
        padding-left: 16px;
    }

        .stat-change.positive::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-bottom: 6px solid #e7764f;
        }

    .stat-change.negative {
        color: #10b981;
        background: rgba(16, 185, 129, 0.1);
        position: relative;
        padding-left: 16px;
    }

        .stat-change.negative::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 6px solid #18b95b;
        }

.summary-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    border-left: 1px solid #ebf1ef;
    padding: 0 10px 0 20px;
}

.toggle-switch {
    position: relative;
    display: flex;
    width: 100px;
    height: 32px;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: relative;
    cursor: pointer;
    background-color: #eff4f2;
    color: #b3b3b3;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

    /* 上層膠囊覆蓋層 */
    .toggle-slider::after {
        content: "Off";
        position: absolute;
        height: 28px;
        width: 48px;
        left: 2px;
        top: 2px;
        background: #b3b3b3;
        background-image: linear-gradient(167deg, #cacaca 3%, #a8b6b0 100%);
        transition: 0.4s;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 500;
        color: white;
        z-index: 2;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

input:checked + .toggle-slider::after {
    content: "AI庫存";
    transform: translateX(48px);
    background-image: linear-gradient(164deg, #41d49a 8%, #20d88f 96%);
    color: white;
}

.toggle-label {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

/* AI庫存相關樣式 */
.inventory-table {
    min-width: 1400px; /* 增加最小寬度以容納AI欄位 */
}

.ai-stock-col,
.safety-stock-col {
    width: 9% !important; /* 調整欄位寬度 */
}

/* AI庫存建議樣式 - 類似stat-change */
.ai-stock-recommendation {
    font-weight: 500;
    border-radius: 4px;
    padding: 2px 8px;
    line-height: 16px;
    font-size: 12px;
    position: relative;
    padding-right: 20px;
    display: inline-block;
    border-radius: 9px;
    min-width: 50px;
    max-width: 100px;
}

    .ai-stock-recommendation.positive {
        color: #3cbc8f;
        background: rgba(16, 185, 129, 0.1);
    }

        .ai-stock-recommendation.positive::after {
            content: '';
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
         
        }

    .ai-stock-recommendation.negative {
        color: #efa6a6;
        background: rgba(239, 68, 68, 0.1);
    }

        .ai-stock-recommendation.negative::after {
            content: '';
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid #dc3545;
        }

/* 安全庫存樣式 */
.safety-stock-display {
    background-color: #fff3cd;
    border-radius: 9px;
    padding: 2px 12px;
    position: relative;
    display: inline-block;
    font-weight: 600;
    color: #856404;
}

    .safety-stock-display::after {
        content: "AI";
        position: absolute;
        top: -6px;
        right: -10px;
        width: 18px;
        height: 18px;
        background-color: #fac591;
        color: white;
        border-radius: 50%;
        font-size: 10px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

/* AI分析彈窗樣式 */
.ai-analysis-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .ai-analysis-overlay.active {
        display: flex;
    }

.ai-analysis-modal {
    background: white;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.ai-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0; /* 防止標題被壓縮 */
}

    .ai-modal-header h3 {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        margin: 0;
    }

.ai-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

    .ai-modal-close:hover {
        background-color: #f5f5f5;
    }

.ai-modal-content {
    padding: 32px;
    flex: 1; /* 佔據剩餘空間 */
    overflow-y: auto; /* 只在內容區域顯示滾動條 */
    min-height: 0; /* 讓flex子元素能夠縮小 */
    background-color: rgba(159, 159, 159, 0.2);
}

.ai-analysis-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.ai-card {
    border-radius: 12px;
    padding: 18px 24px;
    text-align: center;
    position: relative;
}

    .ai-card.highlighted {
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .ai-card h4 {
        font-size: 16px;
        font-weight: 600;
        color: #666;
        margin: 0 0 16px 0;
    }

.ai-stat-number {
    font-size: 65px;
    font-weight: 500;
    margin-bottom: 16px;
}

    .ai-stat-number.green {
        color: #20d88f;
    }

    .ai-stat-number.red {
        color: #ff6b6b;
    }

    .ai-stat-number.gray {
        color: #6b7280;
    }

.ai-card p {
    color: #97a3b4;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.ai-learn-more {
    background-color: #c0cde2;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .ai-learn-more:hover {
        background-color: #d1d5db;
    }

.ai-prediction-section h4 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.ai-prediction-table-wrapper {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    overflow-x: auto; /* 支援水平滾動 */
}

.ai-prediction-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* 設定最小寬度 */
}

    .ai-prediction-table th {
        padding: 16px 24px;
        background-color: #f8f9fa;
        font-weight: 600;
        color: #666;
        border-bottom: 1px solid #e5e5e5;
        text-align: left;
        white-space: nowrap;
    }

    .ai-prediction-table td {
        padding: 16px 24px;
        border-bottom: 1px solid #f0f0f0;
        vertical-align: middle;
    }

    .ai-prediction-table tbody tr:last-child td {
        border-bottom: none;
    }

    .ai-prediction-table tbody tr:hover {
        background-color: #f8f9fa;
    }

    /* 表格欄位比例 */
    .ai-prediction-table th:nth-child(1),
    .ai-prediction-table td:nth-child(1) {
        width: 35%;
    }

    .ai-prediction-table th:nth-child(2),
    .ai-prediction-table td:nth-child(2) {
        width: 20%;
        text-align: center;
    }

    .ai-prediction-table th:nth-child(3),
    .ai-prediction-table td:nth-child(3) {
        width: 20%;
        text-align: center;
    }

    .ai-prediction-table th:nth-child(4),
    .ai-prediction-table td:nth-child(4) {
        width: 25%;
    }

.daily-sales {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.sales-bar {
    width: 60px;
    height: 15px;
    background-color: #20d88f;
    border-radius: 4px;
    display: inline-block;
}

    .sales-bar.short {
        width: 20px;
    }

    .sales-bar.long {
        width: 80px;
    }


/* 響應式設計 */
@media (max-width: 768px) {
    .ai-analysis-modal {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }

    .ai-modal-content {
        padding: 20px;
    }

    .ai-analysis-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* 手機版表格響應式處理 */
    .ai-prediction-table {
        /*min-width: auto;*/
        font-size: 14px;
    }

        .ai-prediction-table th,
        .ai-prediction-table td {
            padding: 12px 8px;
            text-align: center;
        }

            .ai-prediction-table th:nth-child(1),
            .ai-prediction-table td:nth-child(1) {
                text-align: left;
            }

    .sales-bar {
        width: 30px;
        height: 8px;
    }

        .sales-bar.short {
            width: 10px;
        }

    .daily-sales {
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
    }

    .ai-stat-number {
        font-size: 36px;
    }
}

/* 儲位徽章樣式 */
.storage-badge {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    color: #2db168;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

/* 入庫狀態徽章樣式 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

    .status-badge.confirmed {
        background-color: #e7f8ee;
        color: #1f7a3e;
    }

    .status-badge .status-icon {
        width: 14px;
        height: 14px;
    }

.mascot-container {
    position: absolute;
    right: 0px;
    top: -80px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
    transition: all 0.3s ease-in;
}

    .mascot-container .mascot-abs-div {
        position: relative;
    }

.speech-bubble {
    position: absolute;
    top: 0px;
    right: 120px;
    background: #ffa726;
    border-radius: 16px;
    padding: 12px 16px;
    position: relative;
    max-width: 200px;
    margin-bottom: 60px;
    z-index: 5;
}

    .speech-bubble::after {
        content: '';
        position: absolute;
        right: 10%;
        bottom: -30px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-top: 8px solid #ffa726;
        border-bottom: 12px solid transparent;
    }

.bubble-text {
    font-size: 11px;
    color: white;
    line-height: 1.4;
    font-weight: 500;
}

.mascot-container .mascot-abs-div .mascot-chicken {
    position: absolute;
    top: 0px;
    right: 20px;
    width: 115px;
    height: 115px;
    object-fit: contain;
}

/* 庫存統計響應式設計 */
@media screen and (max-width: 992px) {
    .mascot-container {
        right: 60px;
    }
}

@media screen and (max-width: 768px) {
    .stock-summary-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        height: auto;
        padding: 16px;
    }

    .stat-item {
        min-width: 140px;
    }

    .today-dropdown {
        border: none;
    }

    .summary-toggle {
        border: none;
    }

    .mascot-container {
        display: none;
    }

    .speech-bubble::after {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .stock-summary-container {
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        height: auto;
        padding: 16px;
    }

    .today-dropdown {
        justify-content: center;
        width: 100%;
        border: none;
    }

    .stat-item {
        width: 45%;
        min-width: auto;
    }

    .mascot-container {
        display: none;
    }
}

/* 
  ==============================================
  輪播 (Carousel)
  ==============================================
*/
.carousel .slide img {
    height: 594px;
    object-fit: cover;
}
/* Form group positioning */
.form-group, .field {
}

/* Formik Error Bubble */
.formik-error-bubble {
    /*transform: translateX(-50%) translateY(-10px);*/
    background-color: #ff4d4f;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875em;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

    .formik-error-bubble::after {
        content: '';
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px;
        border-style: solid;
        border-color: #ff4d4f transparent transparent transparent;
    }


@media (prefers-color-scheme: light) {
    :root {
        color: #213547;
        background-color: #ffffff;
    }

    a:hover {
        color: #747bff;
    }

    button {
        background-color: #f9f9f9;
    }
}

.pagination-btn.active {
    background-color: #efefef;
}

.react-confirm-alert-body {
    width: 550px !important;
    padding:0 !important;
}

.react-confirm-alert-button-group {
    justify-content: center !important;
}

.react-confirm-alert-body button {
    background-color: #5e5d5b !important;
    font-size: 0.95rem !important;
}

.react-confirm-alert-body h1 {
    font-size: 1.5rem;
    padding: 20px;
    background: #FDF3E9;
}

.react-confirm-alert-body .react-confirm-content {
    padding:30px;
}

.react-confirm-alert-body .react-confirm-alert-button-group{
    padding:30px;
}

    /* =========================================
   只有一個按鈕時：套用橘色樣式
========================================= */
    .react-confirm-alert-body .react-confirm-alert-button-group button:only-of-type {
        background: linear-gradient(180deg, #FFBC00 0%, #FF9900 100%);
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 27px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
    }

    /* =========================================
   有兩個按鈕時：第一個 → 灰色
========================================= */
    .react-confirm-alert-body .react-confirm-alert-button-group
    button:first-of-type:nth-last-of-type(2) {
        background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, #999 100%);
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 27px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px #999;
    }

    /* =========================================
   有兩個按鈕時：第二個 → 橘色
========================================= */
    .react-confirm-alert-body .react-confirm-alert-button-group
    button:last-of-type:nth-of-type(2) {
        background: linear-gradient(180deg, #FFBC00 0%, #FF9900 100%);
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 27px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(255, 153, 0, 0.3);
    }

.import-report-container .inventory-table {
    border-collapse: separate; /* 重要！讓圓角與陰影生效 */
    border-spacing: 0;
    background: white;
    box-shadow: 8px 0 12px rgba(0,0,0,0.15); /* 右側陰影 */
}

.import-report-container .inventory-table {
    font-size:14px;
}

.import-report-container .inventory-table thead th {
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight:bold;
}

    .table-header th:first-child {
        border-top-left-radius: 12px;
    }

    .table-header th:last-child {
        border-top-right-radius: 12px;
    }

.import-report-container .inventory-table tr.table-row td{
    border-bottom:1px solid rgba(0,0,0,0.1) !important;
}


.action-dropdown.active .dropdown-menu {
    display: block !important;
}

.react-datepicker-wrapper, .react-datepicker__input-container, .react-datepicker-wrapper button {
    border: 0 !important;
    background: #fff;
    font-size: 24px;
    font-weight: bold;
}

    .react-datepicker-wrapper .dropdown-label {
        display: inline-block;
        margin-right: 2px;
    }

.StockInquiryByImportDay-Date a {
    color: #333;
    font-weight: bold;
    font-size: 14px;
}
/* --- Responsive Grid Form Layout --- */
.responsive-grid-form .form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.responsive-grid-form .form-group {
    width: calc(50% - 10px); /* Two columns with gap */
    margin-bottom: 15px;
}

    .responsive-grid-form .form-group.form-group-double {
        width: 100%; /* Full width for double-sized items */
    }

@media (max-width: 768px) {
    .responsive-grid-form .form-group {
        width: 100%; /* Single column on mobile */
    }
}

.react-confirm-alert-overlay {
    z-index: 1051 !important;
}
/* 出貨單modal */
.shipping-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 1500px;
    font-family: 'Arial', sans-serif;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    /* 新增以下樣式 */ display: flex;
    flex-direction: column;
    max-height: 90vh;
    /* 設定最大高度為視窗的 90% */
}

.shipping-table-container {
    margin-top: 1rem;
    overflow-y: auto;
    /* 關鍵：讓這個區塊在內容超出時產生垂直滾動條 */ flex-grow: 1;
    /* 讓表格區域自動填滿剩餘空間 */
}

.shipping-info-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    /* 调整为四栏，标签宽度自适应，值占据剩余空间 */ gap: 0.5rem 1.5rem;
    /* 调整栏间距 */ padding: 1rem 0;
    border-bottom: 1px solid #ccc;
    align-items: center;
    /*  垂直居中对齐 */
}

    .shipping-info-grid strong {
        font-weight: bold;
        white-space: nowrap;
        /* 确保标签不换行 */
    }

.shipping-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #333;
    padding-bottom: 1rem;
}

.shipping-logo {
    display: flex;
    flex-direction: column;
}

    .shipping-logo img {
        width: 120px;
    }

.shipping-title {
    flex-grow: 1;
    text-align: center;
}

    .shipping-title h2 {
        margin: 0;
        font-size: 1.8rem;
    }

.shipping-page-info {
    text-align: right;
}

.shipping-company-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    /* 控制項目之間的間距 */ /*padding: 8px 15px;*/
    /* 內距 */ /*border: 1px solid #ddd;*/
    /* 淺灰色邊框 */ /*border-radius: 20px;*/
    /* 圓角 */ /*background-color: #f8f9fa;*/
    /* 淺灰色背景 */ /*font-size: 14px;*/
    /* 字體大小 */
}

.home.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    /* 控制項目之間的間距 */ padding: 8px 15px;
    /* 內距 */ border: 1px solid #ddd;
    /* 淺灰色邊框 */ border-radius: 20px;
    /* 圓角 */ background-color: #f8f9fa;
    /* 淺灰色背景 */ font-size: 14px;
    /* 字體大小 */
}

    .user-menu .separator {
        color: #ccc;
        /* 分隔線顏色 */
    }

    .user-menu a,
    .user-menu span {
        color: #333 !important;
        margin-left: 0px !important;
        /* 文字顏色 */ text-decoration: none;
    }

        .user-menu a:hover {
            color: #0056b3;
            /* 滑鼠懸停時的連結顏色 */ text-decoration: underline;
        }

.modal-header {
    background: #EAECEF;
    color: #000;
    font-weight: bold;
}
.modal-footer {
    background: #EAECEF !important;
}
.modal-body {
    padding: 50px;
    background: #F8F9FA;
}
.modal-body .form-group label {
    margin-bottom: 5px;
    color: #928372;
}

.modal-body input, .modal-body textarea {
    height: 56px;
    min-width: 200px;
    width: 100%;
    border-radius: 8px;
    box-shadow: inset 0 1px 10px 0 #ccc;
    background-color: #fff;
    border: none;
    font-size: 20px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #928372;
    padding: 10px;
}