body {
    font-family: 'Poppins', sans-serif;
    background: #1d1d27;
}

.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: -1;
}

.login-container {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 7rem;
    padding: 0 2rem;
}

.img {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -100px;
}

.login-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.img img {
    width: 500px;
}

form {
    width: 360px;
    margin-top: -100px;
}

.login-content img {
    height: 100px;
}

.login-content h2 {
    margin: 15px 0;
    color: #333;
    text-transform: uppercase;
    font-size: 2.9rem;
    margin-bottom: 2rem;
}

.login-content .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d9d9d9;
}

.login-content .input-div.one {
    margin-top: 0;
}

.i {
    color: #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    transition: .3s;
}

.input-div>div {
    position: relative;
    height: 45px;
}

.input-div>div>h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    transition: .3s;
    font-weight: 400;
}

.input-div:before,
.input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #e44c65;
    transition: .4s;
}

.input-div:before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
    width: 50%;
}

.input-div.focus>div>h5 {
    top: -5px;
    font-size: 15px;
}

.input-div.focus>.i>i {
    color: #e44c65;
}

.input-div>div>input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #555;
    font-family: 'poppins', sans-serif;
}

.input-div.pass {
    margin-bottom: 4px;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    transition: .3s;
}

a:hover {
    color: #e44c65;
}

.btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #e44c65, #cf3a52, #e44c65);
    background-size: 200%;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
    line-height: 48px;
}

.btn:hover {
    background-position: right;
}

@media screen and (max-width: 1050px) {
    .login-container {
        grid-gap: 5rem;
    }
    form {
        margin-top: -100px;
    }
}

@media screen and (max-width: 1000px) {
    form {
        width: 290px;
        margin-top: -100px;
    }
    .login-content h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }
    .img img {
        width: 400px;
    }
}

/* #loginForm_pin {
    display: none;
} */

@media screen and (max-width: 900px) {
    .login-content {
        align-items: flex-start;
    }
    .login-container {
        width: 100%;
        margin: 0;
        padding: 1.2rem;
        margin-top: 15em;
    }
    /* #loginForm {
        display: none;
    } */
    #loginForm_pin {
        display: block;
        width: 100%;
        max-width: 700px;
        margin-top: 3rem;
    }
    .container-pin,
    .container-number {
        display: flex;
        flex-wrap: wrap;
        margin-top: 5rem;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .container-pin {
        width: 88%;
    }
    .container-number {
        margin-top: 4rem;
        width: 100%;
    }
    .avatar {
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }
    .avatar img {
        width: 100%;
        height: 100%;
        ;
    }
    .container-dots {
        display: flex;
        width: 25%;
        height: 25%;
        justify-content: center;
        align-items: center;
        margin-bottom: 1em;
        opacity: 0.2;
    }
    .dots {
        width: 14px;
        height: 14px;
    }
    .opacity {
        opacity: 1;
    }
    .dots img {
        width: 100%;
        height: 100%;
    }
    .container-n {
        display: flex;
        width: 33%;
        height: 80px;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        color: #ddd;
    }
    .container-e {
        display: flex;
        width: 33%;
        height: 90px;
        justify-content: center;
        align-items: center;
        font-size: 24px;
    }
    .del {
        opacity: 0.5;
    }
    .login-container {
        grid-template-columns: 1fr;
    }
    .img {
        display: none;
    }
    .wave {
        display: none;
    }
    .login-content {
        justify-content: center;
    }
    form {
        margin-top: -100px;
    }
    nav ul a {
        text-align: center;
        font-size: 18px;
    }
}

/* Modern login surface */
body {
    background: radial-gradient(circle at 20% 15%, #202d57 0, #0b1020 38rem) fixed;
}
.wave { opacity: .08; filter: hue-rotate(55deg) saturate(.7); }
.login-container {
    width: min(1180px, 100%);
    min-height: 100vh;
    height: auto;
    margin: 0 auto;
    padding: 48px;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(3rem, 8vw, 8rem);
}
.img { margin: 0; justify-content: center; }
.img img { width: min(520px, 100%); opacity: .92; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .28)); }
.login-content { justify-content: center; }
.login-content form {
    width: min(420px, 100%);
    margin: 0;
    padding: 38px;
    background: rgba(18, 26, 45, .9);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
    backdrop-filter: blur(20px);
}
.login-content > form > img { height: 62px; margin-bottom: 8px; }
.login-content h2 {
    margin: 8px 0 34px;
    color: #edf2ff;
    font-size: 2rem;
    letter-spacing: -.02em;
    text-transform: none;
}
.login-content .input-div {
    grid-template-columns: 34px 1fr;
    margin: 20px 0;
    padding: 2px 0;
    border-bottom-color: rgba(255, 255, 255, .16);
}
.input-div > div > h5 { color: #93a3bd; font-size: 15px; }
.input-div > div > input { color: #edf2ff; font-size: 16px; }
.i { color: #93a3bd; font-weight: 800; }
.input-div:before, .input-div:after { background: #7c6cff; }
.input-div.focus > .i { color: #a99fff; }
.login-content .btn {
    width: 100%;
    min-height: 50px;
    margin-top: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c6cff, #6756f4);
    box-shadow: 0 12px 28px rgba(103, 86, 244, .32);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
}
.login-content .btn:hover { transform: translateY(-1px); background-position: initial; }
.login-content .btn:disabled { opacity: .65; cursor: wait; }

@media screen and (max-width: 900px) {
    .login-container {
        min-height: 100vh;
        margin: 0;
        padding: 24px;
        grid-template-columns: 1fr;
        align-items: center;
    }
    .login-content { align-items: center; }
    .login-content form { margin: 0; }
}

@media screen and (max-width: 480px) {
    .login-container { padding: 14px; }
    .login-content form { padding: 28px 22px; border-radius: 18px; }
}
