.scanner{
    overflow: hidden;
    height: 285px;
    transition: 0.2s;
}

.scanner h1{
    font-size: 21px;
    margin-bottom: 15px;
}

.scanner h1 i{
    font-size: x-large;
    margin-left: 5px;
    cursor: pointer;
}

.scanner h1 .fa-camera{
    color: #35bf23;
}

.scanner h1 .fa-circle-stop{
    color: crimson;
    display: none;
}

.scanner-form{
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    border: 2px dashed #777;
}

.scanner-form img{
    max-width: 180px;
    display: none;
}

.scanner-form video{
    width: 100%;
    height: 100%;
    display: none;
}

.scanner-form .content{
    color: #35bf23;
}

.scanner-form .content i{
    font-size: 4rem;
}

.scanner-form .content p{
    font-size: 1.2rem;
    margin-top: 15px;
}

.scanner-details{
    margin-top: 15px;
}

.scanner-details textarea{
    color: #333;
    width: 100%;
    height: 150px;
    padding: 10px 15px;
    outline: none;
    font-size: 16px;
    resize: none;
    border-radius: 5px;
}

.scanner-details .btn{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.scanner-details .btn button{
    height: 50px;
    width: calc(100% / 2 - 10px);
    background: #35bf23;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 5px;
}

.scanner.active{
    height: 530px;
}

.scanner.active .scanner-form{
    pointer-events: none;
}

.scanner-form.active-img img{
    display: block;
}

.scanner-form.active-img .content,
.scanner-form.active-img video{
    display: none;
}

.scanner-form.active-video video{
    display: block;
}

.scanner-form.active-video .content,
.scanner-form.active-video img{
    display: none;
}

.pointerEvents{
    pointer-events: none;
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.notification.show {
    opacity: 1;
    visibility: visible;
}
