/* --- GLOBAL & BODY --- */
body {
    font-family: 'Poppins', sans-serif;
    /* background-color: #222; */
    /* Consistent dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

/* --- CONTAINER CARD --- */
.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    display: flex;
    min-height: 600px;
}

/* --- LEFT SIDE (FORM) --- */
/* Note: Order swapped relative to signup based on your image */
.login-form-side {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

/* --- RIGHT SIDE (IMAGE) --- */
.login-image-side {
    flex: 1;
    background-color: #fdd835;
    /* Yellowish background from image */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- CONTAINER CARD --- */
.signup-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 1100px;
    /* Limits width on large screens */
    display: flex;
    min-height: 600px;
    /* Ensures a good height on desktop */
}

/* --- LEFT SIDE (IMAGE) --- */
.signup-image-side {
    flex: 1;
    /* Takes 50% width */
    background-color: #00d2be;
    /* Teal background matching illustration */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.signup-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- RIGHT SIDE (FORM) --- */
.signup-form-side {
    flex: 1;
    /* Takes 50% width */
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

/* --- TYPOGRAPHY --- */
.welcome-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #222;
}

.welcome-subtitle {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* --- FORM ELEMENTS --- */
.form-label-custom {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    display: block;
}

.form-control-custom {
    background-color: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #333;
    width: 100%;
}

.form-control-custom:focus {
    border-color: #0b1c3c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 28, 60, 0.1);
}

/* Forgot Password Link */
.forgot-password-link {
    display: block;
    text-align: right;
    /* Or left based on preference, image implies left/inline */
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    margin-bottom: 20px;
    text-decoration: none;
}

.forgot-password-link a {
    color: #0b1c3c;
    font-weight: 600;
    text-decoration: underline;
}

/* Buttons */
.btn-login-main {
    background-color: #0b1c3c;
    /* Dark Blue */
    color: white;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: background 0.3s;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-login-main:hover {
    background-color: #152c55;
}

/* Divider */
.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin: 10px 0 20px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.divider-text::before {
    margin-right: 10px;
}

.divider-text::after {
    margin-left: 10px;
}

/* Social Buttons */
.btn-social {
    background: white;
    border: 1px solid #e0e0e0;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    transition: all 0.2s;
    text-decoration: none;
    width: 100%;
}

.btn-social:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.register-link {
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
}

.register-link a {
    color: #0b1c3c;
    font-weight: 600;
    text-decoration: underline;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 991px) {
    .login-container {
        flex-direction: column-reverse;
        /* Stack: Form on top, Image hidden/bottom */
        max-width: 500px;
    }

    .login-image-side {
        display: none;
    }

    /* Hide image on mobile */
    .login-form-side {
        padding: 40px 25px;
    }
}