.login {
    margin-top: 2em;
    margin-bottom: 3em;
    direction: rtl;
}

.login-box {
    width: 70%;
    margin: 0 auto;
}

.login .title {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fd5f54;
    text-align: center;
}

.login img {
    width: 100%;
}

.login .comment {
    font-weight: 500;
    font-size: 16px;
    color: #1f2728;
    text-align: center;
}

.login label {
    font-weight: 700;
    font-size: 14px;
    color: #1f2728;
}

.login input {
    background: #f5f5f5;
    border: 2px solid #fd7f76;
    border-radius: 8px;
}

.login::placeholder {
    font-weight: 500;
    font-size: 18px;
    color: #1f2728;
}

.login .btn-login-page,
.login .btn-login-page:hover {
    background: #fd5f54;
    box-shadow: 0px 19px 17px -6px rgba(190, 71, 63, 0.47);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
}

.login .btn-signup,
.login .btn-signup :hover {
    background: #f2f6f6;
    border: 1px solid #febfbb;
    box-shadow: 0px 21px 17px -9px rgba(56, 56, 56, 0.25);
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    color: #fd5f54;
}

.password {
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
}

.forget {
    font-weight: 600;
    font-size: 14px;
    color: #1f2728;
}
.forget:hover{
    color: #fd5f54;
}
.One-time-password{
    font-weight: 600;
    font-size: 16.8px;
    color: #fd5f54;
    text-decoration: none;
}

.One-time-password:hover {
    font-weight: 600;
    font-size: 16.8px;
    color: #1f2728;
    text-decoration: none;
}

.timer {
    font-weight: 500;
    font-size: 16px;
    color: #1f2728;
}

.refresh {
    font-weight: 500;
    font-size: 16px;
    color: #1f2728;
}

/*  */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .login input[type="checkbox"],
    .login input[type="radio"] {
        --active: #fd5f54;
        --active-inner: #fd5f54;
        --focus: 1px #fd5f54;
        --border: #fd5f54;
        --border-hover: #fd5f54;
        --background: #f2f6f6;
        --disabled: #fd5f54;
        --disabled-inner: #e1e6f9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 21px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }

    .login input[type="checkbox"]:after,
    .login input[type="radio"]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease),
            opacity var(--d-o, 0.2s);
    }

    .login input[type="checkbox"]:checked,
    .login input[type="radio"]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: 0.3s;
        --d-t: 0.6s;
        --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
    }

    .login input[type="checkbox"]:disabled,
    .login input[type="radio"]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }

    .login input[type="checkbox"]:disabled:checked,
    .login input[type="radio"]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }

    .login input[type="checkbox"]:disabled + label,
    .login input[type="radio"]:disabled + label {
        cursor: not-allowed;
    }

    .login input[type="checkbox"]:hover:not(:checked):not(:disabled),
    .login input[type="radio"]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }

    .login input[type="checkbox"]:focus,
    .login input[type="radio"]:focus {
        box-shadow: 0 0 0 var(--focus);
    }

    .login input[type="checkbox"]:not(.switch),
    .login input[type="radio"]:not(.switch) {
        width: 21px;
    }

    .login input[type="checkbox"]:not(.switch):after,
    .login input[type="radio"]:not(.switch):after {
        opacity: var(--o, 0);
    }

    .login input[type="checkbox"]:not(.switch):checked,
    .login input[type="radio"]:not(.switch):checked {
        --o: 1;
    }

    .login input[type="checkbox"] + label,
    .login input[type="radio"] + label {
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-right: 4px;
    }
}

@media (max-width: 768px) {
    .login-box {
        width: 90%;
    }
    .login img.login-cover {
        display: none;
    }

    .login .btn-login {
        display: block;
    }
}
a.forget {
    text-decoration: unset;
}
