.smart-capture-container {
    --CAMERA-ASPECT-RATIO: 0.75;
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.smart-capture-sdk {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: var(--CAMERA-ASPECT-RATIO);
    border-radius: 0.5rem;
}

.smart-capture-sdk video {
    display: none;
}

.smart-capture-sdk canvas {
    width: 100%;
    aspect-ratio: var(--CAMERA-ASPECT-RATIO);
}

.smart-capture-sdk .guidance-ellipse {
    width: calc(70% + 10px);
    height: calc(70% + 10px);
    border-radius: 50%;
    box-sizing: content-box;
}

.smart-capture-sdk .guidance-ellipse.overlay-border {
    z-index: 2;
    border: 5px solid #fd1b1b;
}

.smart-capture-sdk .guidance-ellipse.overlay-border.valid {
    border-color: #03B568;
}

.smart-capture-sdk .guidance-ellipse.blur {
    z-index: 1;
    border: 5000px solid rgba(255, 255, 255, 0.5);
}

.smart-capture-sdk .error-messages {
    z-index: 3;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.smart-capture-sdk .error-messages div {
    margin-bottom: 0.5rem;
}

.smart-capture-sdk .error-messages div:last-child {
    margin-bottom: 0;
}

.instructions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.counter {
    font-size: 4rem;
    font-weight: 700;
    color: #03B568;
}

label,
button {
    --green: #03B568;
    display: inline-block;
    font-size: 15px;
    padding: 0.7em 1em;
    letter-spacing: 0.06em;
    position: relative;
    font-family: inherit;
    border-radius: 0.6em;
    overflow: hidden;
    transition: all 0.3s;
    line-height: 1.4em;
    border: 2px solid var(--green);
    background: linear-gradient(to right, rgba(27, 253, 156, 0.1) 1%, transparent 40%, transparent 60%, rgba(27, 253, 156, 0.1) 100%);
    color: var(--green);
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.4), 0 0 9px 3px rgba(27, 253, 156, 0.1);
}

label.invalid,
button.invalid {
    --green: #fd1b1b;
    box-shadow: inset 0 0 10px rgba(253, 27, 27, 0.4), 0 0 9px 3px rgba(253, 27, 27, 0.1);
    background: linear-gradient(to right, rgba(253, 27, 27, 0.1) 1%, transparent 40%, transparent 60%, rgba(253, 27, 27, 0.1) 100%);
}

button:enabled:hover {
    color: #03B568;
    box-shadow: inset 0 0 10px rgba(27, 253, 156, 0.6), 0 0 9px 3px rgba(27, 253, 156, 0.2);
}

button:before {
    content: "";
    position: absolute;
    left: -4em;
    width: 4em;
    height: 100%;
    top: 0;
    transition: transform 0.4s ease-in-out;
    background: linear-gradient(to right, transparent 1%, rgba(27, 253, 156, 0.1) 40%, rgba(27, 253, 156, 0.1) 60%, transparent 100%);
}

button:enabled:hover:before {
    transform: translateX(15em);
}

.guidelines-container {
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid #FDCE08;
    border-radius: 0.5rem;
    padding: 1rem;
}

.guidelines-container h1 {
    font-size: 1.5rem;
    font-weight: normal;
}

.guidelines-container .guidelines {
    display: grid;
    grid-template-columns: 4rem auto;
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
    align-items: center;
    font: 1.125rem;
    margin-bottom: 1rem;
}

.guidelines-container .guidelines svg {
    height: 100%;
    width: 100%;
}