﻿/* 比較機型的 Panel 樣式*/
.modelPanel {
    display: none;
    background-color: transparent;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
}

    .modelPanel > div {
        padding: 0.7rem 2rem;
        width: 100%;
        max-width: 1000px;
        background-color: white;
        box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        position: relative;
    }

    .modelPanel .modelArea {
        display: flex;
        justify-content: start;
        gap: 5rem;
    }

    .modelPanel .panelCard {
        position: relative;
    }

        .modelPanel .panelCard .check {
            position: absolute;
            top: 0.5rem;
            right: -2rem;
            color: white;
            background-color: #66CDAA;
            padding: 4px;
            border-radius: 5px;
            cursor: pointer;
        }

        .modelPanel .panelCard .card-image {
            padding-top: 2rem;
            display: flex;
            justify-content: center;
        }

            .modelPanel .panelCard .card-image img {
                object-fit: contain;
                aspect-ratio: 1.38 / 1;
                height: 120px;
            }

        .modelPanel .panelCard .card-content {
            padding-top: 0.5rem;
            text-align: center;
            font-weight: bold;
        }

    .modelPanel .optionArea {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
    }

        .modelPanel .optionArea .btn-goto {
            --link-blue: #66CDAA !important;
            --middle-blue: #3CB371 !important;
            word-break: keep-all;
            white-space: nowrap;
        }

        .modelPanel .optionArea .btn-clean {
            --link-blue: var(--middle-gray) !important;
            --middle-blue: var(--middle-gray) !important;
            word-break: keep-all;
            white-space: nowrap;
        }

    .modelPanel .switch {
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        padding: 10px;
    }

    .modelPanel .fa-arrow-up.switch {
        display: none;
    }

    .modelPanel.minimize .modelArea .card-image {
        display: none;
    }

    .modelPanel.minimize .optionArea {
        flex-direction: row;
    }

    .modelPanel.minimize .fa-arrow-up.switch {
        display: block;
    }

    .modelPanel.minimize .fa-arrow-down.switch {
        display: none;
    }


@media (max-width: 767px) {
    .btn.compOptions {
        display: none !important;
    }

    .modelPanel {
        display: none !important;
    }
}
