:root {
    --red: #d32f2f;
    --blue: #1976d2;
    --gray: #37474f;
    --gray-light: #cfd8dc;
    --white: #ffffff;
  }

  body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: var(--gray-light);
    color: var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .login-container {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
  }

  .login-header {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .login-header h1 {
    font-size: 2.2rem;
    color: var(--gray);
    margin: 0;
    font-weight: 700;
  }

  .login-header p {
    color: var(--blue);
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
  }

  .login-form {
    display: flex;
    flex-direction: column;
  }

  .login-form label {
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .login-form input {
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    padding: 0.8rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
    outline: none;
  }

  .login-form input:focus {
    border-color: var(--blue);
  }

  .error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }

  .login-button {
    background: var(--red);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .login-button:hover {
    background: #b71c1c;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .forgot-password {
    text-align: right;
    font-size: 0.9rem;
  }

  .forgot-password a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s;
  }

  .forgot-password a:hover {
    color: #1565c0;
  }

  .footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray);
  }

  .footer a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer a:hover {
    color: #1565c0;
  }

  /* Estilos específicos para pantallas pequeñas */
  @media (max-width: 768px) {
    body {
      background: var(--white);
      padding: 0;
    }

    .login-container {
      border-radius: 0;
      box-shadow: none;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 2rem;
    }

    .login-header h1 {
      font-size: 2.5rem;
    }

    .login-button {
      font-size: 1.2rem;
      padding: 1rem;
    }

    .footer {
      margin-top: 2rem;
    }
  }
