﻿.receipt {
    width: 280px;
    height: fit-content;
    background-color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: visible;
    padding-bottom: 20px;
    animation: printing 5s infinite .5s;
}


.sales-receipt {
    margin: 0;
    text-align: center;
    padding: 5px 0;
    margin: 0;
    border-bottom: 1.5px dashed black;
    border-top: 1.5px dashed black;
    padding-left: -20px;
}

.receipt-header {
    padding: 0;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-left: 20px;
}

    .receipt-header p {
        margin: 0;
        width: fit-content;
    }

        .receipt-header p:nth-child(1) {
            font-size: 22px;
            font-weight: bold;
        }

        .receipt-header p:nth-child(2),
        .receipt-header p:nth-child(3),
        .receipt-header p:nth-child(4) {
            color: #6d7484;
            font-size: 14px;
        }

.receipt-logo {
    filter: grayscale(1);
    width: 80px;
    height: 80px;
}

.receipt-table {
    width: 100%;
}

.order-items {
    margin-bottom: 20px;
    padding: 0 20px;
    width: 100%;
}

    .order-items th, .order-items td {
        padding: 0;
        text-align: left;
    }

    .order-items th {
        font-weight: bold;
    }

.text-end {
    text-align: right;
}

.order-item {
    display: flex;
    flex-direction: column;
}

.item-sub {
    font-weight: lighter;
    margin: 0;
}

.product-title {
    margin: 0;
}

.receipt-price {
    vertical-align: top;
}

.total-breakdown {
    padding: 10px 20px;
    margin-bottom: 20px;
    border-top: 1.5px dashed black;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
}

    .receipt-total p {
        margin: 0;
        width: 100%;
    }

    .receipt-total:nth-child(2) {
        border-bottom: 1.3px dashed black;
        padding-bottom: 10px;
    }

    .receipt-total:nth-child(3) p {
        font-weight: bold;
        font-size: 17px;
        padding-top: 5px;
    }

.price {
    text-align: right;
    font-weight: bold;
}

.receipt-footer {
    padding: 0;
    text-align: center;
    font-size: 13px;
    color: #6d7484;
    margin-top: 20px;
    padding-left: -20px;
}

    .receipt-footer p {
        margin: 0;
    }

.edit-btn {
    font-family: 'Poppins' !important;
    background: #27E485 !important;
    color: #FBFFFD !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: .3s ease;
}

    .edit-btn:hover {
        background: #1FB469 !important;
        color: #FBFFFD !important;
    }

.enable-btn {
    font-family: 'Poppins' !important;
    background: #5AC0FF !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: .3s ease;
    color: #FBFFFD !important;
}

    .enable-btn:hover {
        background: #4098CE !important;
    }

.disable-btn {
    font-family: 'Poppins' !important;
    background: #FF5F5F !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: .3s ease;
    color: #FBFFFD !important;
    position: sticky !important;
    bottom: 10px !important;
    left: 100px;
}

    .disable-btn:hover {
        background: #C44141 !important;
    }
