*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Segoe UI',sans-serif;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    background:
    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)
    ),
    url('../images/bg-dashboard.jpeg')
    center/cover no-repeat;

    padding:20px;
}

/* CONTAINER */

.auth-container{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;
}

/* LOGIN CARD */

.auth-box{

    width:100%;

    max-width:480px;

    background:#fff;

    border-radius:30px;

    padding:45px;

    box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

    animation:fadeUp .5s ease;
}

.auth-box h1{

    font-size:42px;

    font-weight:800;

    color:#111;

    text-align:center;

    margin-bottom:12px;
}

.auth-subtext{

    text-align:center;

    color:#666;

    font-size:15px;

    line-height:1.7;

    margin-bottom:28px;
}

/* ALERT */

.alert{

    padding:14px;

    border-radius:14px;

    margin-bottom:18px;

    font-size:14px;

    font-weight:700;
}

.alert.error{

    background:#ffe5e5;

    color:#d8000c;
}

/* INPUTS */

input{

    width:100%;

    padding:17px 18px;

    border:1px solid #ddd;

    border-radius:16px;

    margin-bottom:18px;

    font-size:15px;

    outline:none;

    transition:0.3s;
}

input:focus{

    border-color:#14a800;

    box-shadow:
    0 0 0 4px rgba(20,168,0,0.12);
}

/* PASSWORD */

.password-wrapper{

    position:relative;
}

.password-wrapper{

    position:relative;

    margin-bottom:18px;
}

.password-wrapper input{

    margin-bottom:0;
}

.password-wrapper i{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    color:#777;

    cursor:pointer;

    font-size:16px;

    z-index:2;
}

/* BUTTON */

.btn{

    width:100%;

    border:none;

    background:#14a800;

    color:#fff;

    padding:16px;

    border-radius:16px;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

.btn:hover{

    background:#108400;

    transform:translateY(-2px);
}

/* FOOTER */

.auth-footer{

    margin-top:22px;

    text-align:center;
}

.auth-footer a{

    color:#14a800;

    text-decoration:none;

    font-weight:700;

    font-size:15px;
}

/* OTP */

.otp-card{

    width:100%;

    max-width:480px;

    background:#fff;

    border-radius:30px;

    padding:40px;

    text-align:center;

    box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

    animation:fadeUp .5s ease;
}

.otp-logo{

    width:78px;

    height:78px;

    border-radius:50%;

    background:#14a800;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    font-size:30px;

    margin-bottom:22px;
}

.otp-card h1{

    font-size:36px;

    font-weight:800;

    margin-bottom:12px;
}

.otp-subtext{

    color:#666;

    line-height:1.7;

    margin-bottom:25px;
}

.otp-subtext b{

    color:#14a800;
}

.countdown-wrap{

    margin-top:16px;

    color:#666;

    font-size:14px;
}

.resend-btn{

    width:100%;

    margin-top:14px;

    border:none;

    background:#14a800;

    color:#fff;

    padding:16px;

    border-radius:16px;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:0.3s;
}

.resend-btn:disabled{

    background:#ccc;

    cursor:not-allowed;
}

/* ANIMATION */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:
        translateY(30px);
    }

    to{

        opacity:1;

        transform:
        translateY(0);
    }
}

/* RESPONSIVE */

@media(max-width:600px){

    .auth-box,
    .otp-card{

        padding:30px 22px;
    }

    .auth-box h1,
    .otp-card h1{

        font-size:32px;
    }
}
.login-again{
    color:#14a800;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

.login-again:hover{
    color:#1edb00;
}

.alert.success{

    background:#14a800;

    color:#fff;
}