html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-size: 16px;
}

body {
    background-image: url('../../../../static/admin/images/login-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

a {
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: fixed;
    top: 3rem;
    left: 5%;
}

nav img {
    width: 12rem;
    margin-right: 2rem;
}

nav a {
    color: #FFFFFF;
    font-size: 110%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    padding: 0.5rem 2rem;
}

nav a::after,
nav a:hover::after {
    content: '';
    width: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 0, 149, 0), rgba(255, 0, 149, 0.4), rgba(255, 0, 149, 0));
    position: absolute;
    top: 0;
    transition: 0.2s;
    z-index: -1;
}

nav a:hover::after {
    width: 100%;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90%;
}

footer a {
    color: #FFFFFF;
}

.wrap {
    width: 90%;
    height: 100%;
    overflow: hidden;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

form {
    width: 400px;
    height: 600px;
    background-color: #202739;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

form .inline {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

form::after,
form::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 5px;
    border-radius: 10px;
    background-image: conic-gradient(from var(--angle), #FF4545, #00FF99, #006AFF, #FF0095, #FF4545);
    /*background-image: conic-gradient(from var(--angle), transparent 60%, red);*/
    animation: 3s spin linear infinite;
}

form::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

div.title {
    color: #FFFFFF;
    font-size: 120%;
    position: absolute;
    top: 3rem;
    letter-spacing: 0.2rem;
}

.form-group {
    width: 70%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-group .login-item-title {
    color: #CCCCCC;
    margin-bottom: 0.3rem;
    display: block !important;
}

form .form-group input {
    width: 100%;
    height: 2rem;
    padding: 0;
    overflow: hidden;
    background: none;
    border: none;
    outline: none;
    border-bottom: 1px solid #444444;
    color: #FFFFFF;
    font-size: 110%;
    box-shadow: none !important;
    border-radius: 0;
}

form .form-group input::placeholder {
    color: #666666;
}

form .form-group input:focus {
    border-bottom: 1px solid #BBBBBB;
}

form .code img {
    cursor: pointer;
    right: 0;
    height: 2rem;
}

button {
    width: 50%;
    height: 2.5rem;
    border: none;
    outline: none;
    margin-top: 2rem;
    background-color: #283a97;
    color: #FFFFFF;
    border-radius: 0.2rem;
    cursor: pointer;
}

button:hover {
    background-color: #1e2f83;
}

button.send-code-button {
    margin: 0;
    height: 2rem;
}

button.send-code-button.gray {
    background-color: #F2F2F2;
    color: #999999;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}