﻿
.container{
    position: relative;
    background-color: midnightblue;
    height: 100%;
}

.otp-container{
    max-width: 350px;
    width: 100%;
    padding: 10px;
    background-color: white;
    text-align: center;
    border-radius: 8px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.otp-container .heading{
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 5px;
    margin-bottom: 10px;
    color: midnightblue;
}
.otp-container img{
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    margin-top: 20px;
}
.otp-container .message-success{
    font-size: 0.8em;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    border: 1px solid;
    border-radius: .25rem;
    padding: .25rem;
}

.otp-container .message-error{
    font-size: 0.8em;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border: 1px solid;
    border-radius: .25rem;
    padding: .25rem;
}
.otp-container h2{
    color: midnightblue;
    margin: 5px;
}

.otp-container input{
    width: 40px;
    height: 40px;
    text-align: center;
    border: 2px solid #dadada;
    margin: 5px;
    font-size: 20px;
    outline: none;
    transition: all ease 0.3s;
    
}
.otp-container input:focus{
    border: 2px solid midnightblue;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.otp-container .btn-group{
    margin: 25px 0px;
}
.otp-container .btn-group button, .otp-container .btn-group input[type=submit]{
    margin: 5px;
    padding: 8px 12px;
    border-radius: 5px;
    width: 130px;
    cursor: pointer;
    font-size: 0.9rem;
}

#startTimer{
    background-color:  white;
    color: black;
    outline: none;
    border: 2px solid #bbb;
    cursor: pointer;
    
}

#startTimer:disabled{
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: 2px solid #999;
}

#btnVerifyOtp{
    background-color: midnightblue;
    color: white;
    outline: none;
    border: 2px solid midnightblue;
}

#timer-container{
    position: relative;
}

.progress-ring__circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.5s;
}

#timer {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
}