@font-face {
    font-family: Sahel-Light;
    src: url(../../base/fonts/Sahel-Light-FD.ttf);
}
@font-face {
    font-family: Sahel;
    src: url(../../base/fonts/Sahel-FD.ttf);
}
@font-face {
    font-family: Sahel-SemiBold;
    src: url(../../base/fonts/Sahel-SemiBold-FD.ttf);
}
@font-face {
    font-family: Sahel-Bold;
    src: url(../../base/fonts/Sahel-Bold-FD.ttf);
}
@font-face {
    font-family: Sahel-Black;
    src: url(../../base/fonts/Sahel-Black-FD.ttf);
}
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Sahel-Light;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #efefef;
}
.login-card {
    position: relative;
    width: 380px;
    height: 420px;
    background: #1c1c1c;
    border-radius: 8px;
    overflow: hidden;
}
.login-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, #47f1fd, #47f1fd);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}
.login-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, #47f1fd, #47f1fd);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -3s;
}
@keyframes animate
{
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.login-form
{
    position: absolute;
    inset: 2px;
    border-radius: 8px;
    background: #13586c;
    z-index: 10;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}
.login-card h2 {
    font-family: Sahel-Bold;
    color: #47f1fd;
    text-align: center;
}
.login-input {
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.login-input input {
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    border: none;
    outline: none;
    color: #23242a;
    font-size: 1em;
    letter-spacing: 0.05em;
    z-index: 10;
}
.login-input span {
    position: absolute;
    right: 0px;
    padding: 20px 0px 10px;
    font-size: 1em;
    color: #e1e1e1;
    pointer-events: none;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
.login-input input:valid ~ span,
.login-input input:focus ~ span {
    color: #47f1fd;
    transform: translateX(0px) translateY(-34px);
    font-size: 0.75em;
}
.login-input i {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background: #cff4fc;
    border-radius: 4px;
    transition: 0.5s;
    pointer-events: none;
    z-index: 9;
}
.login-input input:valid ~ i,
.login-input input:focus ~ i {
    height: 44px;
}
.links
{
    display: flex;
    justify-content: space-between;
}
.links a {
    margin: 10px 0px;
    font-size: 0.75em;
    color: #e1e1e1;
    text-decoration: none;
}
.links a:hover,
.links a:nth-child(2) {
    color: #47f1fd;
}
input[type="submit"]
{
    border: none;
    outline: none;
    background: #47f1fd;
    padding: 11px 25px;
    margin-top: 10px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}
input[type="submit"]:active {
 opacity: 0.8;
}
.alert {
    direction: rtl;
    text-align: justify;
    margin-top: 10px;
}
