body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* Layout Containers */
.login-container {
    display: flex;
    min-height: 100vh;
}

.left-panel {
    background-image: url("{{ asset('images/leftbox.png') }}");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.right-panel {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    padding: 40px;
}

/* Logo */
.logo-container {
    text-align: center;
}
.logo-container img {
    width: 300px;
    max-width: 80%;
}

/* Login Form */
.login-form-container {
    max-width: 400px;
    width: 100%;
}
.login-form-container h2 {
    font-weight: 700;
    color: #41955f;
    font-size: 2.2rem;
    margin-bottom: 30px;
}
.login-form-container h2 span {
    display: block;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 25px;
}
.form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding-left: 35px;
    background-color: transparent;
    box-shadow: none !important;
}
.form-control:focus {
    border-bottom: 2px solid #4CAF50;
}
.form-group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* Buttons & Links */
.btn-login {
    background-color: #41955f;
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-weight: 600;
    width: 100%;
    color: white;
    transition: background-color 0.3s;
}
.btn-login:hover {
    background-color: #41955f;
    color: white;
}
.forgot-password a {
    color: #6c757d;
    font-size: 0.9rem;
}
.terms-text {
    font-size: 0.8rem;
    color: #41955f;
    text-align: center;
    margin-top: 20px;
}
.register-link {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #6c757d;
}
.register-link a {
    color: #41955f;
    font-weight: 600;
    text-decoration: none;
}

/* Captcha & Checkbox */
.captcha-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.captcha-container span {
    border: 1px solid #ddd;
    border-radius: 5px;
}
.captcha-container .reload {
    font-size: 1.2rem;
    cursor: pointer;
    color: #41955f;
}
.form-check-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* New styles for the checkbox and captcha layout */
.captcha-group-container {
    margin-bottom: 25px;
}
.captcha-label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #41955f;
    cursor: pointer;
    margin-bottom: 10px;
}
.captcha-label input[type="checkbox"] {
    margin-right: 10px;
}
.captcha-container-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.captcha-container-inline span {
    border: 1px solid #ddd;
    border-radius: 5px;
    flex-grow: 1;
    margin-right: 10px;
}
.captcha-container-inline .reload {
    font-size: 1.2rem;
    cursor: pointer;
    color: #41955f;
    margin-right: 10px;
}
.captcha-input {
    flex-grow: 2;
    padding-left: 10px;
}

/* Utility */
.login-color {
    color: #41955f !important;
}

/* Responsive */
@media (max-width: 992px) {
    .left-panel { width: 40%; }
    .right-panel { width: 60%; }
}
@media (max-width: 768px) {
    .left-panel { display: none; }
    .right-panel {
        width: 100%;
        padding: 20px;
    }
    .login-form-container {
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 15px;
        background-color: #fff;
    }
}
