  * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      overflow: hidden;
      color: #fff;
    }

    .container {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(15px);
      border-radius: 24px;
      padding: 30px 45px;
      width: 100%;
      max-width: 500px;
      text-align: center;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    h1 {
      font-size: 2.3rem;
      font-weight: 700;
      margin-bottom: 12px;
    }

    p {
      font-size: 1.05rem;
      margin-top: 25px;
      color: #d0d0d0;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 30px;
    }

    .input-group {
      position: relative;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
      width: 100%;
      padding: 14px 18px 14px 45px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .input-icon {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: #cccccc;
      font-size: 18px;
    }

    .password-toggle {
      position: absolute;
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
      color: #cccccc;
      font-size: 18px;
      cursor: pointer;
      transition: color 0.3s;
    }

    .password-toggle:hover {
      color: #00c6ff;
    }

    input::placeholder {
      color: #cccccc;
    }

    input:focus {
      outline: none;
      background: rgba(255, 255, 255, 0.15);
      border-color: #00c6ff;
      box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.3);
    }

    input:focus + .input-icon {
      color: #00c6ff;
    }

    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      width: 100%;
      padding: 14px 18px;
      border: none;
      border-radius: 12px;
      font-size: 1rem;
      font-weight: 600;
      color: #fff;
      background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
      box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      cursor: pointer;
    }

    .btn:hover {
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 10px 25px rgba(0, 114, 255, 0.5);
    }

    .login-link {
      margin-top: 20px;
    }

    .login-link a {
      color: #00c6ff;
      text-decoration: none;
      font-size: 0.95rem;
    }

    .login-link a:hover {
      text-decoration: underline;
    }

    /* Estilos para el indicador de fortaleza de contraseña */
    .password-strength {
      margin-top: 5px;
      font-size: 0.85rem;
      text-align: left;
      padding-left: 45px;
    }

    .password-strength span {
      display: inline-block;
      width: 17%;
      height: 4px;
      background: #ccc;
      margin-right: 2px;
      border-radius: 2px;
    }

    .password-strength.weak span:nth-child(-n+1) { background: #ff4d4d; }
    .password-strength.medium span:nth-child(-n+3) { background: #ffcc00; }
    .password-strength.strong span:nth-child(-n+5) { background: #00cc66; }

    .password-requirements {
      margin-top: 5px;
      font-size: 0.8rem;
      text-align: left;
      padding-left: 45px;
      color: #ccc;
    }

    .requirement {
      display: flex;
      align-items: center;
      margin-bottom: 3px;
    }

    .requirement i {
      margin-right: 5px;
      font-size: 0.7rem;
    }

    .requirement.valid {
      color: #00cc66;
    }

    .error-message {
      color: #ff6b6b;
      margin-bottom: 15px;
      font-size: 0.9rem;
    }

    /* Iconos como SVG inline */
    .input-icon::before {
      display: inline-block;
      width: 18px;
      height: 18px;
    }
    
    .fa-user::before {
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    }
    
    .fa-envelope::before {
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    }
    
    .fa-lock::before {
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
    }
    
    .fa-eye::before {
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
    }
    
    .fa-eye-slash::before {
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z'/%3E%3C/svg%3E");
    }
    
    .fa-circle::before {
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z'/%3E%3C/svg%3E");
    }

    @media (max-width: 480px) {
      .container {
        padding: 40px 25px;
      }

      h1 {
        font-size: 1.8rem;
      }

      .btn {
        font-size: 0.95rem;
      }

      input[type="text"],
      input[type="email"],
      input[type="password"] {
        font-size: 0.95rem;
      }
    }