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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #e0e7ff, #c3dafe);
}

.container {
    display: flex;
    width: 800px;
    height: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-container, .welcome-container {
    width: 50%;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: #fff;
}

.welcome-container {
    background:  #6996ed; 
    color: #fff;
    text-align: center;
}

.form-box {
    width: 100%;
}

.form {
    display: none;
}

.form.active {
    display: block;
}

.form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form button {
    width: 100%;
    padding: 10px;
    background: #6996ed;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}
input:focus{
    outline: none;
}
.form button:hover {
    background: #2563eb;
}

.forgot {
    display: block;
    text-align: right;
    margin: 10px 0;
    color: #6996ed;
    text-decoration: none;
}

.form p {
    text-align: center;
    margin: 20px 0;
    color: #666;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons img {
    width: 20px;
    height: 20px;
}

.welcome-box {
    display: none;
}

.welcome-box.active {
    display: block;
}

.welcome-box h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.welcome-box p {
    font-size: 16px;
    margin-bottom: 20px;
}

.welcome-box button {
    padding: 10px 20px;
    background: #fff;
    color: #3b82f6;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.welcome-box button:hover {
    background: #f1f1f1;
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .container {
        flex-direction: column; 
        width: 90%; 
        height: auto; 
        margin: 20px;
    }

    .form-container, .welcome-container {
        width: 100%; 
        padding: 20px; 
    }

    .form-container {
        order: 2; 
    }

    .welcome-container {
        order: 1; 
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%; 
    }
    .form-container, .welcome-container {
        padding: 15px; 
    }
}