:root {
    --color-bg-page: #ebefe9;        /* Fondo claro del mockup */
    --color-primary: #2c4c2e;        /* Verde oscuro institucional */
    --color-primary-hover: #1e361f;  /* Hover del botón */
    --color-secondary: #708a63;      /* Verde medio/hoja */
    --color-text-dark: #1b281b;      /* Texto oscuro */
    --color-text-muted: #5e6c5f;     /* Texto secundario */
    --color-border: #d2ded0;         /* Bordes suaves */
    --color-white: #ffffff;
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
  }
  
  body {
    display: flex;
    min-height: 100vh;
    background-color: var(--color-bg-page);
    color: var(--color-text-dark);
  }
  
  .login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
  }
  
  /* Panel Izquierdo: Branding */
  .brand-panel {
    flex: 1;
    background: linear-gradient(135deg, rgba(44, 76, 46, 0.93), rgba(27, 40, 27, 0.9)),
                url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3.5rem;
    color: var(--color-white);
  }
  
  .brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .brand-logo-img {
    height: 250px;
    width: auto;
    object-fit: contain;
  }
  
  .brand-title-wrap {
    display: flex;
    flex-direction: column;
  }
  
  .brand-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
  }
  
  .brand-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: #a3c299;
  }
  
  .brand-quote {
    max-width: 500px;
  }
  
  .brand-quote h1 {
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    color: #ffffff;
  }
  
  .brand-quote p {
    font-size: 1.05rem;
    color: #d1e0ce;
    line-height: 1.6;
  }
  
  .brand-footer {
    font-size: 0.85rem;
    opacity: 0.75;
  }
  
  /* Panel Derecho: Formulario */
  .form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background-color: var(--color-bg-page);
  }
  
  /* Tarjeta limpia en blanco para el formulario */
  .form-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
  }
  
  .form-header {
    margin-bottom: 2rem;
  }
  
  .form-header h2 {
    font-size: 1.85rem;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
  }
  
  .form-header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
  }
  
  .input-group {
    margin-bottom: 1.25rem;
  }
  
  .input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
  }
  
  .input-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #fcfdfe;
    transition: all 0.2s ease;
    outline: none;
  }
  
  .input-group input:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(44, 76, 46, 0.15);
  }
  
  .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
  }
  
  .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
  }
  
  .forgot-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
  }
  
  .forgot-link:hover {
    text-decoration: underline;
  }
  
  .btn-submit {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .btn-submit:hover {
    background-color: var(--color-primary-hover);
  }
  
  .form-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
  }
  
  .form-footer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
  }
  
  .form-footer a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .brand-panel {
      display: none;
    }
    .form-panel {
      padding: 1.25rem;
    }
    .form-card {
      padding: 1.75rem;
      box-shadow: none;
      border: none;
      background: transparent;
    }
  }