@import url('https://fonts.googleapis.com/css2?family=poppins:wght@300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, #fbfdfd,  #303385);

}
.container {
    position: relative;
    width: 850px;
    height: 550px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(32, 32, 32, 0.2);
    overflow: hidden;
}
.form-box-login{
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background:#ffffff;
    display: flex;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 40px;
    z-index: 1;
}


form { width:100%}

.container h1 {
    font-size: 36px;
    margin: -10px 0;
}
.input-box{
    position:relative;
    margin: 30px 0;

}

.input-box input{
    width: 100%;
    padding: 13px 50px 13px 20px;
    background: #eee;
    color: #9e9c9c;
    border: none;
    border-radius: 8px;
    outline: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}
.input-box input::placeholder {
    color:#c7c4c4;
    font-weight: 400;

}
.input-box i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #888;
}
.forgot-password{
    margin: -15px 0 15px;
}

.forgot-password a {
    text-decoration: none;
    color: #333;
    font-size: 14.5px;
}
.btn{
    width: 100%;
    height: 48px;
    background: #101414;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(41, 40, 40, 0.2);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight:600;
}
.container p {
    font-size: 14.5px;
    margin: 15px 0;
}

.Welcome-back{
    position: absolute;
    width: 100%;
    height: 100%;
}
.welcome-panel{
    position:absolute;
    width: 50%;
    height: 100%;
    background:  #303385;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* ...existing code... */

/*responsiveness for mobile devices*/
@media (max-width: 768px) {
    .container {
        width: 90%;
        height: auto;
        flex-direction: column;
        border-radius: 20px;
    }

    .form-box-login, .welcome-panel {
        position: relative;
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .form-box-login {
        z-index: 2;
    }

    .welcome-panel {
        display: none; /* Hide welcome panel on smaller screens */
    }

    .input-box input {
        font-size: 14px;
        padding: 10px 40px 10px 15px;
    }

    .btn {
        height: 40px;
        font-size: 14px;
    }

    .social-media a {
        font-size: 20px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 28px;
    }

    .input-box input {
        font-size: 12px;
        padding: 8px 35px 8px 10px;
    }

    .btn {
        height: 36px;
        font-size: 12px;
    }


}
.logo {
    display: block;
    margin: 0 auto 0px; /* Centers the logo and adds spacing below */
    width: 200px; /* Adjust the width as needed */
    height: auto; /* Maintains aspect ratio */
    object-fit: contain; /* Ensures the logo fits within the dimensions */
    margin-bottom: 10px;
    margin-top: 10px;
}


