/* Diseño profesional serio pero creativo con la paleta corporativa */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(105, 28, 50, 0.2);
    width: 90%;
    max-width: 400px;
    border-top: 5px solid #691C32;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.login-form h2 {
    color: #691C32;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

.login-form p {
    color: #6F7271;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    color: #10312B;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: white;
    color: #10312B;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #691C32;
    box-shadow: 0 0 0 2px rgba(105, 28, 50, 0.2);
}

button {
    width: 100%;
    padding: 0.9rem;
    background-color: #691C32;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

button:hover {
    background-color: #5a172a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 28, 50, 0.3);
}

.error-msg {
    color: #691C32;
    text-align: center;
    margin-top: 1rem;
    display: none;
    font-size: 0.9rem;
    background-color: rgba(105, 28, 50, 0.1);
    padding: 0.5rem;
    border-radius: 4px;
}

/* Efecto adicional para los inputs al hacer hover */
.input-group input:hover {
    border-color: #BC955C;
}

/* Añade estas nuevas reglas al CSS existente */

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
  
  .logo {
    height: 50px; /* Ajusta según necesidad */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .logo:hover {
    transform: scale(1.05);
  }
  
  /* Ajustes para mantener el diseño responsive */
  @media (max-width: 480px) {
    .logo {
      height: 40px;
    }
    
    .logo-container {
      padding: 0;
    }
  }
  
  /* Ajuste del margen superior del título para compensar las imágenes */
  .login-form h2 {
    margin-top: 0.5rem; /* Reducido desde 0.5rem original */
  }