
:root {
    /* Paleta Verde Profesional */
    --brand-green-primary: #1e7d4d; /* Verde bosque equilibrado */
    --brand-green-dark: #0f4028;    /* Verde muy profundo */
    --brand-green-light: #3ab172;   /* Tu verde original como acento */
    --brand-bg-soft: #f0fdf4;       /* Fondo verde casi blanco */
    --primary-dark: #0f172a;        /* Contraste oscuro */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: white;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.split-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* --- Lado Izquierdo: Visual --- */
.visual-side {
    flex: 1;
    background-image: url('https://preview.redd.it/the-field-3840x2160-v0-7k1kqvuzw9891.jpg?auto=webp&s=0ee329040b2c16eb6574addd3b457f46bfcc9079');
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
}

/* Gradiente Verde Sofisticado sobre la imagen */
.visual-side::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(15, 64, 40, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
}

.visual-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* --- Lado Derecho: Formulario --- */
.form-side {
    width: 100%;
    background-color: var(--brand-bg-soft); /* Fondo sutil para no cansar la vista */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    border-left: 1px solid #e2e8f0;
}

.form-container {
    width: 100%;
    max-width: 380px;
}

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.form-label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #64748b;
}

/* Inputs Modernos */
.form-control {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    background-color: white;
    border-color: var(--brand-green-light);
    box-shadow: 0 0 0 4px rgba(58, 177, 114, 0.15);
}

.input-group-text {
    border-radius: 0.75rem 0 0 0.75rem;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.form-control-with-icon {
    border-radius: 0 0.75rem 0.75rem 0;
}

/* Botón con Identidad Verde */
.btn-login {
    background-color: var(--brand-green-primary);
    color: white;
    padding: 0.9rem;
    border-radius: 0.75rem;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(30, 125, 77, 0.2);
}

.btn-login:hover {
    background-color: var(--brand-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(30, 125, 77, 0.3);
    color: white;
}

.brand-badge {
    display: inline-block;
    background-color: var(--brand-bg-soft);
    color: var(--brand-green-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .visual-side { display: flex; }
    .form-side { width: 45%; flex: none; }
}