.icon-payment-type {
    background-image: $icon-payment-type;
    height: 35px;
    width: 35px;
    background-size: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    margin: 5px;
    margin-right: 10px;
}

.icon-payment-type-cash {
    background-image: $icon-payment-type-cash;
    height: 35px;
    width: 35px;
    background-size: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    margin: 5px;
    margin-right: 10px;
}

.icon-payment-type-card {
    background-image: $icon-payment-type-card;
    height: 35px;
    width: 35px;
    background-size: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
    margin: 5px;
    margin-right: 10px;
}

.image-payment-type {
    height: 35px;
    margin: 5px;
    margin-right: 10px;
}

#paymentModal {
    .payment-methods-modal-content {
        display: flex;
        flex-direction: column;
        height: 100%;

        .payment-methods-modal-list {
            overflow: auto;
            border-bottom: 1px solid $table-border-color;
            margin-bottom: 15px;
        }

        .payment-method-table {
            width: 100%;

            tr {
                border-top: 1px solid $table-border-color;

                &:nth-child(odd) {
                    background-color: $table-odd-row-background-color;
                }

                &:nth-child(even) {
                    background-color: $table-even-row-background-color;
                }

                &:hover {
                    background-color: $table-hover-row-background-color;
                }

                &.row-highlight {
                    background-color: $table-selected-row-background-color;
                }

                td {
                    &:first-child {
                        cursor: default;
                    }

                    input, input:focus {
                        text-align: right;
                        border: 0;
                        border-bottom: 0 !important;
                        background-color: transparent;
                    }

                    .input-group > .input-group-addon {
                        background-color: transparent;
                        border-bottom: none;
                    }
                }
            }
        }

        .payment-methods-modal-sums {
            width: 100%;

            td {
                width: 50%;
                vertical-align: top;

                input {
                    text-align: right;
                }
            }

            h2 {
                margin: 0;
                color: $accent-color;
                font-weight: 500;
                font-size: 24px;
                margin-right: 5px;
            }

            .payment-methods-modal-paid-totals {
                border-spacing: 0 3px;
                border-collapse: separate;

                tr {
                    td {
                        vertical-align: middle;

                        &:first-child {
                            width: 40%;
                        }

                        &:last-child {
                            width: 60%;
                        }
                    }
                }

                .payment-methods-modal-totals-container {
                    background-color: $input-disabled-background-color;
                    padding: 5px;

                    &.highlighted-input {
                        background-color: $accent-color;
                        color: $default-header-field;
                    }

                    .payment-methods-modal-totals-label {
                        text-align: right;

                        .payment-methods-modal-totals-label-currency {
                            display: none;
                        }

                        &.payment-methods-modal-totals-label-parallel {
                            & > span {
                                font-weight: 700;
                            }

                            & > .payment-methods-modal-totals-label-value {
                                font-size: 18px;
                            }

                            & > .payment-methods-modal-totals-label-currency {
                                display: inline-block;
                            }
                        }
                    }
                }
            }
        }
    }
}
