@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    background: #e0e2e9;
}

.button{
    width: 200px;
    height: 50px;
    border: none;
    border-radius: 5px;
    margin: 20px 0;
    background: #b0b1b4;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.button:hover{
    box-shadow: 2px 2px 10px #1c1fd4; 
}

.active{
    background: dodgerblue;
    box-shadow: 2px 2px 10px #000;
    z-index: 1;
}

.wrapper {
    /* position: relative; */
    /* margin-top: 100px; */
    max-width: 430px;
    width: 100%;
    background: #fff;
    padding: 34px;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.wrapper h2 {
    /* position: relative; */
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.wrapper h2::before {
    content: '';
    /* position: absolute; */
    left: 0;
    bottom: 0;
    height: 3px;
    width: 28px;
    border-radius: 12px;
    background: #4070f4;
}

.wrapper form {
    margin-top: 30px;
}

.wrapper form .input-box {
    position: relative;
    height: 52px;
    width: 100%;
    margin: 28px 0 28px;
}

.form-group {
    display: flex;
    align-items: center;
}

.form-group input {
    flex: 1;
}

.form-group .show-password {
    cursor: pointer;
    font-size: 14px;
    color: #4070f4;
    margin-left: 10px;
}

form .input-box input {
    height: 100%;
    width: 100%;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-weight: 400;
    color: #333;
    border: 1.5px solid #C7BEBE;
    border-bottom-width: 2.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.input-box input:focus,
.input-box input:valid {
    border-color: #4070f4;
}

form h3 {
    color: #707070;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
}

.input-box.button input {
    color: #fff;
    letter-spacing: 1px;
    border: none;
    background: #4070f4;
    cursor: pointer;
}

.input-box.button input:hover {
    background-color: white;
    color: #4070f4;
    border: 3px solid #4070f4;
}

form .text h3 {
    color: #333;
    width: 100%;
    text-align: center;
}

form .text h3 a {
    color: #4070f4;
    text-decoration: none;
}

form .text h3 a:hover {
    cursor: pointer;
    text-decoration: underline;
}


.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #007bff;
    color: #ffffff;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

video {
    width: 100%;
    border-radius: 8px;
}

#uploaded-image {
    display: none;
    width: 100%;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#capture-btn,
#upload-btn,
#retry-btn {
    margin-top: 10px;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* CSS for the left-to-right scroll reveal animation */
.scroll-reveal-left {
    animation: slideInFromLeft 1s ease forwards;
}

/* CSS for the right-to-left scroll reveal animation */
.scroll-reveal-right {
    animation: slideInFromRight 1s ease forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}