/* Define CSS Variables for consistent theming */
:root {
    --primary-blue: #4285F4; /* Google Blue */
    --primary-purple: #673AB7; /* A shade of purple */
    --primary-teal: #009688; /* A shade of teal */
    --accent-color: #FFC107; /* A warm accent, e.g., amber */
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f0f2f5;
    --card-background: #fff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-family);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #e0f7fa, #e8eaf6); /* Light, subtle gradient */
    color: var(--text-dark);
    overflow: hidden; /* Prevent scrollbars if content slightly overflows */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent scrollbars if content doesn't fit perfectly */
}

.login-bg {
    background: #fff url(../images/login-bg.svg) no-repeat;
    background-size: cover;
    background-position: bottom left;
    background-attachment: fixed;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    min-height: 600px;
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    overflow: hidden;
}

.login-illustration-column {
    flex: 3; /* Approx 60% */
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple), var(--primary-teal));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-illustration-column img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}


.illustration-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1); /* A subtle overlay for the illustration area */
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    color: var(--text-light);
    text-align: center;
    /* For actual illustration, remove background-color and add img tag */
}

.login-form-column {
    flex: 2; /* Approx 40% */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-card {
    background-color: var(--card-background);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    width: 100%;
    max-width: 400px; /* Max width for the login card itself */
}

.app-logo img {
    max-width: 150px; /* Adjust size as needed */
    height: auto;
    margin-bottom: 30px;
}

.headline {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.info-text {
    font-size: 1em;
    color: #666;
    margin-bottom: 40px;
}

.google-signin-button {
    background-color: var(--card-background);
    color: var(--text-dark);
    border: 1px solid #dadce0;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.google-signin-button:hover {
    background-color: #f8f8f8;
}

.google-signin-button .google-logo {
    width: 20px;
    height: 20px;
}

.support-link {
    margin-top: 30px;
    font-size: 0.9em;
}

.support-link a {
    color: var(--primary-blue);
    text-decoration: none;
}

.support-link a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: auto;
        max-width: 90%;
    }

    .login-illustration-column {
        flex: none;
        height: 200px; /* Smaller height for illustration on mobile */
        padding: 15px;
    }

    .login-form-column {
        flex: none;
        padding: 30px;
    }

    .login-card {
        padding: 30px;
    }

    .headline {
        font-size: 1.8em;
    }
}
