.form-group{
    position: relative;
    width: 100%;
}

.card{
    padding: 24px;
    border-radius: 16px;
}

.helper{
    position: absolute;
    left: 16px;
    bottom: 13px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    direction: ltr;
}

input[type = tel]{
    padding-left: 50px;
}

.auth-footer-link{
    margin-top: 8px;
}

.auth-footer-link a,
.resend-link{
    color: var(--text-accent);
    margin: 0 4px;
    font-weight: 300;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
}

.auth-footer-link a:hover{
    text-decoration: underline;
    font-weight: 500;
}

.resend-link:hover{
    font-weight: 700;
}

.code{
    text-align: center !important;
    letter-spacing: 12px;
}

.auth-step {
    display: none;
    animation: fadeIn 0.3s ease;
}
        
.auth-step.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
} 
        
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}      
     
.resend-link:disabled {
    cursor: not-allowed;
}

.success,
.failed{
    gap: 6px;
}


.retry{
    width: 100%;
    max-width: 150px;
    margin-top: 10px;
    font-size: 12px;
    padding: 8px;
}

.form-row{
    gap: 16px;
}

@media screen and (max-width: 500px){
     .form-row{
        flex-direction: column;
    }

}

@media screen and (max-width: 425px){
    .helper{
        font-size: 12px;
    }

    .code {
        letter-spacing: 4px;
    }


    .card{
        padding: 18px;
    }
}


