/* General Styles */

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

.container {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.left-section {
    flex: 1;
    padding: 40px;
    position: relative;
    /* For positioning the logo */
}

.left-section h1 {
    font-weight: 700;
    margin-bottom: 10px;
}

.left-section p {
    color: #7a7a7a;
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-sizing: border-box;
}

.login-button {
    background-color: #a52933;
    color: #fff;
    padding: 12px;
    border: none;
    width: 100%;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.login-button:hover {
    background-color: #d74c57;
}

.forgot {
    text-align: center;
    color: #7a7a7a;
    text-decoration: none;
}

.right-section {
    flex: 1;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.illustration {
    max-width: 80%;
}


/* Mobile Responsive Styles */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        /* Stack sections vertically on mobile */
        margin: 20px auto;
        /* Reduce margin for smaller screens */
        border-radius: 10px;
        /* Smaller border radius for mobile */
    }
    .left-section {
        padding: 20px;
        /* Reduce padding for smaller screens */
    }
    .left-section h1 {
        font-size: 24px;
        /* Smaller font size for mobile */
        margin-top: 60px;
        /* Add space for the logo */
    }
    .left-section p {
        font-size: 14px;
        /* Smaller font size for mobile */
    }
    input[type="text"],
    input[type="password"] {
        padding: 10px;
        /* Smaller padding for inputs */
        font-size: 14px;
        /* Smaller font size for inputs */
    }
    .login-button {
        padding: 10px;
        /* Smaller padding for button */
        font-size: 14px;
        /* Smaller font size for button */
    }
    .right-section {
        display: none;
        /* Hide the right section on mobile */
    }
    .logo {
        position: absolute;
        /* Move logo to the top */
        top: 10px;
        /* Adjust top position */
        left: 50%;
        /* Center the logo */
        transform: translateX(-50%);
        text-align: center;
        /* Center the logo */
        margin-bottom: 20px;
        /* Add margin below the logo */
    }
}