.login-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;

    padding: 20px;
}

.login-modal.active {
    display: flex;
}

.login-popup {

    width: 900px;
    max-width: 100%;

    background: #fff;
    border-radius: 18px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    position: relative;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.login-close {

    position: absolute;
    top: 15px;
    right: 20px;

    border: none;
    background: none;

    font-size: 32px;
    cursor: pointer;

    z-index: 2;
}

.login-left {

    padding: 50px;

    border-right: 1px solid #eee;
}

.login-left h2 {

    margin-bottom: 30px;
    font-size: 32px;
}

.login-left label {

    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.login-left input {

    width: 100%;
    height: 55px;

    border: 1px solid #ddd;
    border-radius: 10px;

    padding: 0 15px;

    margin-bottom: 20px;
}

.forgot-link {

    display: block;
    margin-bottom: 25px;

    color: #0d6efd;
    text-decoration: none;
}

.btn-continue {

    width: 100%;
    height: 55px;

    border: none;

    background: #0d6efd;
    color: #fff;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;
}

.login-right {

    padding: 50px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h3 {

    margin-bottom: 15px;
}

.create-account {

    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;

    margin-bottom: 35px;
}

.social-login {

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {

    height: 50px;

    border: 1px solid #ddd;
    border-radius: 10px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 0 18px;

    text-decoration: none;
    color: #333;

    transition: .3s;
}

.social-btn:hover {

    background: #f5f7fb;
}

.social-btn i {

    font-size: 22px;
}
/* ==========================
   TABLET
========================== */

@media (max-width: 992px){
    .login-popup{
        width:90%;
        max-width:700px;
    }
}

/* ==========================
   MOBILE
========================== */
@media (max-width:768px){
    .login-popup{
        width:95%;
        max-width:420px;
        display:flex;
        flex-direction:column;
        padding:25px;
        gap:25px;
        max-height:90vh;
        overflow-y:auto;
    }
    .login-left,
    .login-right{
        width:100%;
    }
    .login-right{
        border-left:none;
        border-top:1px solid #e5e5e5;
        padding-left:0;
        padding-top:20px;
        text-align:center;
    }
    .login-right h3{
        font-size:18px;
        margin-bottom:15px;
    }
    .login-right a{
        display:block;
        width:100%;
        margin-bottom:10px;
    }
    .login-left label{
        font-size:14px;
    }
    .login-left input{
        height:50px;
        font-size:14px;
    }
    .continue-btn{
        width:100%;
    }
    .create-account {
        text-align: center;
        margin-bottom: 25px;
    }
}

/* ==========================
   SMALL MOBILE
========================== */
@media (max-width:480px){
    .login-popup{
        width:95%;
        padding:20px;
    }
    .login-left input{
        height:48px;
    }
    .continue-btn{
        height:48px;
        font-size:15px;
    }
    .close-login{
        top:12px;
        right:12px;
    }
}