/* Custom CSS for Login Form */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.disabled-button {
    opacity: 0.2;
    border: 0;
    pointer-events: none;
}


.dropdown-menu {
    background-color: #007bff;
}
.dropdown-item {
    color: #fff;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #75c2ff;
    color: #fff;
}


.btn.active {
    background-color: #75c2ff !important;
    color: #eeeeee !important;
    box-shadow: none !important;
}

.container {
    margin-top: 100px;
}

.card-header {
    background-color: #f8f9fa;
    font-weight: bold;
}

.card-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.btn-primary {
    width: 100%;
}
.btn-red {
    background-color: #ff828d;
    width: 100%;
}
.btn-secondary {
    width: 100%;
}
.btn-attach , .btn-remove, .btn-view {
    background-color: #ff6f5e;
    color: #000000;
    padding:0 !important;
}
.btn-confirm {
    background-color: #d8ffe8;
    color: green;;
}
.btn-remove {
    background-color: #ffef95;
    font-size: 0.75em;
}
.btn-view {
    background-color: #85ff77;
    font-size: 0.75em;
}
.btn-download-report {
    background-color: #aefdd9;
    color: #000000;
}

.money {
    text-align: right;
}

.text-not-ok {
    color: #ff828d;
}

.text-ok {
    color: #34ca55;
}
.text-less-ok {
    color: #a8e3b8;
}

.table-danger th {
    background-color: #ff5154;
}

.table-primary th {
    background-color: #9264fd;
    color: white;
}
.table-sales {
    background-color: #5afd95;
}
/* START CAMERA STUFF */
#canvas {
    display: none;
}
div.video, div.photo {
    width: 300px;
    margin: auto;
    text-align: center;
    display:block;
}
#video, #photo {
    width: 300px;
    height: 400px;
}
div.videoText {
    font-size: 0.8em;
    text-align: center;
    margin: auto;
}
/* END CAMERA STUFF */

.receiptsGrid{
    padding: 8px;
    margin: auto;
    text-align: center;
    border: 1px !important;
}
.receiptsGrid small{
    font-size:0.75em;
    display: block;
}
img.receiptImage {
    width: 300px;
    height: 400px;
    border: 1px solid #000;
}
img.receiptImageLarge {
    border: 1px solid #000;
}

.receipt-sm {
    max-width: 250px;
    vertical-align: top;
    margin: auto;
}

.mobileTitle {
    font-weight: bold;
}
.mobileSubTotal, .mobileRates {
    font-size: 0.8em;
}
.mobileAmounts span {
    font-size: 0.6em;
}

.legend {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.legend-color {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.newReceipts .legend-color {
    background-color: #319bc1;
}
.amountsVerified .legend-color {
    background-color: #ffef95;
}
.attachedReceipts .legend-color {
    background-color: #009005;
}

img.newReceipts {
    border: 4px solid #319bc1;
}
img.amountsVerified {
    border: 4px solid #ffef95;
}
img.attachedReceipts {
    border: 4px solid #009005;
}

.ocrFormElement {
    color: #0376ff !important;
}

#ocrLoading td {
    text-align: center;
    font-size: 1.1em;
    color: #0376ff;
    font-style: italic;
}


@media (max-width: 576px) {
    .container {
        margin-top: 50px;
    }
    .card {
        border-radius: 0;
    }
}

@media (max-width: 770px) {
    .row-cols-1.row-cols-md-3 .col {
        max-width: 275px;
    }
}