@import "variables";

vn-ticket-sale {
    .header {
        justify-content: space-between !important;
        align-items: center;
    }
    vn-table {
        img {
            border-radius: 50%;
            width: 50px;
            height: 50px;
        }
    }
    .taxes {
        max-width: 160px;
        border: $border-thin-light;
        text-align: right;
        padding: 8px !important;

        & > p {
            font-size: 1.2rem;
            margin: 3px;
        }
    }

    vn-dialog.edit {
        @extend .edit-popover;
    
        &>div{
            padding: 0!important;
        }
        .vn-textfield {
            width: 100%;
        }
        .buttons{
            margin-top: 0!important;
        }
        p {
            display: none;
        }
        button.close > vn-icon{
            color: white!important;
        }
        vn-ticket-sale-edit-discount > div {
            padding-bottom: 0!important;
        }
    }
    vn-dialog.ticket-create {
        vn-button[label=Cancel] {
            display: none;
        }
        vn-card.vn-ticket-create {
            padding: 0!important;
        }
    }
    vn-autocomplete {
        min-width: 150px
    }
}
.vn-popover .transfer {
    .vn-textfield {
        margin: 0
    }
    vn-horizontal {
        & > vn-one:nth-child(1) {
            border-right: 1px solid $color-bg;
            padding-right: 16px;
        }

        & > vn-one:nth-child(2) {
            margin-left: 16px
        }
    }
    vn-table, table {
        margin-bottom: 10px;
    }
    vn-table {
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 400px;
        width: 480px;
    }
    .destinationTable {
        width: 700px
    }
}
.vn-popover .edit-popover {
    min-width: 200px;
    text-align: center;

    section.header {
        background-color: $color-main;
        color: $color-font-dark;
        text-align: center;

        h5 {
            color: inherit;
            margin: 0 auto;
        }
    }
    
    p.simulatorTitle {
        margin-bottom: 0;
        font-size:  .75rem;
        color: $color-main;
    }
    vn-label-value {
        padding-bottom: 20px;
    }
    div.simulator {
        text-align: center;
    }
}