* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    /* Vertical gradient background */
    background: linear-gradient(to right, #5de0e6, #004aad);
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    overflow: hidden; /* Prevents scrollbars if the illustration is tall */
    position: relative;
}

.main-container {
    display: flex;
    width: 100%;
    height: 100%;
    /* grid-template-rows: auto auto;
    grid-template-columns: 100%; */
    /* max-width: 1200px; */
    justify-content: space-between;
    align-items: center;
}

/* --- Left Column (Login Form) --- */
.login-container {
    flex: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 150px; /* Spacing between logo, form fields, and button */
    /* padding-right: 50px; */
}

form {
    align-self: flex-start; /* Keep this to align the form itself */
    width: 100%; /* Ensure the form spans the full width of its parent */
    display: flex;
    flex-direction: column; /* Allows align-self: center to work on its children (the button) */
    align-items: center; /* This centers everything inside the form */
}

.logo {
    width: 263px; /* Adjust width based on your actual logo size */
    height: auto;
    padding-left: 63px;
    padding-top: 20px;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns label and input to the right of their container */
    gap: 20px;
    padding: 10px;
}

.form-label {
    color: #2a6ef2; /* A medium blue color for the text */
    font-weight: 700;
    font-size: 1.5rem;
    text-align: right;
    min-width: 150px; /* Ensures labels have a consistent width */
}

.form-input {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
    border: none;
    border-radius: 50px; /* Makes the input a "pill" shape */
    padding: 15px 25px;
    font-size: 1rem;
    color: #2c5282;
    width: 250px;
    outline: none; /* Removes default browser focus outline */
}

.form-input::placeholder {
    color: #4a5568;
    font-style: italic;
    opacity: 0.7;
}

.login-button {
    background-color: #2a6ef2; /* A solid blue color */
    color: white;
    border: none;
    border-radius: 15px;
    padding: 15px 60px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    /* align-self: flex-end; Aligns the button to the right, under the inputs */
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
    width: 250px;
}

.login-button:hover {
    background-color: #2c5282; /* Darker blue on hover */
}

/* --- Right Column (Illustration) --- */
.image-container {
    flex: 1;
    display: flex;
    justify-content: right;
    align-items: center;
}

.doctor-img {
    height: 100vh;
    /* max-width: 120%; */
    /* height: 200%; */
    /* Optional: adds a subtle drop shadow to the illustration for depth */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.messages {
    color: red;
    font-size: 18px;
    margin-top: 10px;
}

/* Basic Responsiveness */
@media (max-width: 900px) {
    .main-container {
        flex-direction: column;
        width: 90%;
    }
    .login-container {
        padding-right: 0;
        align-items: center;
        margin-bottom: 50px;
    }
    .form-group, .login-button {
        justify-content: center;
        align-self: center;
    }
    .form-label {
        text-align: left;
        min-width: auto;
    }
    .image-container {
        width: 80%;
    }
}