.scan-wrapper {
    position: relative;
}

.scan-wrapper .scan-msg {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: rgb(0, 0, 0, 0.5);
    z-index: 1;
    flex-direction: column;
}

.scan-wrapper,
.scan-wrapper .scanner,
.scan-wrapper .scanner>div,
.scan-wrapper .scanner>div>canvas,
.scan-wrapper .scanner>div>video {
    height: 100%;
}

.scan-wrapper .scanner>div>video {
    width: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.scanner-title {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
}

.scanner-subtitle {
    color: #fff;
    font-size: 18px;
    text-align: center;
}

.scanner-btn {
    font-size: 20px;
    line-height: normal;
    border: 1px solid #FFF;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    background: transparent !important;
    display: block;
    width: 100%;
}

.scanner-btn:disabled {
    opacity: .5;
    cursor: default;
}

.scanner-btn.scanner-btn--inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

.scanner-btn.scanner-btn--back:before {
    content: "\ea4b";
    font-family: 'LineIcons' !important;
}

.scanner-primary-btn {
    border-radius: 8px;
    background-color: #c2e6a6 !important;
    color: #444;
    width: 100%;
    border: none;
    padding: 22px;
    font-size: 20px;
}

.scanner-primary-btn:disabled {
    opacity: .5;
}

.scanner-list-item {
    padding: 15px 20px;
    border-radius: 8px;
    border: solid 1px #fff;
    color: #FFF;
    cursor: pointer;
    white-space: nowrap;
}

.scanner-list-item.active {
    background: #FFF;
    color: #444444;
}

.scanner-list-item:not(:last-child) {
    margin-bottom: 10px;
}

.scanner-list-item-label {
    text-transform: uppercase;
    font-size: 14px;
}

.scanner-list-item-value {
    font-size: 35px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
}

.scanner-list-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scanner-list-wrapper .root {
    flex: 1;
    overflow: auto;
}

.scanner-info {
    font-size: 18px;
    text-align: center;
    color: #fff;
}


.filled-btn {
    padding: 20px;
    border-radius: 8px;
    background: white !important;
    width: 100%;
    text-align: left;
    border: 1px solid white;
    white-space: nowrap;
}

.filled-btn-label {
    font-size: 14px;
    text-transform: uppercase;
    color: #999;
}

.filled-btn-value {
    font-size: 40px;
    color: #444;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
}

.filled-btn:not(:last-child):not(.no-margin),
.scanner-btn:not(:last-child):not(.no-margin) {
    margin-bottom: 20px;
}

@media (min-width: 992px) {
    .scanner-wrapper {
        max-width: 640px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 600px) {
    #toast-container {
        min-width: 80%;
        left: 50%;
        top: 10%;
        transform: translateX(-50%);
        bottom: initial;
    }
}
