@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

body{
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
}
.d-grid .btn{
    width:100%;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5); /* semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* ensures the loading div appears on top of other elements */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3; /* light gray border */
    border-top: 4px solid #3498db; /* blue border for the spinning effect */
    border-radius: 50%;
    animation: spin 1s infinite linear; /* animation properties */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.navbar-brand{
    padding: 0;
}

.store-name{
    margin-left: 5px;
    display: inline-block;
    font-size: smaller;
}
.store-description{
    display:block;
    font-size: xx-small;
}
.navbar-nav{
    margin-top:20px;
}
li.nav-item i{
    padding-left:5px;
    padding-right:5px;
    font-size:0.8rem;
}
li.nav-item{
    text-align: left;
}
.cover img{
    width:fit-content;
}
.logo{
    width: 80px;
    height: 80px;
    border-radius: 25%;
}
.event-datetime{
    text-align:right;
    font-size:12px;
    font-weight: 100;
    color: var(--success);
}
.ticket-row{
    padding: 15px 0px;
    border-bottom: 1px solid #ccc;
}
.ticket-sold, .buyBtn, .soldOutBtn
{
    font-size:smaller;
}
.ticket-description{
    font-size: x-small;
    padding-top: 5px;
}
.text-right{
    text-align: right;
}
.cartTotal{
    font-weight: bold;
    font-size: 1.25rem;
}
.customer-label, .payment-label{
    display: inline-block;
    width: 120px;
    padding-right: 5px;
    font-weight: bold;
}
#copy{
    margin-left: 5px;
    font-size: 10px;
}
#slip_preview{
    max-width: 90vw;
}
.ticket{
    width:100%;
    /* min-height: 100px; */
    margin-top: 5px;
    padding-left: 5px;
    padding-right:0px !important;
    box-shadow: 1px 2px 5px var(--dark);
    border-radius: 5px;
	border-left:var(--info) 3px solid;

}
/* .showQR{
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.showQR i{
    margin-right:5px;
} */
.ticket-status-valid{
    border-left:var(--success) 3px solid;
}
.ticket-status-activated{
    border-left:var(--danger) 3px solid;
}
.order-status-label{
    color: white;
    padding: 3px 10px;
    font-size: xx-small;
    border-radius: 20px;
}
.order-text-pending{
    background-color:var(--secondary);
}
.order-text-paid{
    background-color:var(--primary);
}
.order-text-confirmed{
    background-color:var(--success);
}
.order-text-canceled_by_shop, 
.order-text-canceled_by_customer{
    background-color:var(--danger);
}
.order-text-expired{
    background-color:var(--dark);
}
.removeItem{
    width: 20px;
    font-size: xx-small;

    padding: 2px;
}