
    :root {
      --bg-color: #f5f5f5;
      --form-bg: #ffffff;
      --text-color: #1c1c1e;
      --border-color: #d1d1d6;
      --accent-color: #000000;
    }

    * {
      box-sizing: border-box;
    }

     body, html {
      margin: 0; padding: 0; height: 100%;
      font-family: 'Inter', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      
      position: relative;
      overflow: hidden;
    }

    /* Imagen de fondo atenuada */
    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background-image: url('../image/fondo1.jpg');
      background-size: cover;
      background-position: center;
      
      z-index: -1;
      filter: brightness(0.7);
    }


  

 .login-wrapper {
    background: #f2f2f2;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    max-width: 540px; /* <=== ancho ampliado */
    width: 95%;
    text-align: center;
    transition: all 0.3s ease;
  }

  @media (max-width: 480px) {
    .login-wrapper {
      padding: 30px 20px;
    }
  }

    .login-wrapper img {
      width: 180px;
      height: 65px;
      margin-bottom: 20px;
      border-radius: 16px;
      /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
    }

    h2 {
      font-weight: 600;
      color: var(--text-color);
      margin-bottom: 30px;
      font-size: 22px;
    }

    .form-group {
      position: relative;
      margin-bottom: 20px;
    }

    .form-group input {
      width: 100%;
      padding: 12px 14px 12px 44px;
      border: 1px solid var(--border-color);
      border-radius: 12px;
      font-size: 15px;
      background-color: #fafafa;
      color: var(--text-color);
      transition: border 0.3s ease, box-shadow 0.3s ease;
    }

    .form-group input:focus {
      border-color: var(--accent-color);
      box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
      outline: none;
    }

    .form-group i {
      position: absolute;
      top: 50%;
      left: 14px;
      transform: translateY(-50%);
      color: #999;
      font-size: 16px;
    }

    button {
      width: 100%;
      padding: 12px;
      background-color: var(--accent-color);
      border: none;
      border-radius: 12px;
      color: #fff;
      font-weight: 600;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    button:hover {
      background-color: #222;
    }

    .forgot {
      display: block;
      margin-top: 16px;
      font-size: 13px;
      color: #6e6e73;
      text-decoration: none;
      transition: color 0.3s;
    }

    .forgot:hover {
      color: var(--accent-color);
    }

    @media (max-width: 480px) {
      .login-wrapper {
        padding: 30px 20px;
      }

      .form-group input {
        padding-left: 40px;
      }
    }
