* {
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --login-bg: #14c2cb;
    --login-bg-hover: #00f2ff;
    --login-border: #00f2ffbb;
    --login-bshadow: #00f2ff32;
    --login-bshadow-hover: #00f2ffc3;
}

.login-btn {
    width: 80%;
    padding: .65rem 0;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--login-bg-hover);
    box-shadow: 0 0 14px var(--login-bshadow);
    transition: background-color 350ms ease-in-out,
        box-shadow 350ms ease-in-out;
    user-select: none;
}

.login-btn:active {
    background-color: var(--login-bg);
    box-shadow: 0 0 14px transparent;
}

.fa {
    font-family: "shabnam-light";
    text-decoration: none;
}

.en {
    font-family: "parkinsans";
    text-decoration: none;
}

.num {
    font-family: "tanha";
    text-decoration: none;
}

html {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%2393FFF4' stroke='%23000' stroke-width='1.75' d='M5.5 3.21V20.8c0 .45.54.67.85.35l4.86-4.86a.5.5 0 0 1 .35-.15h6.87a.5.5 0 0 0 .35-.85L6.35 2.85a.5.5 0 0 0-.85.35Z'/%3E%3C/svg%3E") 0 0, auto;
    scroll-behavior: smooth;
}

body {
    background-color: #f4f4f4;
    overflow: hidden;
}

.container {
    max-width: 100%;
    padding: 2.5rem 0;
}

.logo {
    display: block;
    width: 248px;
    height: 3rem;
    filter: drop-shadow(0 0 11px #00f7ff83);
    margin: 0 auto;
}

.login-title {
    font-size: 26px;
    margin: 2rem auto;
    margin-bottom: 1rem !important;
    user-select: none;
    color: #000000d8;
}

.login-form {
    display: flex;
    position: relative;
    flex-flow: column wrap;
    margin: 2rem auto;
    width: 22rem;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 0 14px #00000014;
    border-radius: 14px;
    gap: 1rem;
}

input {
    width: 80%;
    background-color: #ffffffd5;
    border: 1px solid #6969695c;
    border-radius: 6px;
    padding: .65rem;
    padding-left: 2rem;
    font-size: 16px;
    transition: border 150ms ease-in-out;
}

input:focus {
    border: 1px solid #000000f2 !important;
}

input::placeholder {
    font-family: "shabnam-light";
    user-select: none;
}

input::-moz-placeholder {
    font-family: "shabnam-light";
    user-select: none;
}

input::-webkit-input-placeholder {
    font-family: "shabnam-light";
    user-select: none;
}

a {
    text-decoration: none;
    color: #0073ff;
    text-shadow: 1px 1px 6px #00000017;
    cursor: pointer;
    margin: 0 2px;
}

.forgot-password {
    margin-left: auto !important;
    margin-right: 0;
    text-decoration: underline !important;
    padding-right: 2.5rem;
    padding-bottom: 1.25rem;
    padding-top: .25rem;
}

.rules {
    font-size: 18px;
    text-align: center;
    flex-flow: row nowrap;
    margin: 1rem auto;
    padding: 0 .5rem;
}

.rules.hidden {
    display: none;
}

.copyright {
    position: absolute;
    margin-top: auto;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    background: linear-gradient(45deg, #00D4FF, #090979, #020024);
    user-select: none;
}

.row {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    width: 100%;
    position: relative;
    flex-flow: row nowrap;
}

.email-svg,
.password-svg,
.username-svg {
    position: absolute;
    width: 24px;
    left: 3rem;
    color: #0000008f;
    transform: translateY(10px);
}

input.error {
    border: 1px solid #eb2026;
}

.errors {
    width: 100%;
    display: flex;
    padding-right: 2.5rem;
    position: relative;
    color: #eb2026;
    user-select: none;
}

.errors.hidden {
    display: none;
}


@media only screen and (max-width: 590px) {
    .copyright {
        font-size: 16px;
    }
}

@media only screen and (max-width: 540px) {
    .rules {
        margin: 2.5rem auto;
        font-size: 16px;
    }
}

@media only screen and (max-width: 420px) {
    .login-form {
        width: 85%;
    }

    .errors {
        width: 100%;
        display: flex;
        padding-right: 1.5rem;
        position: relative;
        color: #eb2026;
        user-select: none;
    }

    .email-svg,
    .password-svg,
    .username-svg {
        left: 2rem;
        transform: translateY(10px);
    }

    .login-title {
        font-size: 20px;
    }

    input {
        width: 85%;
    }

    .login-btn {
        width: 85%;
    }

    .copyright {
        font-size: 11px;
    }

}