/* assets/login-page.css */

/* --- Global & Font Styles --- */
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap');

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6; /* A soft background for the whole page */
}

/* --- Main Split Layout Container --- */
.login-container {
    display: flex; /* Magic starts here: enables Flexbox */
    width: 100%;
    min-height: 100vh; /* Ensures the container fills the full screen height */
    overflow: hidden; /* Prevents accidental scrolling */
}

/* --- Left Side (Image/Branding) --- */
.login-image-side {
    flex: 1; /* Takes up 50% of the available space */
    background: linear-gradient(45deg, #009efb, #02c076); /* Example gradient */
    /* Uncomment below to use a background image instead */
    /*
    background-image: url('https://source.unsplash.com/random/900x1600/?medical,technology');
    background-size: cover;
    background-position: center;
    */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.image-content {
    max-width: 400px;
}

.image-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.image-content p {
    font-size: 1.1rem;
    font-weight: 300;
}


/* --- Right Side (Login Form) --- */
.login-form-side {
    flex: 1; /* Takes up the other 50% of the space */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #f4f7f6;
}

/* --- Login Card Styling --- */
.login-card {
    width: 100%;
    max-width: 420px; /* Limits the width of the card on large screens */
    border: none; /* Cleaner look without default borders */
    border-radius: 8px; /* Softer corners */
}

.login-card .card-body {
    padding: 2rem; /* More spacing inside the card */
}

.login-card .form-control {
    padding: 0.9rem 0.75rem;
    border-radius: 6px;
}

/* --- Responsive Breakpoint --- */
@media (max-width: 992px) {
    /* On tablets and smaller screens, hide the image side */
    .login-image-side {
        display: none;
    }

    /* The form side will now take up the full width automatically */
    .login-form-side {
        padding: 1rem; /* Less padding on smaller screens */
    }
}