
/* Login Container */

.login-container{
    max-width: 1000px;
    margin: 55px auto;
    padding: 0 15px;
}

.login-row{
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    min-height: 520px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 10px 40px rgba(19, 73, 137, 0.09);
}


/* Back Button */

.back-link{
    display: inline-block;
    margin: 20px 0 0 5%;
    text-decoration: none;
}

.back-btn{
    padding: 8px 18px;
    border: 1px solid #134989;
    border-radius: 8px;
    background-color: transparent;
    color: #134989;
    font-family: inherit;
    transition: 0.2s;
}

.back-btn:hover{
    background-color: #134989;
    color: white;
    transform: translateX(-3px);
}

.back-btn i{
    font-size: 18px;
    vertical-align: middle;
}


/* Left Side */

.left-side{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px;
}

.login-content{
    width: 100%;
    max-width: 360px;
}

.login-content h3{
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-description{
    color: #777;
    margin-bottom: 25px;
}


/* Social Links */

.social-links{
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.social-links a{
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    color: #134989;
    font-size: 17px;
    text-decoration: none;
    transition: 0.2s;
}

.social-links a:hover{
    background-color: #134989;
    color: white;
    border-color: #134989;
    transform: translateY(-3px);
}


/* Input Fields */

.login-input-group{
    width: 100%;
    margin-top: 18px;
}

.login-input{
    height: 48px;
    border: 1px solid #dce4ee;
    border-left: none;
    border-radius: 0 9px 9px 0 !important;
    background-color: #f8fafc;
    font-family: inherit;
    font-size: 16px;
    box-shadow: none !important;
}

.login-input:focus{
    border-color: #134989;
    background-color: white;
}

.login-icon{
    width: 48px;
    justify-content: center;
    border: 1px solid #dce4ee;
    border-right: none;
    border-radius: 9px 0 0 9px !important;
    background-color: #f8fafc;
    color: #134989;
    font-size: 17px;
}


/* Error Messages */

.wrong-info-tag{
    display: none;
    font-size: 14px;
    margin: 5px 0 0;
}


/* Login Button */

.login-btn-login{
    width: 100%;
    height: 48px;
    margin-top: 25px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    transition: 0.2s;
}

.login-btn-login:hover{
    transform: translateY(-2px);
    background-color: #134989;
    color: white;
    box-shadow: 0 5px 15px rgba(19, 73, 137, 0.2);
}


/* Sign Up Text */

.signup-text{
    text-align: center;
    margin-top: 25px;
    color: #777;
}

.signup-text a{
    color: #134989;
    font-weight: 600;
    text-decoration: none;
}

.signup-text a:hover{
    text-decoration: underline;
}


/* Right Side */

.right-side{
    padding: 0;
    min-height: 520px;
}

.background-container{
    width: 100%;
    height: 100%;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px;
    text-align: center;
    color: white;
}

.background-container::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../image/login.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    transform: scale(1.05);
    z-index: -2;
}

.background-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(12, 43, 79, 0.88),
        rgba(19, 73, 137, 0.65)
    );
    z-index: -1;
}

.background-content{
    max-width: 350px;
}

.login-label{
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.background-content h2{
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.background-container p{
    font-size: 16px;
    line-height: 1.7;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 10px;
    transition: 0.2s;
}

.background-container p:hover{
    background-color: rgba(255,255,255,0.12);
}


/* Responsiveness */

@media (max-width: 768px){

    .login-container{
        margin: 35px auto;
    }

    .login-row{
        min-height: auto;
    }

    .left-side{
        padding: 40px 30px;
    }

    .right-side{
        min-height: 320px;
    }

    .background-container{
        min-height: 320px;
        padding: 30px;
    }

    .background-content h2{
        font-size: 34px;
    }
}

@media (max-width: 576px){

    .login-container{
        margin: 25px auto;
        padding: 0 20px;
    }

    .login-row{
        border-radius: 15px;
    }

    .left-side{
        padding: 35px 25px;
    }

    .login-content h3{
        font-size: 32px;
    }

    .right-side{
        min-height: 280px;
    }

    .background-container{
        min-height: 280px;
        padding: 25px;
    }

    .background-content h2{
        font-size: 30px;
    }

    .back-link{
        margin-left: 20px;
    }
}
