/* Minification failed. Returning unminified contents.
(73,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
(97,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
(512,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
(546,11): run-time error CSS1035: Expected colon, found '['
 */
.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table:last-of-type {
    margin-bottom: 0;
}

    .table .header, .table .row {
        display: flex;
        flex-direction: row;
        border-bottom: 1px solid #ebebeb;
        text-decoration: none;
        color: black;
    }

    .table .header {
        font-weight: 400;
        background: #fcfcfc;
    }

        .table .header .column {
            font-size: 11pt;
            font-weight: 700;
        }

        .table .header .highlight {
            font-size: 13pt;
            font-weight: 700;
            color: #000000;
        }

    .table a.row:hover {
        background: #e02222;
    }

    .table a.row:hover .column {
        color: white;
    }

    .table a.row:hover .delivery-information {
        color: white;
    }

    .table a.row:hover .delivery-information-button {
        background: transparent url("/Plugins/FlexView/Images/Svg/ArrowDownWhiteSolid.svg") center center no-repeat;
    }

    .table a.row:hover .delivery-information-button-clicked {
        background: transparent url("/Plugins/FlexView/Images/Svg/ArrowUpWhiteSolid.svg") center center no-repeat;
    }

    .table .column {
        display: table-cell;
        padding: 8px;

        font-size: 10pt;
    }

        .table .row .highlight {
            color: #e02222;
        }



    .modal-branches .branches .table .header, .table .row {
        display: block;
    }
.flex-product-detail .flex-product-actions {
    & .flex-purchase-objection {

        & .flex-purchase-objection-activator {
            display: flex;
            gap: .5rem;
            cursor: pointer;
            align-items: center;
        }
    }
}

