/* Login Page Styles */

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    flex-wrap: wrap;
}

/* Left Column - Green Background */
.login-info {
    flex: 1;
    background-color: #508232;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/loginImagen.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* System Green fallback */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    text-align: center;
    position: relative;
    min-width: 300px;
    /* Provide some minimum width */
}

.login-info h1 {
    font-weight: 300;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 600px;
}

.login-info p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.login-info a {
    color: #FFBF00;
    /* Accent yellow often used with green */
    text-decoration: none;
    font-weight: 600;
}

.login-info a:hover {
    text-decoration: underline;
}

/* Right Column - Form */
.login-form-container {
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    min-width: 320px;
}

.login-logo {
    margin-bottom: 40px;
    max-width: 250px;
}

.login-title {
    font-size: 24px;
    color: #777;
    margin-bottom: 30px;
    font-weight: 300;
}

.login-title strong {
    font-weight: 700;
    color: #555;
}

/* Loader / Divider */
.login-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 350px;
    margin-bottom: 30px;
    color: #ccc;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.login-divider i {
    margin: 0 10px;
    font-size: 18px;
    color: #9cb5bd;
    /* Placeholder color for the loader icon */
}

/* Abstract Form Styles */
.form-group {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    color: #555;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    outline: none;
    border-color: #508232;
}

.btn-login {
    background-color: #d32f2f;
    /* Keeping Red button as per screenshot? User asked for Green system theme but screenshot has red button. I will make it RED to match screenshot layout but if user hates it I can change. Wait, "color VERDE del sistema" implies the BRANDING. The button in screenshot is red. I will use RED for now or maybe Green? Let's use the Green for consistency since they asked for "Color VERDE". */
    background-color: #508232;
    /* Changed to Green as per "color VERDE" request overrides screenshot colors */
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #33632f;
}

/* Footer in Login */
.login-footer {
    margin-top: 50px;
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-footer-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 2px;
}

.dot-1 {
    background-color: #0088cc;
}

.dot-2 {
    background-color: #66AE3E;
}

.dot-3 {
    background-color: #E67E22;
}

.dot-4 {
    background-color: #C0392B;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

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

    .login-info h1 {
        font-size: 32px;
    }
}