body {
    font-family: 'Inter', sans-serif;
    background-color: #1c6f3a;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    /* Slightly smaller for better fit */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    /* Ensure it behaves as a flex item if needed */
}

/* Ensure the row inside container takes full height if login-container has set height */
.login-container>.row {
    width: 100%;
    margin: 0;
}

.login-left {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    background: #fff;
}

.left-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    margin: 15px 0;
}

.left-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-text {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 25px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.login-right {
    padding: 60px 40px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right.register-padding {
    padding: 30px 40px;
}

.login-right h1 {
    color: #1c6f3a;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-right p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.btn-login {
    background-color: #f26722;
    border-color: #f26722;
    color: #fff;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #d95a1d;
    border-color: #d95a1d;
    color: #fff;
}

.form-control {
    padding: 12px 15px;
    border-radius: 6px;
}

.form-control:focus {
    border-color: #1c6f3a;
    box-shadow: 0 0 0 0.25rem rgba(28, 111, 58, 0.25);
}

.logo {
    max-width: 120px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 12px;
    color: #adb5bd;
}

@media (max-width: 767.98px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        min-height: auto;
        padding: 20px;
    }

    .left-image-wrapper {
        height: 250px;
    }

    .login-right {
        padding: 40px 20px;
    }
}