#receipt-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #494949;
}

#receipt-container .top-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
}

#receipt-container input[name="receiptNumber"] {
    width: 100%;
    margin-right: 0.8rem;
    border: 2px solid #809cab;
    background-color: #eee;
    border-radius: 3px;
    font-size: 1.4rem;
    padding: 0.3em;
}

#receipt-container .import-xml-btn {
    display: block;
    background-color: #809cab;
    color: #fff;
    font-size: 1.4rem;
    padding: 0.3em;
    border-radius: 3px;
    text-align: center;
    flex-shrink: 0;
}

#receipt-container .import-xml-btn input {
    display: none;
}

#receipt-container .products-list-container {
    flex-grow: 1;
    overflow: auto;
    border: solid #d9d9d9;
    border-width: 2px 0;
}

#receipt-container .products-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

#receipt-container .products-table th {
    text-align: center;
    font-size: 1rem;
    color: #809cab;
    padding: 0.5em;
    background-color: #eee;
    border-bottom: 2px solid #d9d9d9;
    position: sticky;
    top: 0;
    z-index: 100;
}

#receipt-container .products-table th.reference {
    width: 22%;
}

#receipt-container .products-table th.brand {
    width: 20%;
}

#receipt-container .products-table th.variant {
    width: 24%;
}

#receipt-container .products-table th.size {
    width: 12%;
}

#receipt-container .products-table th.quantity {
    width: 12%;
}

#receipt-container .products-table th.action {
    width: 10%;
}

#receipt-container .products-table td {
    text-align: center;
    border-bottom: 2px solid #d9d9d9;
    font-size: 1rem;
    padding: 1em 0.2em;
}

#receipt-container .products-table tr:last-child td {
    border: none;
}

#receipt-container .products-table input {
    border: 1px solid #809cab;
    background-color: #eee;
    border-radius: 3px;
    padding: 0 0.4em;
    height: 2.4em;
    width: 100%;
}

#receipt-container .products-table select {
    border: 1px solid #809cab;
    background-color: #eee;
    border-radius: 3px;
    padding: 0;
    height: 2.4em;
    width: 100%;
}

#receipt-container .products-table [disabled] {
    opacity: .5;
}

#receipt-container .remove-product-btn {
    border: none;
    background-color: transparent;
    color: #809cab;
    padding: 0;
    width: 100%;
    font-size: 1.4rem;
    vertical-align: middle;
}

#receipt-container .add-product-btn {
    border: none;
    border-radius: 3px;
    background-color: #809cab;
    color: #fff;
    font-size: 2em;
    padding: 0.1em 1em;
}

#receipt-container .bottom-section {
    padding: .8rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#receipt-container .bottom-section button {
    padding: 0.3em;
    min-width: 40%;
    font-size: 1.6rem;
    background-color: #809cab;
    color: #fff;
    border: none;
    border-radius: 3px;
    align-self: center;
}

#receipt-container tr.warn td {
    background-color: #ffd5d5 !important;
}

#receipt-container input.warn,
#receipt-container select.warn {
    background-color: #fff5f5 !important;
    border-color: #f13636 !important;
}