.border-finger {
    display: block;
    /* iframes are inline by default */
    /* background: #000; */
    border: 1px #2e3a48;
    /* Reset default border */
    /* height: 92vh; */
    min-height: 500px;
    /* Viewport-relative units */
    width: 100%;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.thumb {
    position: relative;
    background: url(../img/thumb.svg) no-repeat;
    background-size: 150px;
    height: 150px;
    width: 150px;
}

.thumb::after {
    position: absolute;
    content: '';
    height: 10px;
    background-color: #00eeff;
    width: 100%;
    border-radius: 8px;
    animation: line 3s ease-in-out infinite;
}

@keyframes line {

    0%,
    100% {
        top: 0%;
    }

    50% {
        top: 100%;
    }
}

.thumb::before {
    position: absolute;
    content: '';
    background: url(../img/thumbscan.svg) no-repeat;
    background-size: 150px;
    height: 150px;
    width: 150px;
    animation: none;
    /* default: tidak bergerak */
    opacity: 0;
    /* disembunyikan dulu */
}

.thumb.scanning::before {
    animation: scan 3s ease-in-out infinite;
    opacity: 1;
}


@keyframes scan {

    0%,
    100% {
        height: 0%;
    }

    50% {
        height: 100%;
    }
}



/*ini bagian baru */

#fingerprint-area {
    position: relative;
    width: 150px;
    height: 200px;
    margin: 100px auto;
    background: #31a9ad;
    border-radius: 10px;
    overflow: hidden;
    padding: 30px 0px;
}


/*ini bagian menghentikan */

.thumb::after,
.thumb::before {
    animation: none;
    /* default: tidak jalan */
}

.thumb.scanning::after {
    animation: line 3s ease-in-out infinite;
}

.thumb.scanning::before {
    animation: scan 3s ease-in-out infinite;
}

/* hasil tampilan */
.result {
    text-align: center;
    font-weight: bold;
    animation: blink 1s step-start infinite;
    /* padding-top: 20px; */
    color: black;
}

.content-box {
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 15px;
    width: 80%;
    height: 80px;
    max-width: 450px;
    margin: 20px auto;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


#rescan-btn {
    /* margin-top: 20px; */
    background: url(../img/thumb.svg) no-repeat;
    background-size: 150px;
    background-blend-mode: soft-light;
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    font-size: 31px;
    font-weight: bold;
    text-align: center;
    background-color: #31a9ad;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    /* font-size: large; */
}


/* css loading  */
.loading-container {
    /* width: 300px; */
    height: 50px;
    border-radius: 10px;
    background-color: #2e3a48;
    /* Background luar */
    position: static;
    overflow: hidden;
    /* left: 50%; */
    /* top: 50%; */
    /* transform: translate(-50%, -50%); */

}

.loading-fill {
    /* position: absolute; */
    top: 0;
    left: 0;
    /* start dari kiri */
    height: 100%;
    width: 0%;
    background-color: #00eeff;
    /* warna hijau kekuningan */
    animation: fillBar 30s linear forwards;
    animation-play-state: paused;
    /* default: tidak jalan dulu */
    border-radius: 0 10px 10px 0;
}

@keyframes fillBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}


#loading-overlay {
    /* position: fixed; */
    display: none;
    text-align: center;
    color: #00eeff;
    /* display: flex;
    justify-content: center;
    align-items: center; */
    z-index: 999;
}

.loading-dots {
    color: #00eeff;
    font-size: 35px;
    font-family: monospace;
    /* display: flex; */
    gap: 4px;
    /* align-items: center; */
}

.dot {
    opacity: 0;
    animation: blink 1s infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}


.row-box {
    height: 200px;
    padding-top: 50px;
}

.content-note {
    text-align: center;
    font-family: cursive;
    margin-bottom: 50px;
}