@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0%;
    padding: 0;
}

body{
    position: relative;
}

.cookie-pop {
    position: fixed;
    bottom: 4%;
    left: 2%;
    width: 340px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 16px;
    color: #888;
    cursor: pointer;
    line-height: 1;
}

.cookie-pop h3 {
    font-size: 0.8rem;
    font-weight: bold;
    color: #003366;
}

.cookie-pop p {
    font-size: 0.6rem;
    line-height: 1.5;
    color: #333;
}

.cookies-btn {
    align-self: flex-end;
    width: fit-content;
    padding: 8px 20px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.6rem;
    cursor: pointer;
}

.cookies-btn:hover {
    background: #1558b0;
}

.container{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.left{
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.left img{
    width: 25%;
}

.left h1{
    font-size: 1.8rem;
    font-weight: 600;
    color: #464646;
}

.left p{
    color: #464646;
    font-size: .7rem;
}

.left form{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
}

.left form button{
    width: 100%;
    padding: 10px 0;
    color: white;
    background-color: #387DDE;
    border: none;
    outline: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: .7rem;
}

.left form button:hover{
    background-color: #2e6ac1;
}

.right{
    position: relative;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg,#42C0E5 0%,#3177BC 31%,#274CA5 67%,#213598 80%,#213598 100%);
    overflow: hidden;
}

.login-bg{
    position: absolute;
    width: 155%;
    left: -35%;
    top: -5%;
    z-index: 1;
    filter: brightness(70%);
}

.ec-mock{
    position: absolute;
    top: 13%;
    left: 0%;
    z-index: 5;
    color: white;
    font-family: 'Montserrat',sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
}

.ec-mock img{
    width: 60%;
}

.tnc{
    font-size: 10px;
}

.login-head{
    width: 85%;
    font-weight: 600;
    font-size: 1.8rem;
}

.login-para{
    font-size: .7rem;
    width: 85%;
}

.password-container {
    position: relative;
}

.show-password {
    position: absolute;
    right: 5px;
    cursor: pointer;
}

.email, .password-container{
    width: 100%;
    font-family: 'Roboto',sans-serif;
    color: #464646;
    position: relative;
    outline: 1px solid #c0c0c0;
    border-radius: 4px;
    /* padding: 1rem; */
    font-size: .7rem;
}

.email:focus-within, .password-container:focus-within{
    outline: 1px solid #387DDE;
}

.email:focus-within.email label , .password-container:focus-within.password-container label{
    color: #387DDE;
}

.email input, .password-container input{
    border: none;
    outline: none;
    width: 100%;
    font-size: .7rem;
    padding: 1rem;
}

.password-container input{
    width: 90% !important;
}

.email label, .password-container label{
    font-size: .55rem;
    background-color: white;
    padding: 0 5px;
    position: absolute;
    top: -6px;
    left: 10px;
}

.password-container i{
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.5rem 0.8rem;
    height: 100%;
    width: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.err_div span{
    color: #b00d0e;
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
}

@media screen and (min-width: 1440px){
    .left h1, .login-head{
        font-size: 2.2rem;
    }

    .left p, .email input, .password-container input, .left form button, .login-para{
        font-size: .8rem;
    }

    .email label, .password-container label{
        font-size: .65rem;
    }

    .cookie-pop h3{
        font-size: 1rem;
    }

    .cookie-pop p, .cookies-btn{
        font-size: 0.75rem;
    }    
}