@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#body_swiper {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

@media (min-width: 601px) {
    #body_swiper {
        height: 450px;
    }
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: unset;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#body_swiper {
    background: unset;
    color: #000;
}

.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
}

.mySwiper2 {
    height: 80%;
    width: 100%;
}

.mySwiper {
    height: 30%;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: #194185;
}

.products {
    h1 {
        margin: 0px;
        color: #1D2939;
        font-size: 18px;
        font-weight: 400;
        margin-top: 10px;
        word-wrap: break-word;
    }

    .status {
        height: 24px;
        margin: 0px;
        display: flex;
        gap: 5px;

        i {
            margin-left: auto;
            cursor: pointer;
        }
    }

    .status-time-product {
        font-size: 12px;
        background-color: #DC6803;
        color: white;
        margin-left: 0px;
        border-radius: 5px;
        padding: 3px 10px;
    }

    .status-blue {
        cursor: pointer;
        color: #1570EF;
        border: 1px solid #1570EF;
        padding: 2px 8px;
        font-weight: 400;
        font-size: 12px;
        border-radius: 20px;
    }

    .control-text {
        .col.s6 {
            height: 45px;
        }
    }


    .text-sub {
        color: #475467;
        font-size: 12px;
        font-weight: 300;
        margin: 0px;
    }

    .text-main {
        color: #1D2939;
        font-size: 16px !important;
        font-weight: 300;
        margin: 0px;
    }

    .showbtn_bidder {
        display: none;

        .displayNoQuali {
            padding: 5px 10px;
            border: 1px solid #FEC84B;
            background: #FFFAEB;
            margin-bottom: 0.5rem;

            .box-1 {
                display: block;
                font-size: 12px;
                color: #FDB022;
            }

            .box-1 {
                display: block;
                font-size: 14px;
                color: #DC6803;
            }
        }
    }

    .showbtn_bidder>.col.s12>.btn.waves-effect {
        background-color: #194185;
        color: white;
        width: 100%;
    }

    .activeColor {
        background: #194185;
        color: white;
    }

    .activeBorder {
        border: 2px solid #1570EF;
        color: #1570EF;
    }


    h2 {
        color: #1D2939;
        font-size: 24px;
        font-weight: 400;
        margin: 10px 0px;
    }

    .tabs .indicator {
        background-color: #1570EF;
    }

    #detail {
        .text-p {
            color: #475467;
            font-size: 16px;
            font-weight: 300;
        }

        .bodyfile {
            display: flex;
            gap: 10px;
        }

        .headfile {
            color: #475467;
            font-size: 12px;
            font-weight: 300;
        }

        .dowloadfile {
            border-radius: 20px;
            border: 1px solid #D0D5DD;
            color: #1D2939;
            font-size: 16px;
            max-width: 10ch;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

        }
    }

    .row {
        .box-btn {
            display: flex;
            gap: 10px;

            button {
                display: flex;
                gap: 10px;
                flex-wrap: nowrap;
            }
        }
    }

    .bidder-btn {
        display: flex;
        align-items: center;
        /* จัดให้อยู่กลางแนวตั้ง */
    }

    .bidder-btn .btn {
        display: flex;
        align-items: center;
        /* จัดให้อยู่กลางแนวตั้ง */
        justify-content: center;
        /* จัดให้อยู่กลางแนวนอน */
        margin: 0 5px;
        /* กำหนดระยะห่างระหว่างปุ่ม */
    }

    .bidder-btn .btn:nth-child(1) {
        width: auto;
        /* ปุ่มแรก */
    }

    .bidder-btn .btn:nth-child(2) {
        width: 20%;
        /* ปุ่มที่สอง */
        box-shadow: unset;
    }

    .bidder-btn .btn:nth-child(3) {
        width: auto;
        /* ปุ่มที่สาม */
    }

    .bidder-btn .btn:nth-child(4) {
        width: 60%;
        /* ปุ่มที่สี่ */
        cursor: pointer;
    }

    #history_bidders {
        padding: 1rem;

        .header {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #d0d5dd;
            padding-bottom: 0px;
        }

        p {
            color: #475467;
            font-size: 14px;
            font-weight: 400;
        }
    }

    .proxybid {
        display: flex;
        gap: 10px;
        margin-top: 1rem;
        align-items: center;

        span {
            color: #1570EF
        }
    }


    #detailbidder {
        .body {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #d0d5dd;
            align-items: center;

            p {
                color: #1D2939;
                font-size: 16px;
                font-weight: 300;

                span {
                    color: #98A2B3;
                    font-size: 16px;
                    font-weight: 300;
                }
            }
        }
    }

    #chatbider {
        padding: 1rem;

        .chat-container {
            margin: auto;
            background: #fff;
            padding: 10px;
            display: flex;
            flex-direction: column;
            height: 500px;
        }

        .messages {
            flex: 1;
            overflow-y: auto;
            padding-bottom: 10px;
            overflow-x: hidden;
        }

        .message {
            display: flex;
            margin-bottom: 15px;
            position: relative;
        }

        .incoming {
            justify-content: flex-start;
        }

        .outgoing {
            justify-content: flex-end;
        }

        .bubble {
            padding: 10px 15px;
            border-radius: 15px;
            position: relative;
            animation: fadeInUp 0.5s ease forwards;
        }

        .incoming .bubble {
            background-color: #f1f1f1;
            color: #1D2939;
            font-weight: 400;
            font-size: 16px;
            margin-bottom: 5px;
            float: left;
        }

        .outgoing .bubble {
            background-color: #CCFBEF;
            color: #1D2939;
            font-weight: 400;
            font-size: 16px;
            float: right;
        }

        .timestamp {
            /* font-size: 0.75em;
            color: #888; */
        }

        .input-area {
            display: flex;
            border-top: 2px solid #a9a9a938;
            padding-top: 10px;
            align-items: center;
        }

        .input-area input {
            flex: 1;
            padding: 10px;
            border: 1px solid #D0D5DD;
            border-radius: 5px;
            margin: 0;
            margin-right: 5px;
            height: unset;
        }

        .input-area button {
            padding: 10px 15px;
            background-color: #194185;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .sender-info {
            font-size: 0.85em;
            color: #555;
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
            gap: 15px;
        }
    }


}