.purchase-objection-container {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100dvh;
    top: 0px;
    left: 0px;
    z-index: 99998;
    background-color: rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items: center;
    grid-template-columns: minmax(320px, 500px);

    &.displayed {
        display: grid;
    }

    & .purchase-objection-dialog {
        background: white;
        border-radius: 1rem;
        box-shadow: 0 0 8px 0 lightgray;
        max-height: calc(100dvh - 0.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;

        & .header {
            display: flex;
            gap: 1rem;
            border-bottom: 1px solid #F6F7F9;
            padding: 2rem;

            & h1 {
                width: auto;
                font-size: 1.2rem;
                white-space: normal;
                padding: 0;
                line-height: normal;
            }

            & .label {
                font-size: .75rem;
                font-weight: 600;
            }

            & .close i {
                font-size: 1.2rem;
                cursor: pointer;
            }
        }

        & .content {
            padding: 1rem 2rem 2rem 2rem;
            display: grid;
            gap: 1rem;
            width: auto;

            & .product-pill {
                display: grid;
                grid-template-columns: 4rem 1fr;
                background: #EFF4FF;
                border: 1px solid #E9EFF7;
                border-radius: .5rem;
                padding: 1rem;
                align-items: center;
                column-gap: 1rem;

                & .image {
                    background: #F3F3F3;

                    & img {
                        border-radius: .5rem;
                        width: 100%;
                        height: 3rem;
                        object-fit: contain;
                    }
                }

                & .code {
                    color: gray;
                    font-weight: 600;
                    font-size: .8rem;
                }
            }

            & .error-message {
                padding: 1rem;
                text-align: center;
                font-weight: 600;
                color: #ca1f1f;
            }

            & .ownership {
                display: none;
                gap: .75rem;

                &.displayed {
                    display: grid;
                }

                & .ownership-message {
                    font-size: .8rem;
                    font-weight: 600;
                    color: #1F2A37;

                    &.invalid {
                        color: #ca1f1f;
                    }

                    &.verified {
                        color: #1B8A4B;
                    }
                }

                & .code-item {
                    display: none;
                    gap: .25rem;

                    & label {
                        font-weight: 600;
                        font-size: .8rem;
                    }

                    & .code-row {
                        display: flex;
                        align-items: center;
                        gap: .5rem;

                        & .form-item {
                            flex: 0 0 auto;
                            width: 8rem;
                        }

                        & .code-input {
                            text-transform: uppercase;
                            letter-spacing: .3rem;
                            font-weight: 600;
                        }

                        & .verification-state {
                            flex: 0 0 auto;
                            width: 1.5rem;
                            height: 1.5rem;

                            &.verified::before,
                            &.invalid::before {
                                content: "";
                                display: block;
                                width: 100%;
                                height: 100%;
                                background-repeat: no-repeat;
                                background-position: center;
                                background-size: contain;
                            }

                            &.verified::before {
                                background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231B8A4B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 4.5'/%3E%3C/svg%3E");
                            }

                            &.invalid::before {
                                background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23CA1F1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E");
                            }
                        }
                    }
                }

                &.code-visible .code-item {
                    display: grid;
                }

                & .send-code,
                & .verify-code {
                    font: inherit;
                    font-size: .85rem;
                    font-weight: 600;
                    line-height: 1;
                    cursor: pointer;
                    border-radius: .375rem;
                    padding: .7rem 1.25rem;
                    -webkit-appearance: none;
                    -moz-appearance: none;
                    appearance: none;
                    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;

                    &:focus-visible {
                        outline: none;
                        box-shadow: 0 0 0 3px rgba(34, 91, 212, .25);
                    }

                    &:disabled {
                        color: #8A94A6;
                        background: #E4E7EC;
                        border-color: #D0D5DD;
                        cursor: not-allowed;
                    }
                }

                & .send-code-row {
                    display: flex;
                    align-items: center;
                    gap: .5rem;
                    justify-self: start;
                }

                & .send-code {
                    color: #1E7FD6;
                    background: #fff;
                    border: 1px solid #1E7FD6;

                    &:hover:not(:disabled) {
                        background: #EFF4FF;
                    }
                }

                & .verify-code {
                    flex: 0 0 auto;
                    color: #fff;
                    background: #1E7FD6;
                    border: 1px solid #1E7FD6;

                    &:hover:not(:disabled) {
                        background: #1668B4;
                        border-color: #1668B4;
                    }
                }
            }

            & .form-item {
                display: grid;

                & label {
                    font-weight: 600;
                    font-size: .8rem;
                }

                & select,
                & textarea,
                & input {
                    width: 100%;
                    box-sizing: border-box;
                    font: inherit;
                    font-size: .8rem;
                    color: #1F2A37;
                    background-color: #fff;
                    border: 1px solid #D5DBE5;
                    border-radius: .5rem;
                    padding: .5rem .5rem;
                    outline: none;
                    transition: border-color .15s ease, box-shadow .15s ease;
                    resize: none;
                }

                & select {
                    height: auto;
                    cursor: pointer;
                    padding-right: 2.5rem;
                    -webkit-appearance: none;
                    -moz-appearance: none;
                    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' fill='none' stroke='%23225BD4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
                    background-repeat: no-repeat;
                    background-position: right 1rem center;
                    background-size: 1rem;
                }

                & select:focus,
                & textarea:focus,
                & input:focus {
                    border-color: #225BD4;
                    box-shadow: 0 0 0 3px rgba(34, 91, 212, .15);
                }

                & textarea {
                    resize: vertical;
                    min-height: 6rem;
                }

                & ::placeholder {
                    color: #98A2B3;
                }

                & .objection-options {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    gap: .5rem;
                    margin-top: .5rem;

                    & .objection-option {
                        position: relative;
                        display: flex;
                        cursor: pointer;
                        font-weight: 600;

                        & input[type="radio"] {
                            position: absolute;
                            opacity: 0;
                            width: 0;
                            height: 0;
                            padding: 0;
                            border: 0;
                            pointer-events: none;
                        }

                        & span {
                            position: relative;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 100%;
                            box-sizing: border-box;
                            padding: .75rem 2.25rem;
                            font-size: .8rem;
                            line-height: 1.2;
                            min-height: 3rem;
                            text-wrap: balance;
                            color: #1F2A37;
                            background: #fff;
                            border: 1px solid #D5DBE5;
                            border-radius: .5rem;
                            text-align: center;
                            transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
                        }

                        &:hover span {
                            border-color: #225BD4;
                        }

                        & input[type="radio"]:checked + span {
                            background: #EFF4FF;
                            border: 2px solid #225BD4;
                            padding: calc(.75rem - 1px) calc(2.25rem - 1px);
                            color: #1F2A37;
                        }

                        & input[type="radio"]:checked + span::before {
                            content: "";
                            position: absolute;
                            left: 1rem;
                            top: 50%;
                            width: 1.1rem;
                            height: 1.1rem;
                            transform: translateY(-50%);
                            border-radius: 50%;
                            background-color: #225BD4;
                            background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l3 3 5-6'/%3E%3C/svg%3E");
                            background-repeat: no-repeat;
                            background-position: center;
                            background-size: .8rem;
                        }

                        & input[type="radio"]:focus-visible + span {
                            box-shadow: 0 0 0 3px rgba(34, 91, 212, .25);
                        }
                    }
                }
            }
        }
    }

    & .footer {
        display: flex;
        padding: 1.5rem;
        background: #EFF4FF;
        justify-content: end;
        align-items: center;
        gap: 1rem;

        & input[type="button"] {
            font: inherit;
            font-size: .85rem;
            font-weight: 600;
            line-height: 1;
            cursor: pointer;
            border-radius: .375rem;
            padding: .7rem 1.25rem;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
        }

        & .cancel {
            background: transparent;
            border: 1px solid transparent;
            color: #4B5D78;
        }

        & .cancel:hover {
            background: #E1E9FA;
            color: #225BD4;
        }

        & .send {
            background: #1E7FD6;
            border: 1px solid #1E7FD6;
            color: #fff;
        }

        & .send:hover:not(:disabled) {
            background: #1668B4;
            border-color: #1668B4;
        }

        & input[type="button"]:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(34, 91, 212, .25);
        }

        & input[type="button"]:disabled {
            color: #8A94A6;
            background: #E4E7EC;
            border-color: #D0D5DD;
            cursor: not-allowed;
        }
    }

    & .request-progress {
        flex: 0 0 auto;
        width: 2rem;
        height: 2rem;

        & .flex-loading-overlay {
            background: transparent;
        }
    }
}

@media only screen and (max-width: 989px) {
    .purchase-objection-container {
        & .purchase-objection-dialog {
            & .header {
                padding-bottom: .5rem;

                & h1 {
                    margin: 0;
                }
            }

            & .content {
                padding-bottom: 0;

                & .error-message {
                    padding: 0;
                }
            }
        }

        & .footer {
            padding-top: .5rem;
            padding-bottom: .5rem;
        }
    }
}

.pagination-container {
    display: flex;
    justify-content: left;
    align-items: center;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    gap: 5px;

    button[disabled] {
        cursor: default;
        color: #a8a8a8;
    }

    button {
        all: unset;
        cursor: pointer;
    }
    button.previous::before {
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
        content: "\f060";
    }
    button.next::before {
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
        content: "\f061";
    }
}
