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

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 900px;
    background-color: #fff;
    box-shadow: 0 0 6px rgba(20, 20, 20, 0.1);
    border-radius: 25px;
    overflow: hidden;
    display: flex;
}

.login-box {
    width: 100%;
    display: flex;
}

.left-section {
    width: 50%;
    padding: 40px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.left-section form {
    width: 100%;
}

.avatar {
    width: 200px;
    height: 100px;
    margin-bottom: 20px;
}

.avatar img { 
    width: 100%; 
}

h2 {
    margin-bottom: 20px;
    color: #0082ee;
    font-size: 24px;
}

.input-box {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.input-box input:focus-visible {
    outline: 1.2px solid #50ecd2;
    border-color: #50ecd2;
    outline-offset: 0;
}
.input-box input {
    width: 100%;
    padding: 15px 15px 15px 54px;
    border-radius: 40px;
    font-size: 16px;
    box-shadow: 0px 0.5px 4px #c4c4c4;
    border: none;
}

.input-box i {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    font-size: 19px;
    background: linear-gradient(45deg, #0082ee, #50ecd2);
    padding: 15px;
    color: white;
    border-radius: 46px 0 46px 46px;
}

.btn {
    width: 100%;
    padding: 15px; 
    background: linear-gradient(45deg, #0082ee, #50ecd2);
    border: none;
    border-radius: 40px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.btn:hover {
    background-color: #50ecd2;
}

 
.login-type {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.login-type label {
    margin-right: 20px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.right-section {
    width: 50%;
    background-color: #d3fcfb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.right-section img {
    width: 100%;
    max-width: 400px;
}

/* Media queries for responsiveness */
@media screen and (max-width: 915px) {
    
    .login-container {
        width: 90%;
    }

}
@media screen and (max-width: 767px) {
    .container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    body {
        background-color: #fff;
    }
    .login-container {
        box-shadow: none;
     }

    .left-section {
        padding: 60px;
    }
    .input-box input {
        padding: 16px 15px 16px 60px; 
    }
    
    .login-box {
        flex-direction: column;
    }
    
    .left-section,
    .right-section {
        width: 100%;
        padding: 50px;
    }
    
    .right-section {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    body {
        background-color: #fff;
    }
    .login-container {
        box-shadow: none;
     }

    .left-section {
        padding: 40px;
    }
    
    .input-box input {
        padding: 10px 10px 10px 40px;
        font-size: 13px;
    }
    .input-box i {
        position: absolute;
        top: 50%;
        left: 0px;
        transform: translateY(-50%);
        font-size: 14px;
        background: linear-gradient(45deg, #0082ee, #50ecd2);
        padding:9px;
        color: white;
        border-radius: 46px 0 46px 46px;
    }
    
    .btn {
        padding: 12px;
        font-size: 16px;
    }
}

@media screen and (max-width: 400px) {
    body {
        background-color: #fff;
    }

    .login-container {
       box-shadow: none;
    }
   
    .left-section {
        padding: 30px;
    }
    
    .input-box input {
        padding: 10px 10px 10px 48px;
        font-size: 12px;
    }

    .input-box i {
        position: absolute;
        top: 50%;
        left: 0px;
        transform: translateY(-50%);
        font-size: 14px;
        background: linear-gradient(45deg, #0082ee, #50ecd2);
        padding:9px;
        color: white;
        border-radius: 53px 0 48px 53px;
    }
    
    .btn {
        padding: 10px;
        font-size: 14px;
    }
}