body {
    background-color: #f9f9f9;
}

/* back home btn */

.back-home {
    background-color: #FFFFFF;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 13px;
    text-decoration: none;
    color: #242424;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-direction: row-reverse;

}
.back-home svg{
    rotate: 180deg;
    display: none;
    opacity: 0;
}
.back-home:hover svg{
    opacity: 1;
    display: block;
}

/* form */

.auth-form {
    background-color: #FFFFFF;
    width: 320px;
    margin: 120px auto 0;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    line-height: 2;
    padding: 28px;
    display: none;
}

.auth-form.active {
    display: block;
}

.log-title {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.log-sub-title {
    font-size: 13px;
    display: block;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 30px;
}

.switch-register {
    text-decoration: none;
    color: #00b6b6;
}

.log-label {
    font-size: 13px;
}

.log-input {
    margin-top: 10px;
    margin-bottom: 30px;
}

.log-input,
.register-input {
    width: 100%;
    height: 40px;
    border: 1px solid #e4e4e4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-radius: 4px;
}

.log-input:focus-within {
    border: 1px solid #00b6b6;
}

.log-input-input {
    border: none;
    height: 100%;
    width: 90%;
    direction: rtl;
}

.log-btn {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: none;
    background-color: #242424;
    color: #FFFFFF;
    font-size: 12px;
}

/* otp */

.login-otp {
    padding-top: 12px;
}

.back-btn {
    text-decoration: none;
    font-size: 18px;
    display: flex;
    flex-direction: row-reverse;
    color: #000;
}

.log-title-otp {
    margin-top: 0px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.otp-subtitle {
    font-size: 13px;
    text-align: center;
    color: #444;
    margin-bottom: 10px;
}

.otp-timer {
    font-size: 13px;
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

.otp-timer span {
    color: #00b6b6;
}

.otp-boxes {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 30px;
}

.otp-boxes input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.otp-boxes input:focus {
    border-color: #00b6b6;
}

/* register-form */

.register-form {}

.register-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.register-btn {
    margin-top: 30px;
}

/* Responsive */

@media (max-width:768px){

    .auth-form{
        width:300px;
        padding:26px;
        margin-top:90px;
    }

    .back-home{
        top:24px;
        right:24px;
    }

}
@media (max-width:576px){

    .auth-form{
        width:280px;
        padding:24px;
        margin-top:70px;
    }

    .log-title,
    .log-title-otp{
        font-size:18px;
    }

}
@media (max-width:430px){

    .auth-form{
        width:260px;
        padding:20px;
        margin-top:60px;
    }

    .back-home{
        top:12px;
        right:12px;
        font-size:11px;
        padding:7px 10px;
    }

    .otp-boxes input{
        width:36px;
        height:36px;
    }

}
@media (max-width:360px){

    .auth-form{
        width:240px;
        padding:18px;
    }

    .log-title,
    .log-title-otp{
        font-size:16px;
    }

    .log-input,
    .register-input{
        height:38px;
    }

    .log-btn{
        height:38px;
    }

    .otp-boxes{
        gap:6px;
    }

    .otp-boxes input{
        width:32px;
        height:32px;
        font-size:12px;
    }

}