@charset "utf-8";
/* CSS Document */
    
.otp-main-container{
    width:100%;
    max-width:500px;
    text-align:center;
    margin: 0 auto;
}

.otp-description{
    max-width:700px;
    margin-bottom:15px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.otp-info{
    color:#666;
}

.otp-info-hidden{
    color:#666;
    visibility: hidden;
}

.otp-timer{
    font-weight:bold;
}

.otp-container{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:8px;
    margin:25px 0;
}

.otp-input{
    width:100%;
    aspect-ratio:1;
    text-align:center;
    border:2px solid #d0d7de;
    border-radius:10px;
    font-size:3rem;
    font-weight:bold;
}

.otp-input:focus{
    outline:none;
    border-color:#0078d4;
    box-shadow:0 0 0 4px rgba(0,120,212,.15);
}

    
.otp-result{
    font-weight:bold;
}

.otp-success{
    color:#107c10; 
    font-weight:bold;
}

.otp-error{
    color:#d13438; 
    font-weight:bold;
}

@media(max-width:480px){

    .otp-main-container{
        padding:20px;
    }

    .otp-container{
        gap:4px;
    }

    .otp-input{
        font-size:2rem;
        min-height:42px;
    }
}
