* {
    font-family: 'Inter', helvetica, arial, 'sans-serif' !important;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.container {
    width: 800px;
    height: 500px;
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: 0.3s;
}

.welcome-back {
    background-color: #614778;
    color: white;
    padding: 20px;
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align the content to the top */
    position: relative;
}

.welcome-back img {
    width: 250px;
    height: 69px;
    object-fit: contain;
    margin-top: 50px; /* Space between top and the image */
}
/* Hiding the logo on small screens */
@media (max-width: 768px) {
    .welcome-back img {
        display: none;
    }
}

.welcome-back h2 {
    font-size: 24px;
    margin-top: 80px; /* Space between the logo and the heading */
    margin-bottom: 10px;
}
.fourofour h1 {
    font-size: 36px;
    margin-top: 80px; /* Space between the logo and the heading */
    margin-bottom: 10px;
}
.fourofour img {
    width: 800px;
    max-width: 100%;
    height: auto;
}
.fourofour {
    padding: 20px;
    align: center;
}

.welcome-back p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.sign-in-btn {
    background-color: white;
    color: rgba(97,71,120);
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.sign-in-btn:hover {
    background-color: #3F314B;
    color: white;
}

.create-account {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
}

.create-account h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.social-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.google:hover{
    color: #34A853;
}
.facebook:hover{
    color: #0866ff;
}
.apple:hover{
    color: #bd1db5;
}
.twitter:hover{
    color: #e40513;
}
/* Apply a consistent width to the input fields and remember-me div */
input[type="email"],
input[type="password"],
input[type="text"],
.remember-me {
    width: 100%;
    max-width: 300px; /* or whatever width you prefer */
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
}

/* Flexbox layout for checkbox and label */
.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ensure left alignment */
    margin-bottom: 15px; /* Adds space below the div */
}

/* Ensure the checkbox is flush to the left */
.remember-me input[type="checkbox"] {
    margin-right: 10px; /* Space between checkbox and label */
    margin-left: 10px; /* Remove any default margin on the left */
    
}

/* Remove any default margin or padding from the label */
.remember-me label {
    margin: 0;
    margin-bottom: 15px;
    padding: 0;
    font-size: 1.0em;
    color: #888;
}
.social {
    color: #333;
    font-size: 32px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.social:hover {
    /*background-color: #ddd;*/
}

.create-account p {
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
}

.create-account form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input {
    background-color: #f0f0f0;
    border: none;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 16px;
}

.sign-up-btn {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.sign-up-btn:hover {
    background-color: #e65c00;
}

.already-member {
    margin-top: 20px;
    font-size: 16px;
    color: #888;
}

.already-member a {
    color: #2EB97F;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.already-member a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        width: 90%;
    }

    .create-account {
        width: 100%;
        padding: 30px;
        order: 1;
    }

    .welcome-back {
        width: 100%;
        padding: 30px;
        order: 2;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 10px;
    }

    .welcome-back h2 {
        margin-top: 0px; /* Remove the top margin when in responsive mode */
    }

    .already-member {
        position: static;
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }
}
/* Greyed out button when disabled */
button:disabled {
    background-color: grey;
    color: white;
    cursor: not-allowed;
}