.osc-smart-capture-container {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: auto !important;
    background-color: #fff !important;
    font-size: 16px !important;
    border-radius: 16px !important
}

@media screen and (max-width: 600px) {
    .osc-smart-capture-container {
        border-radius: 8px !important
    }
}

.osc-smart-capture-container {
    overflow: hidden !important
}

.osc-smart-capture-container * {
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important
}

.osc-smart-capture-container.osc-veiled {
    display: none !important
}

.osc-smart-capture-container .osc-smart-capture-sdk {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-indicators {
    display: none !important
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-video {
    display: none !important
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-canvas {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-actions {
    display: none !important
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-loader {
    display: none;
    position: absolute;
    animation: scan-image 2s linear infinite alternate;
    width: 100%;
    height: 216px;
    object-fit: cover
}

@keyframes scan-image {
    0% {
        top: 0
    }

    100% {
        top: calc(100% - 216px)
    }
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-error-messages .osc-div {
    display: none !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-guidance-ellipse {
    aspect-ratio: 3/4 !important;
    border-radius: 100% !important;
    box-sizing: content-box !important;
    height: 70% !important;
    width: auto !important;
    max-width: 70% !important
}

@media(orientation: portrait) {
    .osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-guidance-ellipse {
        width: 70% !important;
        height: auto !important
    }
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-guidance-ellipse.osc-overlay-border {
    z-index: 2 !important;
    border: 3px solid hsla(0, 0%, 100%, .85) !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-indicators {
    position: absolute !important;
    top: 8px !important;
    padding-inline: 16px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    z-index: 1 !important
}

@media(max-width: 600px) {
    .osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-indicators {
        padding-inline: 8px !important
    }
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-indicators .osc-label {
    min-height: 60px !important;
    width: 150px !important;
    padding: 4px 8px !important;
    border: 2px #468518 solid !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    font-weight: 500 !important;
    background-image: linear-gradient(to right, #6cca54 0%, #6cca54 50%, #ea4431 50%, #ea4431 100%) !important;
    background-size: 200% 100% !important;
    background-position: 0% !important;
    transition: background-position .3s ease-in-out !important;
    font-size: 16px !important;
    text-align: center !important
}

@media(max-width: 600px) {
    .osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-indicators .osc-label {
        width: 120px !important;
        font-size: 14px !important
    }
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-indicators .osc-label.osc-invalid {
    border-color: #9d2b23 !important;
    background-position: 100% !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-error-messages {
    color: #fff !important;
    z-index: 3 !important;
    font-size: 20px !important;
    text-align: center !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-error-messages .osc-div {
    margin-bottom: 8px !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-error-messages .osc-div.osc-active {
    display: block !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-error-messages .osc-div.osc-active:last-child {
    margin-bottom: 0 !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-capture-mode .osc-guidelines {
    display: flex !important
}

@keyframes osc-snapshotBlink {
    0% {
        opacity: 1 !important
    }

    50% {
        opacity: .5 !important
    }

    100% {
        opacity: 1 !important
    }
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-review-mode .osc-canvas {
    animation: osc-snapshotBlink .3s ease-in-out !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-review-mode .osc-actions {
    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 16px !important
}

@media(max-width: 600px) {
    .osc-smart-capture-container .osc-smart-capture-sdk.osc-review-mode .osc-actions {
        gap: 8px !important;
        padding: 8px !important
    }
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-review-mode .osc-actions .osc-button {
    font-size: 16px !important;
    background-color: #266431 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 40px !important;
    padding: 16px !important;
    min-width: 128px !important;
    cursor: pointer !important
}

.osc-smart-capture-container .osc-smart-capture-sdk.osc-processing-mode .osc-loader {
    display: block
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-guidelines {
    display: none !important;
    flex-direction: row !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1 !important;
    bottom: 20px !important;
    justify-content: space-around !important;
    align-items: center !important;
    width: 95% !important;
    gap: 16px !important;
}

.osc-smart-capture-container .osc-smart-capture-sdk .osc-guidelines div {
    max-width: min(300px, 80%) !important;
    background: #fff !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    text-align: center !important
}

@media(max-width: 600px) {
    .osc-smart-capture-container .osc-smart-capture-sdk .osc-guidelines {
        gap: 8px !important;
        flex-direction: column !important;
        font-size: 12px !important;
        bottom: 10px !important
    }
}

.osc-smart-capture-container .osc-abs-center {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    translate: -50% -50% !important
}

.osc-smart-capture-container .osc-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important
}

.osc-smart-capture-container .osc-counter {
    color: #fff !important;
    font-size: 96px !important;
    font-weight: 700 !important
}