* {
    font-family: "Open Sans", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: rgb(86, 100, 112);
}

body,
html {
    height: 100%;
    overflow: hidden;
    background-color: #f1f1f1 !important;
}

#root {
    height: 100%;
    overflow: auto;
}

.cursor-pointer {
    cursor: pointer;
}

form {
    padding: 0;
    margin: 0;
}

input,
select,
textarea {
    font-weight: 500 !important;
}

button {
    font-weight: 500 !important;
}

.custom-loader-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.70;
    filter: alpha(opacity=60);
    background-color: #000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8000;
}

.custom-loader {
    position: fixed;
    top: 40%;
    left: 50%;
    margin-left: -32px;
    margin-top: -32px;
    background-color: #fff;
    width: 64px;
    height: 64px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    z-index: 8001;
    overflow: auto;
}

.wrapper-shadow {
    position: fixed;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    transition: all .5s;
}

.wrapper-shadow-scroll {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    overflow: auto;
}

.wrapper-sidebar {
    padding-top: 15px;
    position: fixed;
    z-index: 21;
    background-color: #fff;
    border-left: 1px solid #ccc;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all .5s;
    overflow: auto;
}

.wrapper-modal {
    position: absolute;
    z-index: 10;
    background-color: #fff;
    border-left: 1px solid #ccc;
    right: 0;
    top: 10%;
    left: 50%;
    transition: all .5s;
}

.btn-primary i,
.btn-danger i,
.btn-secondary i {
    color: #fff;
}

.tabcontent-border {
    border: 1px solid #ddd;
    border-top: 0px;
    padding: 20px;
}

.wrapper {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.content {
    padding: 10px;
}

.tabcontent-border {
    overflow: hidden;
}

@media (max-width: 767px) {
    .table td {
        text-wrap: nowrap;
    }

    .card .box-header {
        display: block !important;
    }

    .card .box-header .box-btns button,
    .card .box-header .box-btns a {
        display: block;
        margin-top: 15px;
    }

    .wrapper-sidebar {
        width: 90% !important;
    }
}


.qrcode-overlay {
    position: fixed;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    transition: all .5s;
}

.qr-reader-over {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-reader {
    width: 150px;
    height: 150px;
}
.qr-reader .qr-title {
    color: #fff;
    text-align: center;
}

.qr-reader video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-reader .qr-box {
    width: 100% !important;
    left: 0 !important;
}

.qr-box.scan-region-highlight {
    height: 0px !important;
}

.qr-reader .qr-frame {
    position: absolute;
    fill: none;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(0);
}

/* Media Queries for mobile screens */
@media (max-width: 426px) {
    .qr-reader {
        width: 100%;
        height: 76vw;
    }

    .qr-reader .qr-frame {
        transform: translateX(-50%) translateY(-10%);
    }
}

label.required:after {
    content: "*";
    color: red;
    margin-left: 3px;
} 