﻿/* 外層容器 */
.modal-dialog.popstyle.pop_big .databox-custom {
    border-top: 0px dashed #ccc;
    padding-left: 0px;
    margin: 30px 0px 15px 0px;
}

/* 標題樣式 */
.modal-dialog.popstyle.pop_big .modal-title-custom {
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 7px;
    margin-bottom: 5px;
    border-bottom: 1px solid; /* 原始代碼中未指定顏色，建議補上顏色，例如 #ccc */
}

/* 主表格樣式 */
.modal-dialog.popstyle.pop_big .price-table {
    font-size: 16px;
    width: 100%;
    text-align: center;
    margin: 15px 0px;
    border-color: #d4d4d4;
    background-color: #ffffff;
}

/* 表格欄位通用樣式 */
.modal-dialog.popstyle.pop_big .price-cell {
    width: 50%;
    padding: 4px 8px;
}

    .modal-dialog.popstyle.pop_big .price-cell.center {
        text-align: center;
    }

/* 內部巢狀表格樣式 */
.modal-dialog.popstyle.pop_big .inner-price-table {
    width: 100%;
    text-align: center;
}

.modal-dialog.popstyle.pop_big .inner-price-row {
    text-align: center;
}

/* 價格標籤 (靠右) */
.modal-dialog.popstyle.pop_big .price-label {
    text-align: right;
    padding-right: .5rem;
}

/* 價格數值 (靠左) */
.modal-dialog.popstyle.pop_big .price-value {
    text-align: left;
}

/* 底部備註文字 */
.modal-dialog.popstyle.pop_big .footer-note {
    display: block;
    font-size: 15px;
    line-height: 16px;
    color: #000000;
}

@media screen and (max-width:768px) and (min-width:300px) {
    .modal-dialog.popstyle.pop_big .price-table tr {
        display: flex
    }

    .modal-dialog.popstyle.pop_big .price-cell {
        text-align: center !important;
        display: block;
    }

    .modal-dialog.popstyle.pop_big .price-cell:before {
        display: none;
    }
}

.all-floatbox {
    max-height: max-content;
    min-height: auto;
}

/*RWD1-AI閃動按鈕*/
    .btn-shine {
    color: #ffffff !important;
    overflow: hidden;
    transition: all .1s ease-in-out !important;
}

    .btn-shine::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255,255,255,.8), transparent );
        transform: skewX(-20deg);
        animation: shineMove 1.5s infinite;
    }

@keyframes shineMove {
    0% {
        left: -140%;
    }

    100% {
        left: 140%;
    }
}
.fade.in {
    background-color: #00000080 !important;
}

/*RWD1-AI閃動按鈕-圓角*/
.swrapper .scroller li, .swrapper2 .scroller li, .ind_stab.nav-tabs li.active a, .btn-shine {
    border-radius: 12px 12px 0px 0px !important;
}

.ind_stab.nav-tabs li.active #btn-shine {
    background-color: #ff5e7000 !important;
}

/*AI關鍵字*/
#aitagBox {
    display: flex;
    flex-wrap: wrap;
}

#aitagBox label:first-of-type {
    width: 100%;
    min-width: 60px!important;
}

.aitag-input-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border: 0px solid #ddd;
    border-radius: 5px;
    padding: 0px;
    min-height: 40px;
    cursor: text;
}

    .aitag-input-box input {
        border: none;
        outline: none;
        flex: 1;
        font-size: 18px;
        min-width: 120px;
    }

.aitag-chip {
    float: left;
    display: flex !important;
    align-items: center;
    gap: 5px;
    background: #9c9c9c !important;
    color: #ffffff;
    padding: 1px 5px !important;
    margin-left: 4px;
    margin-top: 2px;
    margin-bottom: 0px;
    border-radius: 5px;
    font-size: 18px;
    max-height: 30px;
    width: fit-content;
}

    .aitag-chip button {
        border: none;
        background: #ffffff30;
        color: #ffffff;
        font-size: 14px;
        padding: 0px 4px;
        height: 18px;
        line-height: 18px;
        cursor: pointer;
        font-weight: 700;
        border-radius: 50px;
    }

#keywordAll {
    width: auto !important;
}

#AISearchOption > li {
    max-width: 120px;
    background-color: #000000;
    padding: 0px !important;
    cursor: pointer;
    text-align:center;
}

#AISearchOption > li > span {
    float: none;
}

#AISearchOption i {
    margin-right: 8px;    
}

#pop_AISearchOption .modal-dialog {
    max-width: 460px;
}

#pop_AISearchOption .modal-title {
    font-size: 2.0rem;
    line-height: 2.6rem;
}

#pop_AISearchOption .modal-body {
    margin: 0px !important;
}

#pop_AISearchOption .modal-body .left-filter {
    width: 90%;
    padding: 0px 10px !important;
    margin: 0 auto;
    overflow-y: auto;
}

@media screen and (max-width:780px) and (min-width:280px) {
    .search_block .row > div select, .search_block .row > div input {
        font-size: 14px !important;
    }

    #aitagBox {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .aitag-chip {
        font-size: 14px;
        padding:6px 3px !important;
        letter-spacing: 0px !important;
        margin-right: 3px !important;
    }

        .aitag-chip button {
            font-size: 13px;
        }

    #AISearchOption {
        max-width: 50px;
    }

        #AISearchOption > li span {
            display: none;
        }

        #AISearchOption i {
            font-size: 18px;
            margin-right: 0px;
        }

    #pop_AISearchOption .modal-dialog {
        width: 80%;
        margin: 0 auto;
        max-width: 460px;
    }
}